com.ibm.portal.portlet
Interface PortletEntityCreationContext

All Superinterfaces:
CreationContext, DomainProviderCreationContext

public interface PortletEntityCreationContext
extends CreationContext, DomainProviderCreationContext

A node creation context for PortletEntity s.

Since:
6.1.0

Method Summary
 Identifiable getDomainProvider()
          An identifiable which defines the target domain for shared portlet entity.
 ObjectID getParentID()
          The portlet entity or definition object id for which a portlet entity is to be created.
 

Method Detail

getParentID

ObjectID getParentID()
The portlet entity or definition object id for which a portlet entity is to be created.

Returns:
an object id instance that provides the id of a portlet entity or definition which should be created and inserted, must not be null

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.

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