com.ibm.portal.portlet
Interface PortletDefinitionCloningContext

All Superinterfaces:
CreationContext, DomainProviderCreationContext

public interface PortletDefinitionCloningContext
extends CreationContext, DomainProviderCreationContext

A node cloning context for PortletDefinitions.

Since:
6.1.0

Method Summary
 Identifiable getDomainProvider()
          An identifiable which defines the target domain for the clone.
 ObjectID getPortletDefinitionID()
          The portlet definition object id which should be cloned.
 

Method Detail

getPortletDefinitionID

ObjectID getPortletDefinitionID()
The portlet definition object id which should be cloned.

Returns:
an object id instance that provides the id of a portlet definition which should be cloned, must not be null

getDomainProvider

Identifiable getDomainProvider()
An identifiable which defines the target domain for the clone. If the method returns null, the same domain is used as the original portlet definition

Specified by:
getDomainProvider in interface DomainProviderCreationContext
Returns:
an identifiable object providing the target domain, can be null
See Also:
DomainProviderCreationContext.getDomainProvider()