Package org.camunda.bpm.engine.impl.db
Class PermissionCheck
java.lang.Object
org.camunda.bpm.engine.impl.db.PermissionCheck
- Author:
- Roman Smirnov
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Longprotected Permissionthe permission to check forprotected intprotected Resourcethe type of the resource to check permissions forprotected Stringthe id of the resource to check permission forprotected Stringquery parameter for resource Id.protected int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetPerms()intvoidsetAuthorizationNotFoundReturnValue(Long authorizationNotFoundReturnValue) voidsetPermission(Permission permission) voidsetResource(Resource resource) voidsetResourceId(String resourceId) voidsetResourceIdQueryParam(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
-