org.sakaiproject.component.common.authorization
Class AuthorizationImpl

java.lang.Object
  extended byorg.sakaiproject.component.common.manager.PersistableImpl
      extended byorg.sakaiproject.component.common.authorization.AuthorizationImpl
All Implemented Interfaces:
Authorization, Persistable

public class AuthorizationImpl
extends PersistableImpl
implements Persistable, Authorization

Version:
$Id: AuthorizationImpl.java 632 2005-07-14 21:22:50Z janderse@umich.edu $
Author:
Jarrod Lannan

Field Summary
 
Fields inherited from class org.sakaiproject.component.common.manager.PersistableImpl
createdBy, createdDate, id, lastModifiedBy, lastModifiedDate, uuid, version
 
Constructor Summary
AuthorizationImpl()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getAgentUuid()
           
 Date getEffectiveDate()
           
 Date getExpirationDate()
           
 String getNodeUuid()
           
 String getPermissionsUuid()
           
 int hashCode()
           
 boolean isActive()
           
 void setAgentUuid(String agentUuid)
           
 void setEffectiveDate(Date effectiveDate)
           
 void setExpirationDate(Date expirationDate)
           
 void setNodeUuid(String nodeUuid)
           
 void setPermissionsUuid(String permissionsUuid)
           
 String toString()
           
 
Methods inherited from class org.sakaiproject.component.common.manager.PersistableImpl
getCreatedBy, getCreatedDate, getId, getLastModifiedBy, getLastModifiedDate, getUuid, getVersion, setCreatedBy, setCreatedDate, setId, setLastModifiedBy, setLastModifiedDate, setUuid, setVersion
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.sakaiproject.api.common.manager.Persistable
getCreatedBy, getCreatedDate, getLastModifiedBy, getLastModifiedDate, getUuid
 

Constructor Detail

AuthorizationImpl

public AuthorizationImpl()
Method Detail

getAgentUuid

public String getAgentUuid()
Specified by:
getAgentUuid in interface Authorization
See Also:
Authorization.getAgentUuid()

getEffectiveDate

public Date getEffectiveDate()
Specified by:
getEffectiveDate in interface Authorization
See Also:
Authorization.getEffectiveDate()

getExpirationDate

public Date getExpirationDate()
Specified by:
getExpirationDate in interface Authorization
See Also:
Authorization.getExpirationDate()

getNodeUuid

public String getNodeUuid()
Specified by:
getNodeUuid in interface Authorization
See Also:
Authorization.getNodeUuid()

getPermissionsUuid

public String getPermissionsUuid()
Specified by:
getPermissionsUuid in interface Authorization
See Also:
Authorization.getPermissionsUuid()

setAgentUuid

public void setAgentUuid(String agentUuid)
Specified by:
setAgentUuid in interface Authorization
See Also:
Authorization.setAgentUuid(java.lang.String)

setEffectiveDate

public void setEffectiveDate(Date effectiveDate)
Specified by:
setEffectiveDate in interface Authorization
See Also:
Authorization.setEffectiveDate(java.util.Date)

setExpirationDate

public void setExpirationDate(Date expirationDate)
Specified by:
setExpirationDate in interface Authorization
See Also:
Authorization.setExpirationDate(java.util.Date)

setNodeUuid

public void setNodeUuid(String nodeUuid)
Specified by:
setNodeUuid in interface Authorization
See Also:
Authorization.setNodeUuid(java.lang.String)

setPermissionsUuid

public void setPermissionsUuid(String permissionsUuid)
Specified by:
setPermissionsUuid in interface Authorization
See Also:
Authorization.setPermissionsUuid(java.lang.String)

isActive

public boolean isActive()
Specified by:
isActive in interface Authorization
See Also:
Authorization.isActive()

equals

public boolean equals(Object obj)
See Also:
Object.equals(java.lang.Object)

hashCode

public int hashCode()
See Also:
Object.hashCode()

toString

public String toString()
Overrides:
toString in class PersistableImpl
See Also:
Object.toString()