Class UserToGroupObject
java.lang.Object
org.nuxeo.ecm.webengine.model.impl.AbstractResource<ResourceTypeImpl>
org.nuxeo.ecm.webengine.model.impl.DefaultObject
org.nuxeo.ecm.restapi.server.jaxrs.usermanager.UserToGroupObject
- Since:
- 5.7.3
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addUserToGroup
(NuxeoPrincipal principal, NuxeoGroup group) javax.ws.rs.core.Response
javax.ws.rs.core.Response
protected void
initialize
(Object... args) protected void
removeUserFromGroup
(NuxeoPrincipal principal, NuxeoGroup group) 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
-
Constructor Details
-
UserToGroupObject
public UserToGroupObject()
-
-
Method Details
-
initialize
- Overrides:
initialize
in classAbstractResource<ResourceTypeImpl>
-
doAddUserToGroup
public javax.ws.rs.core.Response doAddUserToGroup() -
doRemoveUserFromGroup
public javax.ws.rs.core.Response doRemoveUserFromGroup() -
addUserToGroup
-
removeUserFromGroup
-