# Uses of Class
org.silverpeas.components.community.web.CommunityMembershipEntity

Packages that use CommunityMembershipEntity
Package
Description
org.silverpeas.components.community.web
Provides the REST-based web services with which anyone can communicate with an application instance to get information about a community of users and its members.

- ## Uses of CommunityMembershipEntity in org.silverpeas.components.community.web

  Methods in org.silverpeas.components.community.web that return CommunityMembershipEntity
  Modifier and Type
  Method
  Description
  `CommunityMembershipEntity`
  CommunityMembershipResource.`getMembership(String memberId)`
  Gets a given existing membership to the community of users or throw `NotFoundException` if no such membership exists.
  `CommunityMembershipEntity`
  CommunityMembershipResource.`getUserMembership(String userId)`
  Gets the membership of the specified user or throw `NotFoundException` if no such membership to the community of users exists.
  Methods in org.silverpeas.components.community.web that return types with arguments of type CommunityMembershipEntity
  Modifier and Type
  Method
  Description
  `List<CommunityMembershipEntity>`
  CommunityMembershipEntities.`getMemberships()`
  Gets all the memberships contained in this collection.
  Constructor parameters in org.silverpeas.components.community.web with type arguments of type CommunityMembershipEntity
  Modifier
  Constructor
  Description
  `protected`
  `CommunityMembershipEntities(org.silverpeas.core.util.SilverpeasList<CommunityMembershipEntity> memberships)`