|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ContentNodeCopyCreationContext<T extends ContentNode>
Creation context for copying a content node. Controller implementations will
copy the aspects of the given content node, e. g. for
InternalContentURL the target nodes for every
markup will be copied whereas for content pages the layout model will be
copied (In this case the
UniqueNameStrategy will be
applied on the layout nodes, too).
A ContentNodeCopyCreationContext allows to retrieve a
UniqueNameStrategy which manages the strategy how to proceed
with unique names of new nodes.
| Method Summary | |
|---|---|
java.lang.Class<? extends ContentNode> |
getSourceClass()
Returns the class object for the source node's ContentNode
class. |
ContentModel<T> |
getSourceContentModel()
Returns the source ContentModel in which the template
(source) node can be found. |
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 |
|---|
ContentModel<T> getSourceContentModel()
ContentModel in which the template
(source) node can be found.
CopyCreationContext.getNode()PortletModel getSourcePortletModel()
PortletModel for the template (source)
content node.
CopyCreationContext.getNode()UniqueNameStrategy getUniqueNameStrategy()
UniqueNameStrategy
null if
the creation context does not have a
UniqueNameStrategyjava.lang.Class<? extends ContentNode> getSourceClass()
ContentNode
class. In other words the return value of this method can be used to pass
in to the controllers com.ibm.portal.ModelController.create(Class>, CreationContext) method
().ExternalContentURLInternalContentURLContentLabelStaticContentPageContentPage
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||