public class AuthorizationRestServiceImpl extends AbstractAuthorizedRestResource implements AuthorizationRestService
resource, resourceId
objectMapper, relativeRootResourcePath
processEngine
PATH
Constructor and Description |
---|
AuthorizationRestServiceImpl(String engineName,
com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
Modifier and Type | Method and Description |
---|---|
ResourceOptionsDto |
availableOperations(javax.ws.rs.core.UriInfo context) |
AuthorizationDto |
createAuthorization(javax.ws.rs.core.UriInfo context,
AuthorizationCreateDto dto) |
protected List<Authorization> |
executePaginatedQuery(AuthorizationQuery query,
Integer firstResult,
Integer maxResults) |
AuthorizationResource |
getAuthorization(String id) |
protected CountResultDto |
getAuthorizationCount(AuthorizationQueryDto queryDto) |
CountResultDto |
getAuthorizationCount(javax.ws.rs.core.UriInfo uriInfo) |
protected IdentityService |
getIdentityService() |
AuthorizationCheckResultDto |
isUserAuthorized(String permissionName,
String resourceName,
Integer resourceType,
String resourceId) |
List<AuthorizationDto> |
queryAuthorizations(AuthorizationQueryDto queryDto,
Integer firstResult,
Integer maxResults) |
List<AuthorizationDto> |
queryAuthorizations(javax.ws.rs.core.UriInfo uriInfo,
Integer firstResult,
Integer maxResults) |
isAuthorized, isAuthorized, isAuthorized
getObjectMapper, getProcessEngine, setRelativeRootResourceUri
public AuthorizationRestServiceImpl(String engineName, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
public AuthorizationCheckResultDto isUserAuthorized(String permissionName, String resourceName, Integer resourceType, String resourceId)
isUserAuthorized
in interface AuthorizationRestService
public AuthorizationResource getAuthorization(String id)
getAuthorization
in interface AuthorizationRestService
public List<AuthorizationDto> queryAuthorizations(javax.ws.rs.core.UriInfo uriInfo, Integer firstResult, Integer maxResults)
queryAuthorizations
in interface AuthorizationRestService
public ResourceOptionsDto availableOperations(javax.ws.rs.core.UriInfo context)
availableOperations
in interface AuthorizationRestService
public List<AuthorizationDto> queryAuthorizations(AuthorizationQueryDto queryDto, Integer firstResult, Integer maxResults)
public CountResultDto getAuthorizationCount(javax.ws.rs.core.UriInfo uriInfo)
getAuthorizationCount
in interface AuthorizationRestService
protected CountResultDto getAuthorizationCount(AuthorizationQueryDto queryDto)
public AuthorizationDto createAuthorization(javax.ws.rs.core.UriInfo context, AuthorizationCreateDto dto)
createAuthorization
in interface AuthorizationRestService
protected List<Authorization> executePaginatedQuery(AuthorizationQuery query, Integer firstResult, Integer maxResults)
protected IdentityService getIdentityService()
Copyright © 2019. All rights reserved.