Interface PageMoveContext
- All Superinterfaces:
PageActionContext
Page moving context data used in
PageMoveEvent
.-
Method Summary
Modifier and TypeMethodDescriptionreturns the new parentNode
to which the page move action is targeted, ornull
in case the target is aroot siteMapItem
Methods inherited from interface org.hippoecm.hst.pagecomposer.jaxrs.api.PageActionContext
getEditingMount, getRequestContext
-
Method Details
-
getOriginalParentSiteMapNode
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
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
Node getNewSiteMapItemNode()
-