public class DefaultGroupsCallback extends Object implements GroupsCallback
| Constructor and Description |
|---|
DefaultGroupsCallback() |
| Modifier and Type | Method and Description |
|---|---|
Group |
createGroup(Group group)
Creates a group with the provided attributes.
|
void |
deleteGroup(String groupId)
Deletes the group with the specified groupId.
|
Optional<String> |
generateId()
Generates a group id for a new group
|
Group |
getGroup(String groupId) |
PagedResult<Group> |
getGroups(PageInfo pageInfo,
String filter)
Returns a page of groups (limited by
SCIMConfigurationCallback.getMaxResourcesPerPage()),
taking into account the specified filter and paging parameters. |
void |
patchGroup(String groupId,
PatchBody patchBody,
Meta groupMeta)
Updates a group with the provided attributes.
|
Group |
updateGroup(Group group)
Updates a group with the provided attributes.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetGroup, getGroupspublic Group getGroup(String groupId)
getGroup in interface GroupsCallbackpublic PagedResult<Group> getGroups(PageInfo pageInfo, String filter)
GroupsCallbackSCIMConfigurationCallback.getMaxResourcesPerPage()),
taking into account the specified filter and paging parameters.getGroups in interface GroupsCallbackpageInfo - parsed paging parameters from the API requestfilter - unparsed filter string from the $filter query parameterpublic Group createGroup(Group group)
GroupsCallbackcreateGroup in interface GroupsCallbackpublic Group updateGroup(Group group)
GroupsCallbackupdateGroup in interface GroupsCallbackpublic void patchGroup(String groupId, PatchBody patchBody, Meta groupMeta)
GroupsCallbackpatchGroup in interface GroupsCallbackpublic void deleteGroup(String groupId)
GroupsCallbackdeleteGroup in interface GroupsCallbackpublic Optional<String> generateId()
GroupsCallbackgenerateId in interface GroupsCallbackCopyright © 2022 SAP SE. All rights reserved.