org.springframework.social.alfresco.api.entities
Class Person

java.lang.Object
  extended by org.springframework.social.alfresco.api.entities.Person

public class Person
extends Object

A person entity describes the user as they are known to Alfresco.

Author:
jottley

Nested Class Summary
static class Person.Company
           
 
Constructor Summary
Person()
           
 
Method Summary
 String getAvatar()
          Deprecated. 
 String getAvatarId()
           
 Person.Company getCompany()
           
 Date getCreatedAt()
           
 String getDescription()
           
 String getEmail()
           
 String getFirstName()
           
 String getGoogleId()
           
 String getId()
           
 String getInstantMessageId()
           
 String getJobTitle()
           
 String getLastName()
           
 String getLocation()
           
 String getMobile()
           
 String getSkypeId()
           
 Date getStatusUpdatedAt()
           
 String getTelephone()
           
 String getUserStatus()
           
 boolean isCanEdit()
           
 boolean isEmailFeedDisabled()
           
 boolean isEnabled()
           
 void setAvatar(String avatar)
          Deprecated. 
 void setAvatarId(String avatarId)
          Set the id of the person's avatar
 void setCanEdit(boolean canEdit)
          Set that the person object can be edited
 void setCompany(Person.Company company)
          Set company object describing the person's company
 void setCreatedAt(Date createdAt)
          Set the date time the person was created at
 void setDescription(String description)
          Set the person's description
 void setEmail(String email)
          Set the person's email address
 void setEmailFeedDisabled(boolean emailFeedDisabled)
          Disable person's email feed (Notifications)
 void setEnabled(boolean enabled)
          Set is this person currently enabled?
 void setFirstName(String firstName)
          Set the person's first name
 void setGoogleId(String googleId)
          Set the person's Google Id
 void setId(String id)
          Set The person's personId - the email address with which the person registered
 void setInstantMessageId(String instantMessageId)
          Set the person's instant message Id
 void setJobTitle(String jobTitle)
          Set the person's job title
 void setLastName(String lastName)
          set the person's last name
 void setLocation(String location)
          Set the person's location or address
 void setMobile(String mobile)
          Set the person's mobile number
 void setSkypeId(String skypeId)
          Set the person's Skype Id
 void setStatusUpdatedAt(Date statusUpdatedAt)
          Set the date time of the person last status update
 void setTelephone(String telephone)
          Set the person's telephone number
 void setUserStatus(String userStatus)
          Set the person's status
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Person

public Person()
Method Detail

isEnabled

public boolean isEnabled()
Returns:
Is this person currently enabled?

setEnabled

public void setEnabled(boolean enabled)
Set is this person currently enabled?

Parameters:
enabled -

getId

public String getId()
Returns:
The person's personId - the email address with which the person registered

setId

public void setId(String id)
Set The person's personId - the email address with which the person registered

Parameters:
id -

getFirstName

public String getFirstName()
Returns:
The person's first name

setFirstName

public void setFirstName(String firstName)
Set the person's first name

Parameters:
firstName -

getLastName

public String getLastName()
Returns:
the person's last name

setLastName

public void setLastName(String lastName)
set the person's last name

Parameters:
lastName -

getLocation

public String getLocation()
Returns:
The person's location or address

setLocation

public void setLocation(String location)
Set the person's location or address

Parameters:
location -

getInstantMessageId

public String getInstantMessageId()
Returns:
The person's instant message Id

setInstantMessageId

public void setInstantMessageId(String instantMessageId)
Set the person's instant message Id

Parameters:
instantMessageId -

getAvatarId

public String getAvatarId()
Returns:
The id of the person's avatar

setAvatarId

public void setAvatarId(String avatarId)
Set the id of the person's avatar

Parameters:
avatarId -

getAvatar

@Deprecated
public String getAvatar()
Deprecated. 

Returns:

setAvatar

@Deprecated
public void setAvatar(String avatar)
Deprecated. 

Parameters:
avatar -

getGoogleId

public String getGoogleId()
Returns:
The person's Google Id

setGoogleId

public void setGoogleId(String googleId)
Set the person's Google Id

Parameters:
googleId -

getSkypeId

public String getSkypeId()
Returns:
The person's Skype Id

setSkypeId

public void setSkypeId(String skypeId)
Set the person's Skype Id

Parameters:
skypeId -

getTelephone

public String getTelephone()
Returns:
The person's telephone number

setTelephone

public void setTelephone(String telephone)
Set the person's telephone number

Parameters:
telephone -

getMobile

public String getMobile()
Returns:
The person's mobile number

setMobile

public void setMobile(String mobile)
Set the person's mobile number

Parameters:
mobile -

getJobTitle

public String getJobTitle()
Returns:
The person's job title

setJobTitle

public void setJobTitle(String jobTitle)
Set the person's job title

Parameters:
jobTitle -

getEmail

public String getEmail()
Returns:
The person's email address

setEmail

public void setEmail(String email)
Set the person's email address

Parameters:
email -

getDescription

public String getDescription()
Returns:
The person's description

setDescription

public void setDescription(String description)
Set the person's description

Parameters:
description -

getCompany

public Person.Company getCompany()
Returns:
An embedded company object describing the person's company

setCompany

public void setCompany(Person.Company company)
Set company object describing the person's company

Parameters:
company -

getStatusUpdatedAt

public Date getStatusUpdatedAt()
Returns:
The date time of the person last status update

setStatusUpdatedAt

public void setStatusUpdatedAt(Date statusUpdatedAt)
Set the date time of the person last status update

Parameters:
statusUpdatedAt -

getUserStatus

public String getUserStatus()
Returns:
The persons's status

setUserStatus

public void setUserStatus(String userStatus)
Set the person's status

Parameters:
userStatus -

getCreatedAt

public Date getCreatedAt()
Returns:
The Date time the person was created at

setCreatedAt

public void setCreatedAt(Date createdAt)
Set the date time the person was created at

Parameters:
createdAt -

isCanEdit

public boolean isCanEdit()
Returns:
Can the person object be edited

setCanEdit

public void setCanEdit(boolean canEdit)
Set that the person object can be edited

Parameters:
canEdit -

isEmailFeedDisabled

public boolean isEmailFeedDisabled()
Returns:
is person's email Feed Disabled (Notifications)

setEmailFeedDisabled

public void setEmailFeedDisabled(boolean emailFeedDisabled)
Disable person's email feed (Notifications)

Parameters:
emailFeedDisabled -


Copyright © 2012 Alfresco Software Inc.. All Rights Reserved.