Class AuthorizationData

  • All Implemented Interfaces:
    Serializable, org.sakaiproject.tool.assessment.data.ifc.authz.AuthorizationIfc

    public class AuthorizationData
    extends Object
    implements org.sakaiproject.tool.assessment.data.ifc.authz.AuthorizationIfc, Serializable
    See Also:
    Serialized Form
    • Constructor Detail

      • AuthorizationData

        public AuthorizationData()
        Creates a new AuthorizationBean object.
      • AuthorizationData

        public AuthorizationData​(String agentId,
                                 String functionId,
                                 String qualifierId,
                                 Date effectiveDate,
                                 Date expirationDate,
                                 String lastModifiedBy,
                                 Date lastModifiedDate,
                                 Boolean isExplicit)
        Creates a new AuthorizationBean object.
        Parameters:
        pk - DOCUMENTATION PENDING
        effectiveDate - DOCUMENTATION PENDING
        expirationDate - DOCUMENTATION PENDING
        modifierId - DOCUMENTATION PENDING
        modifiedDate - DOCUMENTATION PENDING
        isExplicit - DOCUMENTATION PENDING
    • Method Detail

      • getAgentIdString

        public String getAgentIdString()
        Specified by:
        getAgentIdString in interface org.sakaiproject.tool.assessment.data.ifc.authz.AuthorizationIfc
      • setAgentIdString

        public void setAgentIdString​(String id)
        Specified by:
        setAgentIdString in interface org.sakaiproject.tool.assessment.data.ifc.authz.AuthorizationIfc
      • getFunctionId

        public String getFunctionId()
        Specified by:
        getFunctionId in interface org.sakaiproject.tool.assessment.data.ifc.authz.AuthorizationIfc
      • setFunctionId

        public void setFunctionId​(String id)
        Specified by:
        setFunctionId in interface org.sakaiproject.tool.assessment.data.ifc.authz.AuthorizationIfc
      • getQualifierId

        public String getQualifierId()
        Specified by:
        getQualifierId in interface org.sakaiproject.tool.assessment.data.ifc.authz.AuthorizationIfc
      • setQualifierId

        public void setQualifierId​(String id)
        Specified by:
        setQualifierId in interface org.sakaiproject.tool.assessment.data.ifc.authz.AuthorizationIfc
      • getAuthorizationEffectiveDate

        public Date getAuthorizationEffectiveDate()
        Specified by:
        getAuthorizationEffectiveDate in interface org.sakaiproject.tool.assessment.data.ifc.authz.AuthorizationIfc
      • setAuthorizationEffectiveDate

        public void setAuthorizationEffectiveDate​(Date cal)
        Specified by:
        setAuthorizationEffectiveDate in interface org.sakaiproject.tool.assessment.data.ifc.authz.AuthorizationIfc
      • getAuthorizationExpirationDate

        public Date getAuthorizationExpirationDate()
        Specified by:
        getAuthorizationExpirationDate in interface org.sakaiproject.tool.assessment.data.ifc.authz.AuthorizationIfc
      • setAuthorizationExpirationDate

        public void setAuthorizationExpirationDate​(Date cal)
        Specified by:
        setAuthorizationExpirationDate in interface org.sakaiproject.tool.assessment.data.ifc.authz.AuthorizationIfc
      • getLastModifiedBy

        public String getLastModifiedBy()
        Specified by:
        getLastModifiedBy in interface org.sakaiproject.tool.assessment.data.ifc.authz.AuthorizationIfc
      • setLastModifiedBy

        public void setLastModifiedBy​(String id)
        Specified by:
        setLastModifiedBy in interface org.sakaiproject.tool.assessment.data.ifc.authz.AuthorizationIfc
      • getLastModifiedDate

        public Date getLastModifiedDate()
        Specified by:
        getLastModifiedDate in interface org.sakaiproject.tool.assessment.data.ifc.authz.AuthorizationIfc
      • setLastModifiedDate

        public void setLastModifiedDate​(Date cal)
        Specified by:
        setLastModifiedDate in interface org.sakaiproject.tool.assessment.data.ifc.authz.AuthorizationIfc
      • getIsExplicitBoolean

        public Boolean getIsExplicitBoolean()
        Specified by:
        getIsExplicitBoolean in interface org.sakaiproject.tool.assessment.data.ifc.authz.AuthorizationIfc
      • setIsExplicitBoolean

        public void setIsExplicitBoolean​(Boolean type)
        Specified by:
        setIsExplicitBoolean in interface org.sakaiproject.tool.assessment.data.ifc.authz.AuthorizationIfc
      • getIsActiveNowBoolean

        public Boolean getIsActiveNowBoolean()
        Specified by:
        getIsActiveNowBoolean in interface org.sakaiproject.tool.assessment.data.ifc.authz.AuthorizationIfc
      • getLockId

        public final Integer getLockId()
        Returns:
        Returns the lockId.
      • setLockId

        public final void setLockId​(Integer lockId)
        Parameters:
        lockId - The lockId to set.
      • getSurrogateKey

        public final Long getSurrogateKey()
        Returns:
        Returns the surrogateKey.
      • setSurrogateKey

        public final void setSurrogateKey​(Long surrogateKey)
        Parameters:
        surrogateKey - The surrogateKey to set.
      • equals

        public boolean equals​(Object authorization)
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object