org.sakaiproject.tool.assessment.data.dao.authz
Class AuthorizationData

java.lang.Object
  extended byorg.sakaiproject.tool.assessment.data.dao.authz.AuthorizationData
All Implemented Interfaces:
AuthorizationIfc, Serializable

public class AuthorizationData
extends Object
implements AuthorizationIfc, Serializable

See Also:
Serialized Form

Constructor Summary
AuthorizationData()
          Creates a new AuthorizationBean object.
AuthorizationData(String agentId, String functionId, String qualifierId, Date effectiveDate, Date expirationDate, String lastModifiedBy, Date lastModifiedDate, Boolean isExplicit)
          Creates a new AuthorizationBean object.
 
Method Summary
 boolean equals(Object authorization)
           
 String getAgentIdString()
           
 Date getAuthorizationEffectiveDate()
           
 Date getAuthorizationExpirationDate()
           
 String getFunctionId()
           
 Boolean getIsActiveNowBoolean()
           
 Boolean getIsExplicitBoolean()
           
 String getLastModifiedBy()
           
 Date getLastModifiedDate()
           
 Integer getLockId()
           
 String getQualifierId()
           
 Long getSurrogateKey()
           
 int hashCode()
           
 void setAgentIdString(String id)
           
 void setAuthorizationEffectiveDate(Date cal)
           
 void setAuthorizationExpirationDate(Date cal)
           
 void setFunctionId(String id)
           
 void setIsExplicitBoolean(Boolean type)
           
 void setLastModifiedBy(String id)
           
 void setLastModifiedDate(Date cal)
           
 void setLockId(Integer lockId)
           
 void setQualifierId(String id)
           
 void setSurrogateKey(Long surrogateKey)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

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:
effectiveDate - DOCUMENTATION PENDING
expirationDate - DOCUMENTATION PENDING
isExplicit - DOCUMENTATION PENDING
Method Detail

getAgentIdString

public String getAgentIdString()
Specified by:
getAgentIdString in interface AuthorizationIfc

setAgentIdString

public void setAgentIdString(String id)
Specified by:
setAgentIdString in interface AuthorizationIfc

getFunctionId

public String getFunctionId()
Specified by:
getFunctionId in interface AuthorizationIfc

setFunctionId

public void setFunctionId(String id)
Specified by:
setFunctionId in interface AuthorizationIfc

getQualifierId

public String getQualifierId()
Specified by:
getQualifierId in interface AuthorizationIfc

setQualifierId

public void setQualifierId(String id)
Specified by:
setQualifierId in interface AuthorizationIfc

getAuthorizationEffectiveDate

public Date getAuthorizationEffectiveDate()
Specified by:
getAuthorizationEffectiveDate in interface AuthorizationIfc

setAuthorizationEffectiveDate

public void setAuthorizationEffectiveDate(Date cal)
Specified by:
setAuthorizationEffectiveDate in interface AuthorizationIfc

getAuthorizationExpirationDate

public Date getAuthorizationExpirationDate()
Specified by:
getAuthorizationExpirationDate in interface AuthorizationIfc

setAuthorizationExpirationDate

public void setAuthorizationExpirationDate(Date cal)
Specified by:
setAuthorizationExpirationDate in interface AuthorizationIfc

getLastModifiedBy

public String getLastModifiedBy()
Specified by:
getLastModifiedBy in interface AuthorizationIfc

setLastModifiedBy

public void setLastModifiedBy(String id)
Specified by:
setLastModifiedBy in interface AuthorizationIfc

getLastModifiedDate

public Date getLastModifiedDate()
Specified by:
getLastModifiedDate in interface AuthorizationIfc

setLastModifiedDate

public void setLastModifiedDate(Date cal)
Specified by:
setLastModifiedDate in interface AuthorizationIfc

getIsExplicitBoolean

public Boolean getIsExplicitBoolean()
Specified by:
getIsExplicitBoolean in interface AuthorizationIfc

setIsExplicitBoolean

public void setIsExplicitBoolean(Boolean type)
Specified by:
setIsExplicitBoolean in interface AuthorizationIfc

getIsActiveNowBoolean

public Boolean getIsActiveNowBoolean()
Specified by:
getIsActiveNowBoolean in interface 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)

hashCode

public int hashCode()