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
-
public class UserToGroupObject extends DefaultObject
- Since:
- 5.7.3
-
-
Constructor Summary
Constructors Constructor Description UserToGroupObject()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addUserToGroup(NuxeoPrincipal principal, NuxeoGroup group)
javax.ws.rs.core.Response
doAddUserToGroup()
javax.ws.rs.core.Response
doRemoveUserFromGroup()
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
-
-
-
-
Method Detail
-
initialize
protected void initialize(Object... args)
- Overrides:
initialize
in classAbstractResource<ResourceTypeImpl>
-
doAddUserToGroup
public javax.ws.rs.core.Response doAddUserToGroup()
-
doRemoveUserFromGroup
public javax.ws.rs.core.Response doRemoveUserFromGroup()
-
addUserToGroup
protected void addUserToGroup(NuxeoPrincipal principal, NuxeoGroup group)
-
removeUserFromGroup
protected void removeUserFromGroup(NuxeoPrincipal principal, NuxeoGroup group)
-
-