java.lang.Object
org.apache.directory.scim.server.rest.SelfResourceImpl
All Implemented Interfaces:
org.apache.directory.scim.protocol.SelfResource

@ApplicationScoped public class SelfResourceImpl extends Object implements org.apache.directory.scim.protocol.SelfResource
  • Field Summary

    Fields inherited from interface org.apache.directory.scim.protocol.SelfResource

    PATH
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    SelfResourceImpl(org.apache.directory.scim.protocol.UserResource userResource, jakarta.enterprise.inject.Instance<org.apache.directory.scim.core.repository.SelfIdResolver> selfIdResolver)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    jakarta.ws.rs.core.Response
     
    jakarta.ws.rs.core.Response
    getSelf(org.apache.directory.scim.spec.filter.attribute.AttributeReferenceListWrapper attributes, org.apache.directory.scim.spec.filter.attribute.AttributeReferenceListWrapper excludedAttributes)
     
    jakarta.ws.rs.core.Response
    patch(org.apache.directory.scim.protocol.data.PatchRequest patchRequest, org.apache.directory.scim.spec.filter.attribute.AttributeReferenceListWrapper attributes, org.apache.directory.scim.spec.filter.attribute.AttributeReferenceListWrapper excludedAttributes)
     
    jakarta.ws.rs.core.Response
    update(org.apache.directory.scim.spec.resources.ScimUser resource, org.apache.directory.scim.spec.filter.attribute.AttributeReferenceListWrapper attributes, org.apache.directory.scim.spec.filter.attribute.AttributeReferenceListWrapper excludedAttributes)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.apache.directory.scim.protocol.SelfResource

    create
  • Constructor Details

    • SelfResourceImpl

      @Inject public SelfResourceImpl(org.apache.directory.scim.protocol.UserResource userResource, jakarta.enterprise.inject.Instance<org.apache.directory.scim.core.repository.SelfIdResolver> selfIdResolver)
    • SelfResourceImpl

      public SelfResourceImpl()
  • Method Details

    • getSelf

      public jakarta.ws.rs.core.Response getSelf(org.apache.directory.scim.spec.filter.attribute.AttributeReferenceListWrapper attributes, org.apache.directory.scim.spec.filter.attribute.AttributeReferenceListWrapper excludedAttributes) throws org.apache.directory.scim.protocol.exception.ScimException, org.apache.directory.scim.spec.exception.ResourceException
      Specified by:
      getSelf in interface org.apache.directory.scim.protocol.SelfResource
      Throws:
      org.apache.directory.scim.protocol.exception.ScimException
      org.apache.directory.scim.spec.exception.ResourceException
    • update

      public jakarta.ws.rs.core.Response update(org.apache.directory.scim.spec.resources.ScimUser resource, org.apache.directory.scim.spec.filter.attribute.AttributeReferenceListWrapper attributes, org.apache.directory.scim.spec.filter.attribute.AttributeReferenceListWrapper excludedAttributes) throws org.apache.directory.scim.protocol.exception.ScimException, org.apache.directory.scim.spec.exception.ResourceException
      Specified by:
      update in interface org.apache.directory.scim.protocol.SelfResource
      Throws:
      org.apache.directory.scim.protocol.exception.ScimException
      org.apache.directory.scim.spec.exception.ResourceException
    • patch

      public jakarta.ws.rs.core.Response patch(org.apache.directory.scim.protocol.data.PatchRequest patchRequest, org.apache.directory.scim.spec.filter.attribute.AttributeReferenceListWrapper attributes, org.apache.directory.scim.spec.filter.attribute.AttributeReferenceListWrapper excludedAttributes) throws org.apache.directory.scim.protocol.exception.ScimException, org.apache.directory.scim.spec.exception.ResourceException
      Specified by:
      patch in interface org.apache.directory.scim.protocol.SelfResource
      Throws:
      org.apache.directory.scim.protocol.exception.ScimException
      org.apache.directory.scim.spec.exception.ResourceException
    • delete

      public jakarta.ws.rs.core.Response delete() throws org.apache.directory.scim.protocol.exception.ScimException, org.apache.directory.scim.spec.exception.ResourceException
      Specified by:
      delete in interface org.apache.directory.scim.protocol.SelfResource
      Throws:
      org.apache.directory.scim.protocol.exception.ScimException
      org.apache.directory.scim.spec.exception.ResourceException