Class ViewSpacePermissionsAction

    • Constructor Detail

      • ViewSpacePermissionsAction

        public ViewSpacePermissionsAction()
    • Method Detail

      • isAnonymousSpacePermissionWithoutGlobalPermission

        public boolean isAnonymousSpacePermissionWithoutGlobalPermission()
      • isAnyUserViewSpacePermissionEnabled

        public boolean isAnyUserViewSpacePermissionEnabled()
      • isUnlicensedGlobalPermissionEnabled

        public boolean isUnlicensedGlobalPermissionEnabled()
      • 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)