com.ibm.portal.portlet
Interface PortletEntityCopyCreationContext

All Superinterfaces:
CopyCreationContext<PortletEntity>, CreationContext

public interface PortletEntityCopyCreationContext
extends CopyCreationContext<PortletEntity>

Creation context for copying a portlet entity. Controller implementations will copy the aspects of the given portlet entity A PortletEntityCopyCreationContext allows to retrieve a UniqueNameStrategy which manages the strategy how to proceed with unique names of new nodes.

Since:
8.0.0.1

Method Summary
 Identifiable getDomainProvider()
          An identifiable which defines the target domain for shared portlet entity.
 PortletModel getSourcePortletModel()
          Returns the source PortletModel for the template (source) content node.
 UniqueNameStrategy getUniqueNameStrategy()
          Returns the UniqueNameStrategy
 
Methods inherited from interface com.ibm.portal.model.controller.context.CopyCreationContext
getNode
 

Method Detail

getSourcePortletModel

PortletModel getSourcePortletModel()
Returns the source PortletModel for the template (source) content node.

Returns:
The source portlet model.
See Also:
CopyCreationContext.getNode()

getUniqueNameStrategy

UniqueNameStrategy getUniqueNameStrategy()
Returns the UniqueNameStrategy

Returns:
the strategy for copying unique names or null if the creation context does not have a UniqueNameStrategy

getDomainProvider

Identifiable getDomainProvider()
An identifiable which defines the target domain for shared portlet entity. If the method returns null, portlet entities are stored in the release domain. Personalized portlet entities are always stored in the customization domain, regardless of the return value of this method.

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