org.camunda.bpm.engine.rest.impl
Class VariableInstanceRestServiceImpl

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.VariableInstanceRestServiceImpl
All Implemented Interfaces:
VariableInstanceRestService

public class VariableInstanceRestServiceImpl
extends AbstractRestProcessEngineAware
implements VariableInstanceRestService


Field Summary
 
Fields inherited from class org.camunda.bpm.engine.rest.impl.AbstractRestProcessEngineAware
objectMapper, relativeRootResourcePath
 
Fields inherited from class org.camunda.bpm.engine.rest.spi.impl.AbstractProcessEngineAware
processEngine
 
Fields inherited from interface org.camunda.bpm.engine.rest.VariableInstanceRestService
PATH
 
Constructor Summary
VariableInstanceRestServiceImpl(String engineName, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
           
 
Method Summary
 VariableInstanceResource getVariableInstance(String id)
           
 List<VariableInstanceDto> getVariableInstances(javax.ws.rs.core.UriInfo uriInfo, Integer firstResult, Integer maxResults, boolean deserializeObjectValues)
          Exposes the VariableInstanceQuery interface as a REST service.
 CountResultDto getVariableInstancesCount(javax.ws.rs.core.UriInfo uriInfo)
           
 List<VariableInstanceDto> queryVariableInstances(VariableInstanceQueryDto queryDto, Integer firstResult, Integer maxResults, boolean deserializeObjectValues)
          Expects the same parameters as VariableInstanceRestService#getVariableInstances(UriInfo, Integer, Integer) (as a JSON message body) and allows for any number of variable checks.
 CountResultDto queryVariableInstancesCount(VariableInstanceQueryDto queryDto)
           
 
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
 

Constructor Detail

VariableInstanceRestServiceImpl

public VariableInstanceRestServiceImpl(String engineName,
                                       com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Method Detail

getVariableInstance

public VariableInstanceResource getVariableInstance(String id)
Specified by:
getVariableInstance in interface VariableInstanceRestService

getVariableInstances

public List<VariableInstanceDto> getVariableInstances(javax.ws.rs.core.UriInfo uriInfo,
                                                      Integer firstResult,
                                                      Integer maxResults,
                                                      boolean deserializeObjectValues)
Description copied from interface: VariableInstanceRestService
Exposes the VariableInstanceQuery interface as a REST service.

Specified by:
getVariableInstances in interface VariableInstanceRestService
Returns:

queryVariableInstances

public List<VariableInstanceDto> queryVariableInstances(VariableInstanceQueryDto queryDto,
                                                        Integer firstResult,
                                                        Integer maxResults,
                                                        boolean deserializeObjectValues)
Description copied from interface: VariableInstanceRestService
Expects the same parameters as VariableInstanceRestService#getVariableInstances(UriInfo, Integer, Integer) (as a JSON message body) and allows for any number of variable checks.

Specified by:
queryVariableInstances in interface VariableInstanceRestService
Returns:

getVariableInstancesCount

public CountResultDto getVariableInstancesCount(javax.ws.rs.core.UriInfo uriInfo)
Specified by:
getVariableInstancesCount in interface VariableInstanceRestService

queryVariableInstancesCount

public CountResultDto queryVariableInstancesCount(VariableInstanceQueryDto queryDto)
Specified by:
queryVariableInstancesCount in interface VariableInstanceRestService


Copyright © 2016 camunda services GmbH. All rights reserved.