Package org.nuxeo.ecm.core.rest.security
Class PermissionService
- java.lang.Object
-
- org.nuxeo.ecm.webengine.model.impl.AbstractResource<ResourceTypeImpl>
-
- org.nuxeo.ecm.webengine.model.impl.DefaultAdapter
-
- org.nuxeo.ecm.core.rest.security.PermissionService
-
- All Implemented Interfaces:
AdapterResource
,Resource
,Adaptable
public class PermissionService extends DefaultAdapter
Version Service - manage document versions TODO not yet implementedAccepts the following methods:
- GET - get the last document version
- DELETE - delete a version
- POST - create a new version
- Author:
- Bogdan Stefanescu
-
-
Constructor Summary
Constructors Constructor Description PermissionService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
deletePermission()
Object
doGet()
List<Permission>
getPermissions()
javax.ws.rs.core.Response
postDeletePermission()
javax.ws.rs.core.Response
postPermission()
-
Methods inherited from class org.nuxeo.ecm.webengine.model.impl.DefaultAdapter
disptachAdapter, getTarget, 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, initialize, isInstanceOf, isRoot, newAdapter, newObject, redirect, setNext, setPrevious, setRoot, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.nuxeo.runtime.model.Adaptable
getAdapter
-
Methods inherited from interface org.nuxeo.ecm.webengine.model.Resource
checkGuard, dispose, getActiveAdapter, getContext, getFacets, getLinks, getModule, getName, getNext, getNextSegment, getPath, getPrevious, getTemplate, getTrailingPath, getType, getURL, getView, hasFacet, initialize, isInstanceOf, isRoot, newAdapter, newObject, redirect, setNext, setPrevious, setRoot
-
-
-
-
Method Detail
-
doGet
public Object doGet()
-
postPermission
public javax.ws.rs.core.Response postPermission()
-
postDeletePermission
public javax.ws.rs.core.Response postDeletePermission()
-
deletePermission
public javax.ws.rs.core.Response deletePermission()
-
getPermissions
public List<Permission> getPermissions()
-
-