Package org.camunda.bpm.engine.impl.db
Class PermissionCheck
java.lang.Object
org.camunda.bpm.engine.impl.db.PermissionCheck
- Author:
- Roman Smirnov
-
Field Summary
Modifier and TypeFieldDescriptionprotected Long
protected Permission
the permission to check forprotected int
protected Resource
the type of the resource to check permissions forprotected String
the id of the resource to check permission forprotected String
query parameter for resource Id.protected int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getPerms()
int
void
setAuthorizationNotFoundReturnValue
(Long authorizationNotFoundReturnValue) void
setPermission
(Permission permission) void
setResource
(Resource resource) void
setResourceId
(String resourceId) void
setResourceIdQueryParam
(String resourceIdQueryParam)
-
Field Details
-
permission
the permission to check for -
perms
protected int perms -
resource
the type of the resource to check permissions for -
resourceType
protected int resourceType -
resourceId
the id of the resource to check permission for -
resourceIdQueryParam
query parameter for resource Id. Is injected as RAW parameter into the query -
authorizationNotFoundReturnValue
-
-
Constructor Details
-
PermissionCheck
public PermissionCheck()
-
-
Method Details
-
getPermission
-
setPermission
-
getPerms
public int getPerms() -
getResource
-
setResource
-
getResourceType
public int getResourceType() -
getResourceId
-
setResourceId
-
getResourceIdQueryParam
-
setResourceIdQueryParam
-
getAuthorizationNotFoundReturnValue
-
setAuthorizationNotFoundReturnValue
-