org.sakaiproject.component.common.agent
Class AgentUserProxy

java.lang.Object
  extended byorg.sakaiproject.component.common.agent.AgentUserProxy
All Implemented Interfaces:
Agent, Persistable, Typeable

public class AgentUserProxy
extends Object
implements Agent

Version:
$Id: AgentUserProxy.java 2371 2005-10-06 03:53:19Z ggolden@umich.edu $
Author:
Lance Speelmon

Method Summary
 String getCreatedBy()
          The Agent that created this persistent object.
 Date getCreatedDate()
          The time and date this persistent object was created.
 String getDisplayName()
           
 String getEnterpriseId()
          The local institution unique id (e.g. kerberos name, etc.)
 String getLastModifiedBy()
          The last Agent that modified the persistent state of this object.
 Date getLastModifiedDate()
          The last time this object's persistent state was modified.
 String getSessionManagerUserId()
          The unique id generated by SessionManager.
 String getSortName()
          All sorting of Agents should be performed on this representation of the object.
 Type getType()
           
 String getUuid()
          All persistent objects must have a UUID.
 void setDisplayName(String displayName)
           
 void setEnterpriseId(String enterpriseId)
          The local institution unique id (e.g. kerberos name, etc.)
 void setSessionManagerUserId(String sessionManagerUserId)
           
 void setSortName(String sortName)
          All sorting of Agents should be performed on this representation of the object.
 void setType(Type type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getSessionManagerUserId

public String getSessionManagerUserId()
Description copied from interface: Agent
The unique id generated by SessionManager.

Specified by:
getSessionManagerUserId in interface Agent
Returns:
See Also:
Agent.getSessionManagerUserId(), Entity.getId()

setSessionManagerUserId

public void setSessionManagerUserId(String sessionManagerUserId)
Specified by:
setSessionManagerUserId in interface Agent
Parameters:
sessionManagerUserId - The unique id generated by SessionManager.
See Also:
Agent.setSessionManagerUserId(java.lang.String)

getEnterpriseId

public String getEnterpriseId()
Description copied from interface: Agent
The local institution unique id (e.g. kerberos name, etc.)

Specified by:
getEnterpriseId in interface Agent
Returns:
See Also:
Agent.getEnterpriseId(), Entity.getId()

setEnterpriseId

public void setEnterpriseId(String enterpriseId)
Description copied from interface: Agent
The local institution unique id (e.g. kerberos name, etc.)

Specified by:
setEnterpriseId in interface Agent
Parameters:
enterpriseId -
See Also:
Agent.setEnterpriseId(java.lang.String)

getDisplayName

public String getDisplayName()
Specified by:
getDisplayName in interface Agent
Returns:
Returns the displayName.
See Also:
Agent.getDisplayName(), User.getDisplayName()

setDisplayName

public void setDisplayName(String displayName)
Specified by:
setDisplayName in interface Agent
Parameters:
displayName - The displayName to set.
See Also:
Agent.setDisplayName(java.lang.String)

getSortName

public String getSortName()
Description copied from interface: Agent
All sorting of Agents should be performed on this representation of the object.

Specified by:
getSortName in interface Agent
Returns:
See Also:
Agent.getSortName(), User.getDisplayName()

setSortName

public void setSortName(String sortName)
Description copied from interface: Agent
All sorting of Agents should be performed on this representation of the object.

Specified by:
setSortName in interface Agent
Parameters:
sortName -
See Also:
Agent.setSortName(java.lang.String)

getUuid

public String getUuid()
Description copied from interface: Persistable
All persistent objects must have a UUID.

Specified by:
getUuid in interface Persistable
Returns:
Returns the UUID for given object.
See Also:
Persistable.getUuid(), Entity.getId()

getLastModifiedBy

public String getLastModifiedBy()
Description copied from interface: Persistable
The last Agent that modified the persistent state of this object.

Specified by:
getLastModifiedBy in interface Persistable
Returns:
UUID of Agent that made last modification.
See Also:
Persistable.getLastModifiedBy(), User.getModifiedBy()

getLastModifiedDate

public Date getLastModifiedDate()
Description copied from interface: Persistable
The last time this object's persistent state was modified.

Specified by:
getLastModifiedDate in interface Persistable
Returns:
See Also:
Persistable.getLastModifiedDate(), User.getModifiedTime()

getCreatedBy

public String getCreatedBy()
Description copied from interface: Persistable
The Agent that created this persistent object.

Specified by:
getCreatedBy in interface Persistable
Returns:
UUID of the Agent that created this persistent object.
See Also:
Persistable.getCreatedBy(), User.getCreatedBy()

getCreatedDate

public Date getCreatedDate()
Description copied from interface: Persistable
The time and date this persistent object was created.

Specified by:
getCreatedDate in interface Persistable
Returns:
See Also:
Persistable.getCreatedDate(), User.getCreatedTime()

getType

public Type getType()
Specified by:
getType in interface Typeable
Returns:
Returns the type.
See Also:
Typeable.getType()

setType

public void setType(Type type)
Specified by:
setType in interface Typeable
Parameters:
type - The type to set.
See Also:
Typeable.setType(org.sakaiproject.api.common.type.Type)