com.sapportals.portal.appintegrator.psid

Interface IPSIDGenerator


public interface IPSIDGenerator

This interface has to be implemented by all PSID providers. The method generatePSID(IPortalComponentRequest) returns the PSID with subject to the given Portal Request.


Method Summary
 String generatePSID(IPortalComponentRequest request)
          Returns a PSID with subject to the given request.
 IPSIDGenerator getSubPSIDGenerator(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

String generatePSID(IPortalComponentRequest request)
Returns a PSID with subject to the given request.


getSubPSIDGenerator

IPSIDGenerator getSubPSIDGenerator(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
NoSuchPSIDGeneratorException
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] EP-RUNTIME [sap.com] tc/ep/appintegration/api api EP-PIN


Copyright 2015 SAP AG Complete Copyright Notice