Class ScimV2GroupResource

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      javax.ws.rs.core.Response create​(edu.psu.swe.scim.spec.resources.ScimGroup resource, edu.psu.swe.scim.spec.protocol.attribute.AttributeReferenceListWrapper attributes, edu.psu.swe.scim.spec.protocol.attribute.AttributeReferenceListWrapper excludedAttributes)  
      javax.ws.rs.core.Response delete​(String id)  
      javax.ws.rs.core.Response find​(edu.psu.swe.scim.spec.protocol.data.SearchRequest request)  
      javax.ws.rs.core.Response getById​(String id, edu.psu.swe.scim.spec.protocol.attribute.AttributeReferenceListWrapper attributes, edu.psu.swe.scim.spec.protocol.attribute.AttributeReferenceListWrapper excludedAttributes)  
      org.silverpeas.core.webapi.admin.scim.ScimRequestContext getSilverpeasContext()
      Gets the context of Silverpeas linked to the current request.
      protected void initContext()  
      javax.ws.rs.core.Response patch​(edu.psu.swe.scim.spec.protocol.data.PatchRequest patchRequest, String id, edu.psu.swe.scim.spec.protocol.attribute.AttributeReferenceListWrapper attributes, edu.psu.swe.scim.spec.protocol.attribute.AttributeReferenceListWrapper excludedAttributes)  
      javax.ws.rs.core.Response query​(edu.psu.swe.scim.spec.protocol.attribute.AttributeReferenceListWrapper attributes, edu.psu.swe.scim.spec.protocol.attribute.AttributeReferenceListWrapper excludedAttributes, edu.psu.swe.scim.spec.adapter.FilterWrapper filter, edu.psu.swe.scim.spec.protocol.attribute.AttributeReference sortBy, edu.psu.swe.scim.spec.protocol.search.SortOrder sortOrder, Integer startIndex, Integer count)  
      javax.ws.rs.core.Response update​(edu.psu.swe.scim.spec.resources.ScimGroup resource, String id, edu.psu.swe.scim.spec.protocol.attribute.AttributeReferenceListWrapper attributes, edu.psu.swe.scim.spec.protocol.attribute.AttributeReferenceListWrapper excludedAttributes)  
      • Methods inherited from class edu.psu.swe.scim.server.rest.GroupResourceImpl

        getProvider
      • Methods inherited from class edu.psu.swe.scim.server.rest.BaseResourceTypeResourceImpl

        createGenericExceptionResponse
    • Constructor Detail

      • ScimV2GroupResource

        public ScimV2GroupResource()
    • Method Detail

      • initContext

        @PostConstruct
        protected void initContext()
      • getById

        @GET
        @Path("{id}")
        @Produces("application/scim+json")
        public javax.ws.rs.core.Response getById​(@PathParam("id")
                                                 String id,
                                                 @QueryParam("attributes")
                                                 edu.psu.swe.scim.spec.protocol.attribute.AttributeReferenceListWrapper attributes,
                                                 @QueryParam("excludedAttributes")
                                                 edu.psu.swe.scim.spec.protocol.attribute.AttributeReferenceListWrapper excludedAttributes)
        Specified by:
        getById in interface edu.psu.swe.scim.spec.protocol.BaseResourceTypeResource<edu.psu.swe.scim.spec.resources.ScimGroup>
        Overrides:
        getById in class edu.psu.swe.scim.server.rest.BaseResourceTypeResourceImpl<edu.psu.swe.scim.spec.resources.ScimGroup>
        See Also:
        Scim spec, retrieving known resources
      • query

        @GET
        @Produces("application/scim+json")
        public javax.ws.rs.core.Response query​(@QueryParam("attributes")
                                               edu.psu.swe.scim.spec.protocol.attribute.AttributeReferenceListWrapper attributes,
                                               @QueryParam("excludedAttributes")
                                               edu.psu.swe.scim.spec.protocol.attribute.AttributeReferenceListWrapper excludedAttributes,
                                               @QueryParam("filter")
                                               edu.psu.swe.scim.spec.adapter.FilterWrapper filter,
                                               @QueryParam("sortBy")
                                               edu.psu.swe.scim.spec.protocol.attribute.AttributeReference sortBy,
                                               @QueryParam("sortOrder")
                                               edu.psu.swe.scim.spec.protocol.search.SortOrder sortOrder,
                                               @QueryParam("startIndex")
                                               Integer startIndex,
                                               @QueryParam("count")
                                               Integer count)
        Specified by:
        query in interface edu.psu.swe.scim.spec.protocol.BaseResourceTypeResource<edu.psu.swe.scim.spec.resources.ScimGroup>
        Overrides:
        query in class edu.psu.swe.scim.server.rest.BaseResourceTypeResourceImpl<edu.psu.swe.scim.spec.resources.ScimGroup>
        See Also:
        Scim spec, query resources
      • create

        @POST
        @Consumes("application/scim+json")
        @Produces("application/scim+json")
        public javax.ws.rs.core.Response create​(edu.psu.swe.scim.spec.resources.ScimGroup resource,
                                                @QueryParam("attributes")
                                                edu.psu.swe.scim.spec.protocol.attribute.AttributeReferenceListWrapper attributes,
                                                @QueryParam("excludedAttributes")
                                                edu.psu.swe.scim.spec.protocol.attribute.AttributeReferenceListWrapper excludedAttributes)
        Specified by:
        create in interface edu.psu.swe.scim.spec.protocol.BaseResourceTypeResource<edu.psu.swe.scim.spec.resources.ScimGroup>
        Overrides:
        create in class edu.psu.swe.scim.server.rest.BaseResourceTypeResourceImpl<edu.psu.swe.scim.spec.resources.ScimGroup>
        See Also:
        Scim spec, query resources
      • find

        @POST
        @Path("/.search")
        @Produces("application/scim+json")
        public javax.ws.rs.core.Response find​(edu.psu.swe.scim.spec.protocol.data.SearchRequest request)
        Specified by:
        find in interface edu.psu.swe.scim.spec.protocol.BaseResourceTypeResource<edu.psu.swe.scim.spec.resources.ScimGroup>
        Overrides:
        find in class edu.psu.swe.scim.server.rest.BaseResourceTypeResourceImpl<edu.psu.swe.scim.spec.resources.ScimGroup>
        See Also:
        Scim spec, query with post
      • update

        @PUT
        @Path("{id}")
        @Consumes("application/scim+json")
        @Produces("application/scim+json")
        public javax.ws.rs.core.Response update​(edu.psu.swe.scim.spec.resources.ScimGroup resource,
                                                @PathParam("id")
                                                String id,
                                                @QueryParam("attributes")
                                                edu.psu.swe.scim.spec.protocol.attribute.AttributeReferenceListWrapper attributes,
                                                @QueryParam("excludedAttributes")
                                                edu.psu.swe.scim.spec.protocol.attribute.AttributeReferenceListWrapper excludedAttributes)
        Specified by:
        update in interface edu.psu.swe.scim.spec.protocol.BaseResourceTypeResource<edu.psu.swe.scim.spec.resources.ScimGroup>
        Overrides:
        update in class edu.psu.swe.scim.server.rest.BaseResourceTypeResourceImpl<edu.psu.swe.scim.spec.resources.ScimGroup>
        See Also:
        Scim spec, update
      • patch

        @PATCH
        @Path("{id}")
        @Consumes("application/scim+json")
        @Produces("application/scim+json")
        public javax.ws.rs.core.Response patch​(edu.psu.swe.scim.spec.protocol.data.PatchRequest patchRequest,
                                               @PathParam("id")
                                               String id,
                                               @QueryParam("attributes")
                                               edu.psu.swe.scim.spec.protocol.attribute.AttributeReferenceListWrapper attributes,
                                               @QueryParam("excludedAttributes")
                                               edu.psu.swe.scim.spec.protocol.attribute.AttributeReferenceListWrapper excludedAttributes)
        Specified by:
        patch in interface edu.psu.swe.scim.spec.protocol.BaseResourceTypeResource<edu.psu.swe.scim.spec.resources.ScimGroup>
        Overrides:
        patch in class edu.psu.swe.scim.server.rest.BaseResourceTypeResourceImpl<edu.psu.swe.scim.spec.resources.ScimGroup>
      • delete

        @DELETE
        @Path("{id}")
        public javax.ws.rs.core.Response delete​(@PathParam("id")
                                                String id)
        Specified by:
        delete in interface edu.psu.swe.scim.spec.protocol.BaseResourceTypeResource<edu.psu.swe.scim.spec.resources.ScimGroup>
        Overrides:
        delete in class edu.psu.swe.scim.server.rest.BaseResourceTypeResourceImpl<edu.psu.swe.scim.spec.resources.ScimGroup>