| Modifier and Type | Interface and Description |
|---|---|
static class |
GroupSDK.GroupClient.Sort
All supported sort fields.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.common.util.concurrent.CheckedFuture<Group,com.covisint.core.http.service.core.ServiceException> |
add(Group group)
Adds a new group.
|
com.google.common.util.concurrent.CheckedFuture<Group,com.covisint.core.http.service.core.ServiceException> |
get(String id,
boolean includeEntitlements)
Retrieves a group by its id.
|
com.google.common.util.concurrent.CheckedFuture<List<Group>,com.covisint.core.http.service.core.ServiceException> |
search(List<String> names,
List<String> descriptions,
boolean includeEntitlements,
com.covisint.core.http.service.core.Page page,
GroupSDK.GroupClient.Sort... sortOrder)
Searches for groups based on supported criteria.
|
com.google.common.util.concurrent.CheckedFuture<Group,com.covisint.core.http.service.core.ServiceException> |
update(Group group)
Updates the given group on the server.
|
@Nonnull com.google.common.util.concurrent.CheckedFuture<Group,com.covisint.core.http.service.core.ServiceException> add(@Nonnull Group group)
group - The group to add.@Nonnull com.google.common.util.concurrent.CheckedFuture<Group,com.covisint.core.http.service.core.ServiceException> update(@Nonnull Group group)
group - The group to persist.@Nonnull com.google.common.util.concurrent.CheckedFuture<Group,com.covisint.core.http.service.core.ServiceException> get(@Nonnull@NotEmpty String id, boolean includeEntitlements)
id - The id of the group to retrieve.includeEntitlements - Whether to include entitlements within the retrieved group.includeEntitlements was set to true, then the group will list its
entitlements.@Nonnull com.google.common.util.concurrent.CheckedFuture<List<Group>,com.covisint.core.http.service.core.ServiceException> search(@NonnullElements List<String> names, @NonnullElements List<String> descriptions, boolean includeEntitlements, @Nonnull com.covisint.core.http.service.core.Page page, GroupSDK.GroupClient.Sort... sortOrder)
names - The group names to look for. If null or an empty collection is passed, then no
filter is performed on group name.descriptions - The group descriptions to look for. If null or an empty collection is
passed, then no filter is performed on group descriptions.includeEntitlements - Whether to include entitlements within the retrieved groups.page - The pagination criteria to apply. Pass Page.DEFAULT to return the standard result
collection.sortOrder - The sort criteria to apply. Leave empty to skip sort operations.Copyright © 2015 Covisint. All rights reserved.