Class SCIMGroupWebObject
- java.lang.Object
-
- org.nuxeo.ecm.webengine.model.impl.AbstractResource<ResourceTypeImpl>
-
- org.nuxeo.ecm.webengine.model.impl.DefaultObject
-
- org.nuxeo.scim.server.jaxrs.usermanager.BaseUMObject
-
- org.nuxeo.scim.server.jaxrs.usermanager.SCIMGroupWebObject
-
public class SCIMGroupWebObject extends BaseUMObject
Simple Resource class used to expose the SCIM API on Users endpoint- Since:
- 7.4
- Author:
- tiry
-
-
Field Summary
-
Fields inherited from class org.nuxeo.scim.server.jaxrs.usermanager.BaseUMObject
baseUrl, fixeMediaType, log, mapper, um
-
-
Constructor Summary
Constructors Constructor Description SCIMGroupWebObject()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
createGroup(javax.ws.rs.core.UriInfo uriInfo, com.unboundid.scim.data.GroupResource group, javax.servlet.http.HttpServletResponse response)
javax.ws.rs.core.Response
deleteGroupResource(javax.ws.rs.core.UriInfo uriInfo, String uid)
protected javax.ws.rs.core.Response
doCreateGroup(com.unboundid.scim.data.GroupResource group, javax.ws.rs.core.MediaType mt)
protected javax.ws.rs.core.Response
doUpdateGroup(String uid, com.unboundid.scim.data.GroupResource group, javax.ws.rs.core.MediaType mt)
com.unboundid.scim.data.GroupResource
getGroupResource(javax.ws.rs.core.UriInfo uriInfo, String uid)
com.unboundid.scim.data.GroupResource
getGroupResourceAsXml(javax.ws.rs.core.UriInfo uriInfo, String uid)
com.unboundid.scim.sdk.Resources<com.unboundid.scim.data.GroupResource>
getGroups(javax.ws.rs.core.UriInfo uriInfo)
protected String
getPrefix()
com.unboundid.scim.data.GroupResource
getUserResourceAsJSON(javax.ws.rs.core.UriInfo uriInfo, String uid)
protected com.unboundid.scim.data.GroupResource
resolveGroupRessource(String uid)
javax.ws.rs.core.Response
updateGroup(javax.ws.rs.core.UriInfo uriInfo, String uid, com.unboundid.scim.data.GroupResource user)
-
Methods inherited from class org.nuxeo.scim.server.jaxrs.usermanager.BaseUMObject
checkUpdateGuardPreconditions, initialize, isAPowerUserEditableArtifact
-
Methods inherited from class org.nuxeo.ecm.webengine.model.impl.DefaultObject
disptachAdapter, isAdapter
-
Methods inherited from class org.nuxeo.ecm.webengine.model.impl.AbstractResource
checkGuard, dispose, getActiveAdapter, getAdapter, getContext, getFacets, getLinks, getModule, getName, getNext, getNextSegment, getPath, getPrevious, getTemplate, getTrailingPath, getType, getURL, getView, hasFacet, initialize, isInstanceOf, isRoot, newAdapter, newObject, redirect, setNext, setPrevious, setRoot, toString
-
-
-
-
Method Detail
-
getPrefix
protected String getPrefix()
- Specified by:
getPrefix
in classBaseUMObject
-
resolveGroupRessource
protected com.unboundid.scim.data.GroupResource resolveGroupRessource(String uid)
-
getGroups
public com.unboundid.scim.sdk.Resources<com.unboundid.scim.data.GroupResource> getGroups(@Context javax.ws.rs.core.UriInfo uriInfo)
-
getGroupResource
public com.unboundid.scim.data.GroupResource getGroupResource(@Context javax.ws.rs.core.UriInfo uriInfo, String uid)
-
getGroupResourceAsXml
public com.unboundid.scim.data.GroupResource getGroupResourceAsXml(@Context javax.ws.rs.core.UriInfo uriInfo, String uid)
-
getUserResourceAsJSON
public com.unboundid.scim.data.GroupResource getUserResourceAsJSON(@Context javax.ws.rs.core.UriInfo uriInfo, String uid)
-
createGroup
public javax.ws.rs.core.Response createGroup(@Context javax.ws.rs.core.UriInfo uriInfo, com.unboundid.scim.data.GroupResource group, @Context javax.servlet.http.HttpServletResponse response)
-
updateGroup
public javax.ws.rs.core.Response updateGroup(@Context javax.ws.rs.core.UriInfo uriInfo, String uid, com.unboundid.scim.data.GroupResource user)
-
doUpdateGroup
protected javax.ws.rs.core.Response doUpdateGroup(String uid, com.unboundid.scim.data.GroupResource group, javax.ws.rs.core.MediaType mt)
-
doCreateGroup
protected javax.ws.rs.core.Response doCreateGroup(com.unboundid.scim.data.GroupResource group, javax.ws.rs.core.MediaType mt)
-
deleteGroupResource
public javax.ws.rs.core.Response deleteGroupResource(@Context javax.ws.rs.core.UriInfo uriInfo, String uid)
-
-