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