Class ScimV2BaseUMObject

java.lang.Object
org.nuxeo.scim.v2.rest.usermanager.ScimV2BaseUMObject
Direct Known Subclasses:
ScimV2GroupObject, ScimV2UserObject

public abstract class ScimV2BaseUMObject extends Object
Since:
2023.14
  • Field Details

  • Constructor Details

    • ScimV2BaseUMObject

      protected ScimV2BaseUMObject(WebContext webContext)
  • 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.