public class PermissionCheck extends Object
Modifier and Type | Field and Description |
---|---|
protected Long |
authorizationNotFoundReturnValue |
protected Permission |
permission
the permission to check for
|
protected int |
perms |
protected Resource |
resource
the type of the resource to check permissions for
|
protected String |
resourceId
the id of the resource to check permission for
|
protected String |
resourceIdQueryParam
query parameter for resource Id.
|
protected int |
resourceType |
Constructor and Description |
---|
PermissionCheck() |
Modifier and Type | Method and 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) |
protected Permission permission
protected int perms
protected Resource resource
protected int resourceType
protected String resourceId
protected String resourceIdQueryParam
protected Long authorizationNotFoundReturnValue
public Permission getPermission()
public void setPermission(Permission permission)
public int getPerms()
public Resource getResource()
public void setResource(Resource resource)
public int getResourceType()
public String getResourceId()
public void setResourceId(String resourceId)
public String getResourceIdQueryParam()
public void setResourceIdQueryParam(String resourceIdQueryParam)
public Long getAuthorizationNotFoundReturnValue()
public void setAuthorizationNotFoundReturnValue(Long authorizationNotFoundReturnValue)
Copyright © 2017. All rights reserved.