public class AuthorizationResourceImpl extends AbstractAuthorizedRestResource implements AuthorizationResource
| Modifier and Type | Field and Description |
|---|---|
protected AuthorizationService |
authorizationService |
protected String |
relativeRootResourcePath |
resource, resourceIdobjectMapperprocessEngine| 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, isAuthorizedgetObjectMapper, getProcessEngine, setRelativeRootResourceUriprotected final AuthorizationService authorizationService
protected String relativeRootResourcePath
public AuthorizationDto getAuthorization(javax.ws.rs.core.UriInfo context)
getAuthorization in interface AuthorizationResourcepublic void deleteAuthorization()
deleteAuthorization in interface AuthorizationResourcepublic void updateAuthorization(AuthorizationDto dto)
updateAuthorization in interface AuthorizationResourcepublic ResourceOptionsDto availableOperations(javax.ws.rs.core.UriInfo context)
availableOperations in interface AuthorizationResourceprotected Authorization getDbAuthorization()
Copyright © 2018. All rights reserved.