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 Node
getNewParentSiteMapNode()
returns the new parentNode
to which the page move action is targeted, ornull
in case the target is aroot siteMapItem
Node
getNewSiteMapItemNode()
Node
getOriginalParentSiteMapNode()
-
Methods inherited from interface org.hippoecm.hst.pagecomposer.jaxrs.api.PageActionContext
getEditingMount, getRequestContext
-
-
-
-
Method Detail
-
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
-
-