public interface PageCopyContext extends PageActionContext
PageCopyEvent
.Modifier and Type | Method and Description |
---|---|
javax.jcr.Node |
getNewPageNode() |
javax.jcr.Node |
getNewSiteMapItemNode() |
HstComponentConfiguration |
getSourcePage() |
javax.jcr.Node |
getSourcePageNode() |
HstSiteMapItem |
getSourceSiteMapItem() |
javax.jcr.Node |
getSourceSiteMapNode() |
Mount |
getTargetMount() |
HstSiteMapItem |
getTargetSiteMapItem()
returns the target
HstSiteMapItem to which the page copy action is targeted, or null in case
the target is a root siteMapItem |
getEditingMount, getRequestContext
HstSiteMapItem getSourceSiteMapItem()
HstSiteMapItem
belonging to the page that is to be copied. This HstSiteMapItem
instance always
belongs to the PageActionContext.getEditingMount()
. This method never returns null
.javax.jcr.Node getSourceSiteMapNode()
Node
belonging getSourceSiteMapItem()
. This method never returns null
.HstComponentConfiguration getSourcePage()
HstComponentConfiguration
belonging getSourceSiteMapItem()
. This method never returns null
.javax.jcr.Node getSourcePageNode()
Node
belonging getSourcePage()
. This method never returns null
.Mount getTargetMount()
Mount
that to which the page copy action is targeted. If the page copy is within the same
channel, this method returns the exact same instance as PageActionContext.getEditingMount()
This method never returns null
.HstSiteMapItem getTargetSiteMapItem()
returns the target HstSiteMapItem
to which the page copy action is targeted, or null
in case
the target is a root siteMapItem
If it is null
, it means the page copy will create a root siteMapItem
.
A root siteMapItem
is a HstSiteMapItem
that returns null
for HstSiteMapItem.getParentItem()
.
If it returns a non null
value, the returned HstSiteMapItem
belongs to getTargetMount()
HstSiteMapItem
to which the page copy action is targeted, or null
javax.jcr.Node getNewSiteMapItemNode()
session
created (but not yet persisted) site map item JCR Node
as a result of this copy page actionjavax.jcr.Node getNewPageNode()
session
created (but not yet persisted) page JCR Node
as a result of this copy page actionCopyright © 2008–2020 Hippo B.V. (http://www.onehippo.com). All rights reserved.