public class UserResourceManager extends AbstractResourceManager
| Constructor and Description |
|---|
UserResourceManager() |
| Modifier and Type | Method and Description |
|---|---|
SCIMResponse |
create(String scimObjectString,
UserManager userManager,
String attributes,
String excludeAttributes) |
protected ListedResource |
createListedResource(List<Object> users,
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 users at the Users 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 existingId,
String scimObjectString,
UserManager userManager,
String attributes,
String excludeAttributes)
Update the user resource by sequence of operations.
|
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, updateWithPATCH, 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 scimObjectString, UserManager userManager, String attributes, String excludeAttributes)
existingId - scimObjectString - userManager - attributes - excludeAttributes - protected ListedResource createListedResource(List<Object> users, int startIndex, int totalResults) throws CharonException, NotFoundException
CharonExceptionNotFoundExceptionCopyright © 2022 WSO2. All rights reserved.