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) |
SCIMResponse |
updateWithPUT(String existingId,
String scimObjectString,
UserManager userManager,
String attributes,
String excludeAttributes) |
encodeSCIMException, getDecoder, getEncoder, getResourceEndpointURL, setEndpointURLMappublic 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)
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 © 2020 WSO2. All rights reserved.