Interface SubjectGrant

    • Method Detail

      • isExportable

        boolean isExportable()
        Get the value for Exportable. (Whether this grant is exportable or not.)
        Returns:
        the field
        Throws:
        ObjectNotAttachedToSessionException - This will be thrown if this method is called while the object is not attached to a session.
      • setExportable

        void setExportable​(boolean newExportable)
        Set the value for Exportable. (Whether this grant is exportable or not.)
        Parameters:
        newExportable - the new value for Exportable.
        Throws:
        ObjectNotAttachedToSessionException - This will be thrown if this method is called while the object is not attached to a session.
      • setGranteeSubject

        void setGranteeSubject​(Subject newGranteeSubject)
        Set the value for GranteeSubject. This value is mandatory.
        Parameters:
        newGranteeSubject - is the object to set GranteeSubject to. Which Subject was granted the Granted Subject. This Subject must have GrantToable==true. If this is null, then the object cannot be persisted.