Interface PageMoveContext
-
- All Superinterfaces:
PageActionContext
public interface PageMoveContext extends PageActionContext
Page moving context data used inPageMoveEvent
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description javax.jcr.Node
getNewParentSiteMapNode()
returns the new parentNode
to which the page move action is targeted, ornull
in case the target is aroot siteMapItem
javax.jcr.Node
getNewSiteMapItemNode()
javax.jcr.Node
getOriginalParentSiteMapNode()
-
Methods inherited from interface org.hippoecm.hst.pagecomposer.jaxrs.api.PageActionContext
getEditingMount, getRequestContext
-
-
-
-
Method Detail
-
getOriginalParentSiteMapNode
javax.jcr.Node getOriginalParentSiteMapNode()
- Returns:
- the
Node
belonging to the parent sitemap item of the page that is to be moved. ThisHstSiteMapItem
instance always belongs to thePageActionContext.getEditingMount()
. This method never returnsnull
.
-
getNewParentSiteMapNode
javax.jcr.Node getNewParentSiteMapNode()
returns the new parent
Node
to which the page move action is targeted, ornull
in case the target is aroot siteMapItem
If it returns a non
null
value, the returnedNode
belongs to thePageActionContext.getEditingMount()
.- Returns:
- the target
HstSiteMapItem
to which the page move action is targeted, ornull
-
getNewSiteMapItemNode
javax.jcr.Node getNewSiteMapItemNode()
- Returns:
- the in
session
created (but not yet persisted) site map item JCRNode
as a result of this move page action
-
-