Class ScimV2GroupObject
java.lang.Object
org.nuxeo.scim.v2.rest.usermanager.ScimV2BaseUMObject
org.nuxeo.scim.v2.rest.usermanager.ScimV2GroupObject
SCIM 2.0 Group object.
- Since:
- 2023.14
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final com.unboundid.scim2.server.utils.ResourceTypeDefinition
Fields inherited from class org.nuxeo.scim.v2.rest.usermanager.ScimV2BaseUMObject
baseURL, mappingService, um, webContext
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
createGroup
(com.unboundid.scim2.common.types.GroupResource group) javax.ws.rs.core.Response
protected com.unboundid.scim2.common.types.GroupResource
doCreateGroup
(com.unboundid.scim2.common.types.GroupResource group) protected javax.ws.rs.core.Response
doDeleteGroup
(String uid) protected com.unboundid.scim2.common.types.GroupResource
doPatchGroup
(String uid, com.unboundid.scim2.common.messages.PatchRequest patch) protected com.unboundid.scim2.common.messages.ListResponse<com.unboundid.scim2.common.ScimResource>
doSearch
(ScimV2QueryContext queryCtx) protected com.unboundid.scim2.common.types.GroupResource
doUpdateGroup
(String uid, com.unboundid.scim2.common.types.GroupResource group) com.unboundid.scim2.common.ScimResource
getGroupResource
(String uid) protected boolean
protected com.unboundid.scim2.server.utils.ResourcePreparer<com.unboundid.scim2.common.ScimResource>
com.unboundid.scim2.common.ScimResource
patchGroup
(String uid, com.unboundid.scim2.common.messages.PatchRequest patch) protected com.unboundid.scim2.common.types.GroupResource
com.unboundid.scim2.common.ScimResource
updateGroup
(String uid, com.unboundid.scim2.common.types.GroupResource group) Methods inherited from class org.nuxeo.scim.v2.rest.usermanager.ScimV2BaseUMObject
checkUpdateGuardPreconditions, getResources, isAPowerUserEditableArtifact
-
Field Details
-
RESOURCE_TYPE_DEFINITION
protected static final com.unboundid.scim2.server.utils.ResourceTypeDefinition RESOURCE_TYPE_DEFINITION
-
-
Constructor Details
-
ScimV2GroupObject
public ScimV2GroupObject(@Context com.sun.jersey.api.core.HttpContext httpContext)
-
-
Method Details
-
createGroup
public javax.ws.rs.core.Response createGroup(com.unboundid.scim2.common.types.GroupResource group) throws com.unboundid.scim2.common.exceptions.ScimException - Throws:
com.unboundid.scim2.common.exceptions.ScimException
-
getGroupResource
public com.unboundid.scim2.common.ScimResource getGroupResource(String uid) throws com.unboundid.scim2.common.exceptions.ScimException - Throws:
com.unboundid.scim2.common.exceptions.ScimException
-
updateGroup
public com.unboundid.scim2.common.ScimResource updateGroup(String uid, com.unboundid.scim2.common.types.GroupResource group) throws com.unboundid.scim2.common.exceptions.ScimException - Throws:
com.unboundid.scim2.common.exceptions.ScimException
-
patchGroup
public com.unboundid.scim2.common.ScimResource patchGroup(String uid, com.unboundid.scim2.common.messages.PatchRequest patch) throws com.unboundid.scim2.common.exceptions.ScimException - Throws:
com.unboundid.scim2.common.exceptions.ScimException
-
deleteGroupResource
public javax.ws.rs.core.Response deleteGroupResource(String uid) throws com.unboundid.scim2.common.exceptions.ScimException - Throws:
com.unboundid.scim2.common.exceptions.ScimException
-
doCreateGroup
protected com.unboundid.scim2.common.types.GroupResource doCreateGroup(com.unboundid.scim2.common.types.GroupResource group) throws com.unboundid.scim2.common.exceptions.ScimException - Throws:
com.unboundid.scim2.common.exceptions.ScimException
-
resolveGroupResource
protected com.unboundid.scim2.common.types.GroupResource resolveGroupResource(String uid) throws com.unboundid.scim2.common.exceptions.ScimException - Throws:
com.unboundid.scim2.common.exceptions.ScimException
-
doUpdateGroup
protected com.unboundid.scim2.common.types.GroupResource doUpdateGroup(String uid, com.unboundid.scim2.common.types.GroupResource group) throws com.unboundid.scim2.common.exceptions.ScimException - Throws:
com.unboundid.scim2.common.exceptions.ScimException
-
doPatchGroup
protected com.unboundid.scim2.common.types.GroupResource doPatchGroup(String uid, com.unboundid.scim2.common.messages.PatchRequest patch) throws com.unboundid.scim2.common.exceptions.ScimException - Throws:
com.unboundid.scim2.common.exceptions.ScimException
-
doDeleteGroup
protected javax.ws.rs.core.Response doDeleteGroup(String uid) throws com.unboundid.scim2.common.exceptions.ScimException - Throws:
com.unboundid.scim2.common.exceptions.ScimException
-
doSearch
protected com.unboundid.scim2.common.messages.ListResponse<com.unboundid.scim2.common.ScimResource> doSearch(ScimV2QueryContext queryCtx) throws com.unboundid.scim2.common.exceptions.ScimException - Specified by:
doSearch
in classScimV2BaseUMObject
- Throws:
com.unboundid.scim2.common.exceptions.ScimException
-
newResourcePreparer
protected com.unboundid.scim2.server.utils.ResourcePreparer<com.unboundid.scim2.common.ScimResource> newResourcePreparer() throws com.unboundid.scim2.common.exceptions.BadRequestException- Throws:
com.unboundid.scim2.common.exceptions.BadRequestException
-
isFetchMembers
protected boolean isFetchMembers()
-