Class ChildrenAction

    • Constructor Detail

      • ChildrenAction

        public ChildrenAction()
    • Method Detail

      • setPageManager

        public void setPageManager​(PageManager pageManager)
      • getPermittedChildren

        public List<Page> getPermittedChildren()
      • hasPermittedChildren

        public boolean hasPermittedChildren​(Page page)
      • setPermissionCheckExemptions

        public void setPermissionCheckExemptions​(PermissionCheckExemptions permissionCheckExemptions)
      • execute

        public String execute()
        Specified by:
        execute in interface com.opensymphony.xwork2.Action
        Overrides:
        execute in class com.opensymphony.xwork2.ActionSupport
      • setNode

        public void setNode​(String node)
      • isPageRequired

        public boolean isPageRequired()
        Description copied from interface: PageAware
        If the action requires that the page be set before being run, then it should return true to this method. If the action requires a page, but no page is available, then the interceptor will automatically redirect to the 'pagenotfound' result
        Specified by:
        isPageRequired in interface PageAware
        Overrides:
        isPageRequired in class AbstractPageAwareAction
        Returns:
        true if the action requires a page in order to execute
      • setSpace

        public void setSpace​(Space space)
        Description copied from interface: SpaceAware
        IOC method for setting the space on the action. This is called from the interceptor
        Specified by:
        setSpace in interface SpaceAware
        Parameters:
        space - the space that the action will be working on.
      • isSpaceRequired

        public boolean isSpaceRequired()
        Description copied from interface: SpaceAware
        If the action requires that the space be set before being run, then it should return true to this method. If the action requires a space, but no space is available, then the interceptor will automatically redirect to the 'pagenotfound' result
        Specified by:
        isSpaceRequired in interface SpaceAware
        Returns:
        true if the action requires a space in order to execute
      • isEditingPermitted

        protected boolean isEditingPermitted()