Interface SubjectGlobalPrivilegeGrant

    • Method Detail

      • isGrantable

        boolean isGrantable()
        Get the value for Grantable. (Whether this privilege is grantable to other subjects.)
        Returns:
        the field
        Throws:
        ObjectNotAttachedToSessionException - This will be thrown if this method is called while the object is not attached to a session.
      • setGrantable

        void setGrantable​(boolean newGrantable)
        Set the value for Grantable. (Whether this privilege is grantable to other subjects.)
        Parameters:
        newGrantable - the new value for Grantable.
        Throws:
        ObjectNotAttachedToSessionException - This will be thrown if this method is called while the object is not attached to a session.
      • setGrantedGlobalPrivilege

        void setGrantedGlobalPrivilege​(GlobalPrivilege newGrantedGlobalPrivilege)
        Set the value for GrantedGlobalPrivilege. This value is mandatory.
        Parameters:
        newGrantedGlobalPrivilege - is the object to set GrantedGlobalPrivilege to. Grant a global privilege to a subject. If this is null, then the object cannot be persisted.