|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PermResource
Resource for reading and writing permissions
Method Summary | |
---|---|
PermResponse |
getObjectPermission(Permission perm,
int objType,
int objId,
int nodeId)
Check whether the user has permission perm on the object defined by type and id |
PermBitsResponse |
getPermissions(int objType,
int objId,
int nodeId,
int checkType,
int languageId)
Get the permission bits valid for the current user on the given object (and optionally for the given node) |
GenericResponse |
setPermissions(int objType,
int objId,
SetPermsRequest req)
Set the permissions on the identified object according to the posted request |
Methods inherited from interface com.gentics.contentnode.rest.resource.AuthenticatedResource |
---|
setSessionId |
Method Detail |
---|
PermBitsResponse getPermissions(int objType, int objId, int nodeId, int checkType, int languageId)
objType
- object typeobjId
- object idnodeId
- optional node idcheckType
- optional type for which the check shall be donelanguageId
- optional language id
PermResponse getObjectPermission(Permission perm, int objType, int objId, int nodeId)
perm
- permissionobjType
- object typeobjId
- object idnodeId
- node id
GenericResponse setPermissions(int objType, int objId, SetPermsRequest req)
objType
- object typeobjId
- object idreq
- request
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |