com.sap.portal.admin.wizard.handlers
Class ProducerPortalHandler
java.lang.Object
|
+--com.sap.portal.admin.wizard.handlers.AbstractObjectTypeHandler
|
+--com.sap.portal.admin.wizard.handlers.ProducerPortalHandler
- All Implemented Interfaces:
- IObjectTypeHandler
- public class ProducerPortalHandler
- extends AbstractObjectTypeHandler
ProducerPortalHandler handles Remote Content Provider(Global Portal) creation using the new PCM API.
|
Field Summary |
static java.lang.String |
PRODUCER_HANDLER_KEY
key for default producer (remote content provider) handler service. |
|
Method Summary |
java.lang.Object |
createObjectDescriptor(java.lang.String targetId,
com.sap.portal.pcm.CreateMethod method,
IWizardContext context)
Create a new object descriptor that is in charge of storing the object's data.
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PRODUCER_HANDLER_KEY
public static final java.lang.String PRODUCER_HANDLER_KEY
- key for default producer (remote content provider) handler service.
ProducerPortalHandler
public ProducerPortalHandler()
createObjectDescriptor
public java.lang.Object createObjectDescriptor(java.lang.String targetId,
com.sap.portal.pcm.CreateMethod method,
IWizardContext context)
throws DescriptorNotCreatedException
- Description copied from interface:
IObjectTypeHandler
- Create a new object descriptor that is in charge of storing the object's data.
The PCM uses it to save the new object into the persistence.
Every handler generates implementation dependent descriptor that implements this interface.
Note: the implementation should deal only with the descriptor creation.
Everything else should be would be implemented in
AbstractPCMWizard.finalizeDescriptor(Map, Object, com.sapportals.admin.wizardframework.api.IWizardContext).
- Following copied from interface:
com.sap.portal.admin.wizard.handlers.IObjectTypeHandler
- Parameters:
targetId - the target path.method - creation method CreateMethodcontext - the wizard context- Returns:
- Object the newly created descriptor.
- Throws:
DescriptorNotCreatedException - if the descriptor failed to be created.- See Also:
INewObjectDescriptor