Interface SubjectObjectPrivilegeGrant

    • Method Detail

      • getSchedulerEntity

        SchedulerEntity getSchedulerEntity()
        Get the value for SchedulerEntity. (The object to which this grant applies.) This value is mandatory, and therefore will not be null if this object has been retrieved from the database.
        Returns:
        the field
        Throws:
        com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException - This will be thrown if this method is called while the object is not attached to a session.
      • setSchedulerEntity

        void setSchedulerEntity​(SchedulerEntity newSchedulerEntity)
        Set the value for SchedulerEntity. (The object to which this grant applies.) This value is mandatory.
        Parameters:
        newSchedulerEntity - the new value for SchedulerEntity. If this is null, then the object cannot be persisted.
        Throws:
        com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException - This will be thrown if this method is called while the object is not attached to a session.