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

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

public class Member
extends Object

Members are the people who collaborate on a site.

Author:
jottley

Constructor Summary
Member()
           
 
Method Summary
 String getId()
           
 Person getPerson()
           
 Role getRole()
           
 void setId(String id)
          Set the person's personId - the email address with which the person registered
 void setPerson(Person person)
          Set the person object describing this member.
 void setRole(Role role)
          Set the member's role.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Member

public Member()
Method Detail

getRole

public Role getRole()
Returns:
The member's role. Possible values are SiteManager, SiteContributor, SiteConsumer and SiteCollaborator.

setRole

public void setRole(Role role)
Set the member's role. Possible values are SiteManager, SiteContributor, SiteConsumer and SiteCollaborator.

Parameters:
role -

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 -

getPerson

public Person getPerson()
Returns:
An embedded person object describing this member.

setPerson

public void setPerson(Person person)
Set the person object describing this member.

Parameters:
person -


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