Class EditSpacePermissionsAction

    • Constructor Detail

      • EditSpacePermissionsAction

        public EditSpacePermissionsAction()
    • Method Detail

      • doAddBrowseSpacePermission

        public String doAddBrowseSpacePermission()
        Space action specfic
      • doDisableAnyUserViewSpacePermission

        public String doDisableAnyUserViewSpacePermission()
      • execute

        public String execute()
                       throws Exception
        Description copied from interface: EditPermissionsAware
        Add and remove the permissions
        Specified by:
        execute in interface com.opensymphony.xwork2.Action
        Specified by:
        execute in interface EditPermissionsAware
        execute in class com.opensymphony.xwork2.ActionSupport
        SUCCESS if completed
      • setSpaceManager

        public void setSpaceManager​(SpaceManager spaceManager)
      • getGuardPermission

        public String getGuardPermission()
        Description copied from interface: PermissionsAware
        Obtains the relevant guard permission for the action
        Specified by:
        getGuardPermission in interface PermissionsAware
        the relevant guard permission for the action
      • isViewPermissionRequired

        public boolean isViewPermissionRequired()
        Specified by:
        isViewPermissionRequired in interface SpaceAware
        true if the action requires view space permission
      • 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
        true if the action requires a space 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
        space - the space that the action will be working on.
      • getKey

        public String getKey()
      • setKey

        public void setKey​(String key)
      • setThemeManager

        public void setThemeManager​(ThemeManager themeManager)
      • hasSpaceSideBar

        public boolean hasSpaceSideBar()
        Tells whether the page has a Space IA bar on the left.
        true if the space bar is present.