com.sapportals.portal.appintegrator.psid
Interface IPSIDGenerator


public interface IPSIDGenerator

Version:
$Revision:$.

Method Summary
 java.lang.String generatePSID(com.sapportals.portal.prt.component.IPortalComponentRequest request)
          Returns a PSID with subject to the given request.
 IPSIDGenerator getSubPSIDGenerator(java.lang.String key)
          Returns a nested (sub-) PSID Generator for the given key The purpose of this method is, that a PSID Generator can offer different PSID generation methods under the same top level id, like MYPSID.METHOD1 and MYPSID.METHOD2 if there is no sub PSID Generator available for the given key, the method should return null.
 

Method Detail

generatePSID

public java.lang.String generatePSID(com.sapportals.portal.prt.component.IPortalComponentRequest request)
Returns a PSID with subject to the given request.

getSubPSIDGenerator

public IPSIDGenerator getSubPSIDGenerator(java.lang.String key)
                                   throws NoSuchPSIDGeneratorException
Returns a nested (sub-) PSID Generator for the given key The purpose of this method is, that a PSID Generator can offer different PSID generation methods under the same top level id, like MYPSID.METHOD1 and MYPSID.METHOD2 if there is no sub PSID Generator available for the given key, the method should return null.
Parameters:
key - the key of the a sub PSID Generator defined in this Generator
Throws:
NoSuchPSIDGeneratorException, - if there is no generator registered for the given key