Class CommunityMembershipEntity
- java.lang.Object
-
- org.silverpeas.components.community.web.CommunityMembershipEntity
-
- All Implemented Interfaces:
Serializable,org.silverpeas.core.web.rs.WebEntity
public class CommunityMembershipEntity extends Object implements org.silverpeas.core.web.rs.WebEntity
Web representation of a membership as transmitted by the REST web resources.- Author:
- mmoquillon
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedCommunityMembershipEntity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description URIgetCommunity()Gets the URI of the community of user to which this membership is related.StringgetStatus()Gets the status of this membership.URIgetURI()UserEntitygetUser()Gets the user related by this membership to a community.
-
-
-
Method Detail
-
getURI
public URI getURI()
- Specified by:
getURIin interfaceorg.silverpeas.core.web.rs.WebEntity
-
getUser
public UserEntity getUser()
Gets the user related by this membership to a community.- Returns:
- a web entity representing a user in Silverpeas.
-
getStatus
public String getStatus()
Gets the status of this membership.- Returns:
- the String value of one of the
MembershipStatusenumeration value.
-
getCommunity
public URI getCommunity()
Gets the URI of the community of user to which this membership is related.- Returns:
- the URI of the community of users.
-
-