Class ScimV2BaseUMObject
java.lang.Object
org.nuxeo.scim.v2.rest.usermanager.ScimV2BaseUMObject
- Direct Known Subclasses:
ScimV2GroupObject
,ScimV2UserObject
- Since:
- 2023.14
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final String
protected final ScimV2MappingService
protected final UserManager
protected final WebContext
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected abstract com.unboundid.scim2.common.messages.ListResponse
<com.unboundid.scim2.common.ScimResource> doSearch
(ScimV2QueryContext queryCtx) com.unboundid.scim2.common.messages.ListResponse
<com.unboundid.scim2.common.ScimResource> protected boolean
Check that the current artifact is editable by a power user.
-
Field Details
-
baseURL
-
mappingService
-
um
-
webContext
-
-
Constructor Details
-
ScimV2BaseUMObject
-
-
Method Details
-
getResources
@GET public com.unboundid.scim2.common.messages.ListResponse<com.unboundid.scim2.common.ScimResource> getResources(@QueryParam("startIndex") Integer startIndex, @QueryParam("count") Integer count, @QueryParam("filter") String filter, @QueryParam("sortBy") String sortBy, @QueryParam("sortOrder") String sortOrder) throws com.unboundid.scim2.common.exceptions.ScimException - Throws:
com.unboundid.scim2.common.exceptions.ScimException
-
doSearch
protected abstract com.unboundid.scim2.common.messages.ListResponse<com.unboundid.scim2.common.ScimResource> doSearch(ScimV2QueryContext queryCtx) throws com.unboundid.scim2.common.exceptions.ScimException - Throws:
com.unboundid.scim2.common.exceptions.ScimException
-
checkUpdateGuardPreconditions
protected void checkUpdateGuardPreconditions() throws com.unboundid.scim2.common.exceptions.ScimException- Throws:
com.unboundid.scim2.common.exceptions.ScimException
-
isAPowerUserEditableArtifact
protected boolean isAPowerUserEditableArtifact()Check that the current artifact is editable by a power user. Basically this means not an administrator user or not an administrator group.
-