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) |
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, String userId)
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 © 2021. All rights reserved.