Class RemovePagePermissionAction

    • Constructor Detail

      • RemovePagePermissionAction

        public RemovePagePermissionAction()
    • Method Detail

      • setPermissionId

        public void setPermissionId​(long permissionId)
      • setRemoveAll

        public void setRemoveAll​(boolean removeAll)
      • getReturnPath

        public String getReturnPath()
      • setReturnPath

        public void setReturnPath​(String returnPath)
      • execute

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

        public boolean isViewPermissionRequired()
        Since space admin's are allowed to remove permissions without needing to view the page no view permission checks need to occur. Permissions should be handled by the isPermitted() method
        Specified by:
        isViewPermissionRequired in interface PageAware
        Overrides:
        isViewPermissionRequired in class AbstractPageAwareAction
        Returns:
        false