org.sakaiproject.tool.assessment.facade.authz
Class AuthorizationFacade

java.lang.Object
  extended byorg.sakaiproject.tool.assessment.facade.authz.AuthorizationFacade
All Implemented Interfaces:
AuthorizationIfc, Serializable

public class AuthorizationFacade
extends Object
implements AuthorizationIfc

See Also:
Serialized Form

Constructor Summary
AuthorizationFacade()
           
AuthorizationFacade(AuthorizationIfc data)
           
AuthorizationFacade(String agentIdString, String functionId, String qualifierId, Date authorizationEffectiveDate, Date authorizationExpirationDate, String lastModifiedBy, Date lastModifiedDate, Boolean isExplicitBoolean)
           
 
Method Summary
 org.osid.shared.Id getAgentId()
           
 String getAgentIdString()
           
 Date getAuthorizationEffectiveDate()
           
 Date getAuthorizationExpirationDate()
           
 AuthorizationIfc getData()
           
 long getEffectiveDate()
           
 long getExpirationDate()
           
 org.osid.authorization.Function getFunction()
           
 String getFunctionId()
           
 Boolean getIsActiveNowBoolean()
           
 boolean getIsExplicit()
           
 Boolean getIsExplicitBoolean()
           
 String getLastModifiedBy()
           
 Date getLastModifiedDate()
           
 org.osid.shared.Id getModifiedBy()
           
 long getModifiedDate()
           
 org.osid.authorization.Qualifier getQualifier()
           
 String getQualifierId()
           
 boolean isActiveNow()
           
 void setAgentId(String id)
           
 void setAgentIdString(String id)
           
 void setAuthorizationEffectiveDate(Date cal)
           
 void setAuthorizationExpirationDate(Date cal)
           
 void setFunctionId(String id)
           
 void setIsActiveNowBoolean(Boolean isActiveNowBoolean)
           
 void setIsExplicit(boolean type)
           
 void setIsExplicitBoolean(Boolean type)
           
 void setLastModifiedBy(String id)
           
 void setLastModifiedDate(Date cal)
           
 void setQualifierId(String id)
           
 void updateEffectiveDate(long effectiveDate)
           
 void updateExpirationDate(long expirationDate)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthorizationFacade

public AuthorizationFacade()

AuthorizationFacade

public AuthorizationFacade(String agentIdString,
                           String functionId,
                           String qualifierId,
                           Date authorizationEffectiveDate,
                           Date authorizationExpirationDate,
                           String lastModifiedBy,
                           Date lastModifiedDate,
                           Boolean isExplicitBoolean)

AuthorizationFacade

public AuthorizationFacade(AuthorizationIfc data)
Method Detail

getAgentId

public org.osid.shared.Id getAgentId()

getAgentIdString

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

setAgentIdString

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

getFunction

public org.osid.authorization.Function getFunction()

getQualifier

public org.osid.authorization.Qualifier getQualifier()

getEffectiveDate

public long getEffectiveDate()

getExpirationDate

public long getExpirationDate()

getModifiedBy

public org.osid.shared.Id getModifiedBy()

getModifiedDate

public long getModifiedDate()

updateExpirationDate

public void updateExpirationDate(long expirationDate)

updateEffectiveDate

public void updateEffectiveDate(long effectiveDate)

getIsExplicit

public boolean getIsExplicit()

setIsExplicit

public void setIsExplicit(boolean type)

isActiveNow

public boolean isActiveNow()

getData

public AuthorizationIfc getData()

setAgentId

public void setAgentId(String id)

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

setAuthorizationEffectiveDate

public void setAuthorizationEffectiveDate(Date cal)
Specified by:
setAuthorizationEffectiveDate 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

setIsActiveNowBoolean

public void setIsActiveNowBoolean(Boolean isActiveNowBoolean)

getIsActiveNowBoolean

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

getAuthorizationEffectiveDate

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

getAuthorizationExpirationDate

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