org.nuxeo.ecm.webengine.admin
Class UserService
java.lang.Object
org.nuxeo.ecm.webengine.model.impl.AbstractResource<ResourceTypeImpl>
org.nuxeo.ecm.webengine.model.impl.DefaultObject
org.nuxeo.ecm.webengine.admin.UserService
- All Implemented Interfaces:
- Resource, Adaptable
public class UserService
- extends DefaultObject
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 |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
UserService
public UserService()
getIndex
public java.lang.Object getIndex(java.lang.String query,
java.lang.String group)
throws java.lang.Exception
- Throws:
java.lang.Exception
searchUsers
public java.lang.Object searchUsers(java.lang.String user)
throws java.lang.Exception
- Throws:
java.lang.Exception
searchGroups
public java.lang.Object searchGroups(java.lang.String group)
throws java.lang.Exception
- Throws:
java.lang.Exception
postUser
public javax.ws.rs.core.Response postUser()
throws java.lang.Exception
- Throws:
java.lang.Exception
postGroup
public javax.ws.rs.core.Response postGroup()
throws java.lang.Exception
- Throws:
java.lang.Exception
getGroups
public java.util.List<NuxeoGroup> getGroups()
throws java.lang.Exception
- Throws:
java.lang.Exception
getUsers
public java.util.List<NuxeoPrincipal> getUsers()
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2010 Nuxeo SAS. All Rights Reserved.