public class AuthorizationResourceImpl extends AbstractAuthorizedRestResource implements AuthorizationResource
Modifier and Type | Field and Description |
---|---|
protected AuthorizationService |
authorizationService |
protected String |
relativeRootResourcePath |
resource, resourceId
objectMapper
processEngine
Constructor and Description |
---|
AuthorizationResourceImpl(String processEngineName,
String resourceId,
String relativeRootResourcePath,
com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
Modifier and Type | Method and Description |
---|---|
ResourceOptionsDto |
availableOperations(javax.ws.rs.core.UriInfo context) |
void |
deleteAuthorization() |
AuthorizationDto |
getAuthorization(javax.ws.rs.core.UriInfo context) |
protected Authorization |
getDbAuthorization() |
void |
updateAuthorization(AuthorizationDto dto) |
isAuthorized, isAuthorized, isAuthorized
getObjectMapper, getProcessEngine, setRelativeRootResourceUri
protected final AuthorizationService authorizationService
protected String relativeRootResourcePath
public AuthorizationDto getAuthorization(javax.ws.rs.core.UriInfo context)
getAuthorization
in interface AuthorizationResource
public void deleteAuthorization()
deleteAuthorization
in interface AuthorizationResource
public void updateAuthorization(AuthorizationDto dto)
updateAuthorization
in interface AuthorizationResource
public ResourceOptionsDto availableOperations(javax.ws.rs.core.UriInfo context)
availableOperations
in interface AuthorizationResource
protected Authorization getDbAuthorization()
Copyright © 2019. All rights reserved.