org.springframework.extensions.surf.site
Class AlfrescoUser

java.lang.Object
  extended by org.springframework.extensions.webscripts.connector.User
      extended by org.springframework.extensions.surf.site.AlfrescoUser
All Implemented Interfaces:
Serializable, Principal

public class AlfrescoUser
extends User

User object extended to add avatar reference property.

Author:
Kevin Roast
See Also:
Serialized Form

Field Summary
static String PROP_AVATARREF
           
 
Fields inherited from class org.springframework.extensions.webscripts.connector.User
fullName, isAdmin, isGuest, map, PROP_BIOGRAPHY, PROP_COMPANY_ADDRESS1, PROP_COMPANY_ADDRESS2, PROP_COMPANY_ADDRESS3, PROP_COMPANY_EMAIL, PROP_COMPANY_FAX, PROP_COMPANY_POSTCODE, PROP_COMPANY_TELEPHONE, PROP_EMAIL, PROP_FIRST_NAME, PROP_ID, PROP_INSTANTMSG, PROP_JOB_TITLE, PROP_LAST_NAME, PROP_LOCATION, PROP_MIDDLE_NAME, PROP_MOBILE_PHONE, PROP_ORGANIZATION, PROP_SKYPE, PROP_TELEPHONE
 
Constructor Summary
AlfrescoUser(String id)
          Instantiates a new user.
AlfrescoUser(String id, boolean isAdmin, boolean isGuest)
          Instantiates a new user.
 
Method Summary
 String getAvatarRef()
           
 void setAvatarRef(String avatarRef)
           
 
Methods inherited from class org.springframework.extensions.webscripts.connector.User
getBiography, getCompanyAddress1, getCompanyAddress2, getCompanyAddress3, getCompanyEmail, getCompanyFax, getCompanyPostcode, getCompanyTelephone, getEmail, getFirstName, getFullName, getId, getInstantMsg, getJobTitle, getLastName, getLocation, getMiddleName, getMobilePhone, getName, getOrganization, getProperties, getProperty, getSkype, getStringProperty, getTelephone, isAdmin, isGuest, save, setBiography, setCompanyAddress1, setCompanyAddress2, setCompanyAddress3, setCompanyEmail, setCompanyFax, setCompanyPostcode, setCompanyTelephone, setEmail, setFirstName, setInstantMsg, setJobTitle, setLastName, setLocation, setMiddleName, setMobilePhone, setOrganization, setProperty, setSkype, setTelephone, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.security.Principal
equals, hashCode
 

Field Detail

PROP_AVATARREF

public static String PROP_AVATARREF
Constructor Detail

AlfrescoUser

public AlfrescoUser(String id)
Instantiates a new user.

Parameters:
id - the id

AlfrescoUser

public AlfrescoUser(String id,
                    boolean isAdmin,
                    boolean isGuest)
Instantiates a new user.

Parameters:
id - the id
isAdmin - the is admin
Method Detail

getAvatarRef

public String getAvatarRef()
Returns:
the avatarRef

setAvatarRef

public void setAvatarRef(String avatarRef)
Parameters:
avatarRef - the avatarRef to set


Copyright © 2009 SpringSource, Inc. All Rights Reserved.