org.camunda.bpm.engine.rest.sub.authorization.impl
Class AuthorizationResourceImpl

java.lang.Object
  extended by org.camunda.bpm.engine.rest.spi.impl.AbstractProcessEngineAware
      extended by org.camunda.bpm.engine.rest.impl.AbstractRestProcessEngineAware
          extended by org.camunda.bpm.engine.rest.impl.AbstractAuthorizedRestResource
              extended by org.camunda.bpm.engine.rest.sub.authorization.impl.AuthorizationResourceImpl
All Implemented Interfaces:
AuthorizationResource

public class AuthorizationResourceImpl
extends AbstractAuthorizedRestResource
implements AuthorizationResource

Author:
Daniel Meyer

Field Summary
protected  AuthorizationService authorizationService
           
protected  String relativeRootResourcePath
           
 
Fields inherited from class org.camunda.bpm.engine.rest.impl.AbstractAuthorizedRestResource
resource, resourceId
 
Fields inherited from class org.camunda.bpm.engine.rest.impl.AbstractRestProcessEngineAware
objectMapper
 
Fields inherited from class org.camunda.bpm.engine.rest.spi.impl.AbstractProcessEngineAware
processEngine
 
Constructor Summary
AuthorizationResourceImpl(String processEngineName, String resourceId, String relativeRootResourcePath, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
           
 
Method Summary
 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)
           
 
Methods inherited from class org.camunda.bpm.engine.rest.impl.AbstractAuthorizedRestResource
isAuthorized, isAuthorized, isAuthorized
 
Methods inherited from class org.camunda.bpm.engine.rest.impl.AbstractRestProcessEngineAware
getObjectMapper, getProcessEngine, setRelativeRootResourceUri
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

authorizationService

protected final AuthorizationService authorizationService

relativeRootResourcePath

protected String relativeRootResourcePath
Constructor Detail

AuthorizationResourceImpl

public AuthorizationResourceImpl(String processEngineName,
                                 String resourceId,
                                 String relativeRootResourcePath,
                                 com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Method Detail

getAuthorization

public AuthorizationDto getAuthorization(javax.ws.rs.core.UriInfo context)
Specified by:
getAuthorization in interface AuthorizationResource

deleteAuthorization

public void deleteAuthorization()
Specified by:
deleteAuthorization in interface AuthorizationResource

updateAuthorization

public void updateAuthorization(AuthorizationDto dto)
Specified by:
updateAuthorization in interface AuthorizationResource

availableOperations

public ResourceOptionsDto availableOperations(javax.ws.rs.core.UriInfo context)
Specified by:
availableOperations in interface AuthorizationResource

getDbAuthorization

protected Authorization getDbAuthorization()


Copyright © 2016 camunda services GmbH. All rights reserved.