public interface GroupMembershipClient extends com.covisint.core.http.service.client.ResourceClient<GroupMembership>
GroupMembership resources.| Modifier and Type | Method and Description |
|---|---|
com.google.common.util.concurrent.CheckedFuture<GroupMembership,com.covisint.core.http.service.core.ServiceException> |
add(String groupId,
GroupMembership groupMembership,
org.apache.http.protocol.HttpContext httpContext)
Adds the group membership.
|
com.google.common.util.concurrent.CheckedFuture<Void,com.covisint.core.http.service.core.ServiceException> |
delete(String groupId,
String membershipId,
org.apache.http.protocol.HttpContext httpContext)
Deletes the group membership.
|
com.google.common.util.concurrent.CheckedFuture<GroupMembership,com.covisint.core.http.service.core.ServiceException> |
get(String groupId,
String membershipId,
boolean isIncludeGroup,
boolean isIncludeGroupAndEntitlements,
org.apache.http.protocol.HttpContext httpContext)
Retrieves the group membership and returns group with/without entitlements in response.
|
com.google.common.util.concurrent.CheckedFuture<GroupMembership,com.covisint.core.http.service.core.ServiceException> |
get(String groupId,
String membershipId,
org.apache.http.protocol.HttpContext httpContext)
Retrieves the group membership.
|
com.google.common.util.concurrent.CheckedFuture<List<GroupMembership>,com.covisint.core.http.service.core.ServiceException> |
listGroupMemberships(String groupId,
boolean isIncludeGroup,
boolean isIncludeGroupAndEntitlements,
org.apache.http.protocol.HttpContext httpContext)
Gets all the memberships associated with a group.
|
com.google.common.util.concurrent.CheckedFuture<List<GroupMembership>,com.covisint.core.http.service.core.ServiceException> |
search(com.google.common.collect.Multimap<String,String> searchCriteria,
com.covisint.core.http.service.core.SortCriteria sortCriteria,
com.covisint.core.http.service.core.Page page,
boolean isIncludeGroup,
boolean isIncludeGroupAndEntitlements,
org.apache.http.protocol.HttpContext httpContext)
Search for resources based on the passed search criteria.
|
com.google.common.util.concurrent.CheckedFuture<List<GroupMembership>,com.covisint.core.http.service.core.ServiceException> |
search(com.google.common.collect.Multimap<String,String> searchCriteria,
com.covisint.core.http.service.core.SortCriteria sortCriteria,
com.covisint.core.http.service.core.Page page,
org.apache.http.protocol.HttpContext httpContext)
Search for resources based on the passed search criteria.
|
@Nonnull com.google.common.util.concurrent.CheckedFuture<GroupMembership,com.covisint.core.http.service.core.ServiceException> add(@Nonnull@NotEmpty String groupId, @Nonnull@NotEmpty GroupMembership groupMembership, @Nonnull org.apache.http.protocol.HttpContext httpContext)
groupId - The group id.groupMembership - The group membership resource.httpContext - The http context.@Nonnull com.google.common.util.concurrent.CheckedFuture<GroupMembership,com.covisint.core.http.service.core.ServiceException> get(@Nonnull@NotEmpty String groupId, @Nonnull@NotEmpty String membershipId, @Nonnull org.apache.http.protocol.HttpContext httpContext)
groupId - The group id.membershipId - The membership id.httpContext - The http coontext.@Nonnull com.google.common.util.concurrent.CheckedFuture<Void,com.covisint.core.http.service.core.ServiceException> delete(@Nonnull@NotEmpty String groupId, @Nonnull@NotEmpty String membershipId, @Nonnull org.apache.http.protocol.HttpContext httpContext)
groupId - The group id.membershipId - The membership id.httpContext - The http coontext.@Nonnull com.google.common.util.concurrent.CheckedFuture<List<GroupMembership>,com.covisint.core.http.service.core.ServiceException> search(@Nonnull com.google.common.collect.Multimap<String,String> searchCriteria, @Nonnull com.covisint.core.http.service.core.SortCriteria sortCriteria, @Nonnull com.covisint.core.http.service.core.Page page, @Nonnull org.apache.http.protocol.HttpContext httpContext)
search in interface com.covisint.core.http.service.client.ResourceClient<GroupMembership>searchCriteria - search information about the querysortCriteria - sort information about the querypage - the pagination criteriahttpContext - the HTTP Context containing session-level data@Nonnull com.google.common.util.concurrent.CheckedFuture<GroupMembership,com.covisint.core.http.service.core.ServiceException> get(@Nonnull@NotEmpty String groupId, @Nonnull@NotEmpty String membershipId, boolean isIncludeGroup, boolean isIncludeGroupAndEntitlements, @Nonnull org.apache.http.protocol.HttpContext httpContext)
groupId - The group id.membershipId - The membership id.isIncludeGroup - the boolean flag to indicate if full group resource without entitlements should be included
in the responseisIncludeGroupAndEntitlements - the boolean flag to indicate if full group resource with entitlements should
be included in the responsehttpContext - The http coontext.@Nonnull com.google.common.util.concurrent.CheckedFuture<List<GroupMembership>,com.covisint.core.http.service.core.ServiceException> search(@Nonnull com.google.common.collect.Multimap<String,String> searchCriteria, @Nonnull com.covisint.core.http.service.core.SortCriteria sortCriteria, @Nonnull com.covisint.core.http.service.core.Page page, boolean isIncludeGroup, boolean isIncludeGroupAndEntitlements, @Nonnull org.apache.http.protocol.HttpContext httpContext)
searchCriteria - search information about the querysortCriteria - sort information about the querypage - pagination criteriaisIncludeGroup - the boolean flag to indicate if full group resource without entitlements should be included
in the responseisIncludeGroupAndEntitlements - the boolean flag to indicate if full group resource with entitlements should
be included in the responsehttpContext - the HTTP Context containing session-level data@Nonnull com.google.common.util.concurrent.CheckedFuture<List<GroupMembership>,com.covisint.core.http.service.core.ServiceException> listGroupMemberships(@Nonnull@NotEmpty String groupId, boolean isIncludeGroup, boolean isIncludeGroupAndEntitlements, @Nonnull org.apache.http.protocol.HttpContext httpContext)
groupId - the id of the group whose memberships are being requested.isIncludeGroup - the boolean flag to indicate if full group resource without entitlements should be included
in the responseisIncludeGroupAndEntitlements - the boolean flag to indicate if full group resource with entitlements should
be included in the responsehttpContext - the HTTP Context containing session-level dataCopyright © 2015 Covisint. All rights reserved.