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