public class GroupResourceManager extends AbstractResourceManager
| Constructor and Description |
|---|
GroupResourceManager() |
| Modifier and Type | Method and Description |
|---|---|
SCIMResponse |
create(String scimObjectString,
UserManager userManager,
String attributes,
String excludeAttributes) |
ListedResource |
createListedResource(List<Object> groups,
int startIndex,
int totalResults) |
SCIMResponse |
delete(String id,
UserManager userManager) |
SCIMResponse |
get(String id,
UserManager userManager,
String attributes,
String excludeAttributes) |
SCIMResponse |
listWithGET(UserManager userManager,
String filter,
Integer startIndexInt,
Integer countInt,
String sortBy,
String sortOrder,
String domainName,
String attributes,
String excludeAttributes)
Method to list groups at the Groups endpoint.
|
SCIMResponse |
listWithGET(UserManager userManager,
String filter,
int startIndex,
int count,
String sortBy,
String sortOrder,
String domainName,
String attributes,
String excludeAttributes)
This method is deprecated
|
SCIMResponse |
listWithPOST(String resourceString,
UserManager userManager) |
SCIMResponse |
updateWithPATCH(String existingGroupId,
String patchRequest,
UserManager userManager)
Updates the group based on the operations defined in the patchRequest.
|
SCIMResponse |
updateWithPATCH(String existingId,
String patchRequest,
UserManager userManager,
String attributes,
String excludeAttributes)
Updates the group based on the operations defined in the patchRequest.
|
SCIMResponse |
updateWithPatchForAddRemoveOperations(String existingGroupId,
List<PatchOperation> opList,
UserManager userManager,
String attributes,
String excludeAttributes)
Updates the group based on the operations defined in the patchRequest.
|
SCIMResponse |
updateWithPUT(String existingId,
String scimObjectString,
UserManager userManager,
String attributes,
String excludeAttributes) |
encodeSCIMException, getDecoder, getEncoder, getResourceEndpointURL, setEndpointURLMap, setResourceURLBuilderclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateRole, deleteRole, getRole, listWithGETRole, listWithPOSTRole, updateWithPATCHRole, updateWithPUTRolepublic SCIMResponse get(String id, UserManager userManager, String attributes, String excludeAttributes)
public SCIMResponse create(String scimObjectString, UserManager userManager, String attributes, String excludeAttributes)
public SCIMResponse delete(String id, UserManager userManager)
public SCIMResponse listWithGET(UserManager userManager, String filter, int startIndex, int count, String sortBy, String sortOrder, String domainName, String attributes, String excludeAttributes)
ResourceManagerpublic SCIMResponse listWithGET(UserManager userManager, String filter, Integer startIndexInt, Integer countInt, String sortBy, String sortOrder, String domainName, String attributes, String excludeAttributes)
userManager - User managerfilter - Filter to be executedstartIndexInt - Starting index value of the filtercountInt - Number of required resultssortBy - SortBysortOrder - Sorting orderdomainName - Domain nameattributes - Attributes in the requestexcludeAttributes - Exclude attributespublic SCIMResponse listWithPOST(String resourceString, UserManager userManager)
public SCIMResponse updateWithPUT(String existingId, String scimObjectString, UserManager userManager, String attributes, String excludeAttributes)
public SCIMResponse updateWithPATCH(String existingId, String patchRequest, UserManager userManager, String attributes, String excludeAttributes)
existingId - SCIM2 ID of the existing group.patchRequest - SCIM2 patch request.userManager - SCIM UserManager that handles the persistence layer.attributes - Attributes to return in the response.excludeAttributes - Attributes to exclude in the response.public SCIMResponse updateWithPatchForAddRemoveOperations(String existingGroupId, List<PatchOperation> opList, UserManager userManager, String attributes, String excludeAttributes)
existingGroupId - SCIM2 ID of the existing group.opList - List of patch operations.userManager - SCIM UserManager that handles the persistence layer.attributes - Attributes to return in the response.excludeAttributes - Attributes to exclude in the response.public SCIMResponse updateWithPATCH(String existingGroupId, String patchRequest, UserManager userManager)
existingGroupId - SCIM2 ID of the existing grouppatchRequest - SCIM2 patch requestuserManager - SCIM UserManager that handles the persistence layer.public ListedResource createListedResource(List<Object> groups, int startIndex, int totalResults) throws CharonException, NotFoundException
CharonExceptionNotFoundExceptionCopyright © 2022 WSO2. All rights reserved.