org.sakaiproject.component.section.sakai
Class UserImpl

java.lang.Object
  extended by org.sakaiproject.component.section.sakai.UserImpl
All Implemented Interfaces:
Serializable, User

public class UserImpl
extends Object
implements User, Serializable

See Also:
Serialized Form

Constructor Summary
UserImpl(String displayId, String displayName, String sortName, String uid)
           
 
Method Summary
 String getDisplayId()
           
 String getDisplayName()
           
 String getSortName()
           
 String getUserUid()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserImpl

public UserImpl(String displayId,
                String displayName,
                String sortName,
                String uid)
Method Detail

getUserUid

public String getUserUid()
Specified by:
getUserUid in interface User
Returns:
Returns the userUid, the unique ID returned by the authentication facade.

getSortName

public String getSortName()
Specified by:
getSortName in interface User
Returns:
Returns the sortName, displayed when users are listed in order (for example, "Paine, Thomas" or "Wong Kar-Wai")

getDisplayId

public String getDisplayId()
Specified by:
getDisplayId in interface User
Returns:
Returns the displayId, AKA "campus ID", a human-meaningful UID for the user (for example, a student ID number or an institutional email address)

getDisplayName

public String getDisplayName()
Specified by:
getDisplayName in interface User
Returns:
Returns the displayName, displayed when only this user is being referred to (for example, "Thomas Paine" or "Wong Kar-Wai")


Copyright © 2011 Sakai Project. All Rights Reserved.