KIE Remote Services :: Services 6.0.0.CR2

org.kie.services.remote.rest
Class RuntimeResource

java.lang.Object
  extended by org.kie.services.remote.rest.ResourceBase
      extended by org.kie.services.remote.rest.RuntimeResource

@RequestScoped
public class RuntimeResource
extends ResourceBase


Constructor Summary
RuntimeResource()
           
 
Method Summary
 JaxbGenericResponse abortProcessInstance(Long procInstId)
           
 JaxbGenericResponse clearProcessInstanceLogs()
          History methods
 JaxbGenericResponse doWorkItemOperation(Long workItemId, String operation)
           
 JaxbCommandsResponse execute(JaxbCommandsRequest cmdsRequest)
           
 JaxbProcessInstanceResponse getProcessInstanceDetails(Long procInstId)
           
 JaxbHistoryLogList getProcessInstanceLogs()
           
 JaxbHistoryLogList getProcessInstanceLogs(String processId)
           
 JaxbVariablesResponse getProcessInstanceVariables(Long procInstId)
           
 JaxbProcessInstanceWithVariablesResponse getProcessInstanceWithVars(Long procInstId)
           
 JaxbHistoryLogList getSpecificProcessInstanceLogs(long procInstId)
           
 JaxbHistoryLogList getSpecificVariableOrNodeHistoryList(Long procInstId, String operation, String logId)
           
 JaxbHistoryLogList getVariableOrNodeHistoryList(Long procInstId, String operation)
           
 JaxbGenericResponse signalEvent(String signal)
           
 JaxbGenericResponse signalProcessInstance(Long procInstId)
           
 JaxbProcessInstanceWithVariablesResponse signalProcessInstanceWithVars(Long procInstId)
           
 JaxbProcessInstanceResponse startNewProcess(String processId)
           
 JaxbProcessInstanceWithVariablesResponse startNewProcessWithVars(String processId)
          WithVars methods
 
Methods inherited from class org.kie.services.remote.rest.ResourceBase
checkThatOperationExists, convertStringListToStatusList, convertTaskToTaskSummary, extractMapFromParams, getLongListParam, getNumberParam, getObjectParam, getOrganizationalEntityListFromParams, getPageNumAndPageSize, getRequestParams, getStringListParam, getStringParam
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RuntimeResource

public RuntimeResource()
Method Detail

execute

public JaxbCommandsResponse execute(JaxbCommandsRequest cmdsRequest)

startNewProcess

public JaxbProcessInstanceResponse startNewProcess(String processId)

getProcessInstanceDetails

public JaxbProcessInstanceResponse getProcessInstanceDetails(Long procInstId)

abortProcessInstance

public JaxbGenericResponse abortProcessInstance(Long procInstId)

signalProcessInstance

public JaxbGenericResponse signalProcessInstance(Long procInstId)

getProcessInstanceVariables

public JaxbVariablesResponse getProcessInstanceVariables(Long procInstId)

signalEvent

public JaxbGenericResponse signalEvent(String signal)

doWorkItemOperation

public JaxbGenericResponse doWorkItemOperation(Long workItemId,
                                               String operation)

clearProcessInstanceLogs

public JaxbGenericResponse clearProcessInstanceLogs()
History methods


getProcessInstanceLogs

public JaxbHistoryLogList getProcessInstanceLogs()

getSpecificProcessInstanceLogs

public JaxbHistoryLogList getSpecificProcessInstanceLogs(long procInstId)

getVariableOrNodeHistoryList

public JaxbHistoryLogList getVariableOrNodeHistoryList(Long procInstId,
                                                       String operation)

getSpecificVariableOrNodeHistoryList

public JaxbHistoryLogList getSpecificVariableOrNodeHistoryList(Long procInstId,
                                                               String operation,
                                                               String logId)

getProcessInstanceLogs

public JaxbHistoryLogList getProcessInstanceLogs(String processId)

startNewProcessWithVars

public JaxbProcessInstanceWithVariablesResponse startNewProcessWithVars(String processId)
WithVars methods


getProcessInstanceWithVars

public JaxbProcessInstanceWithVariablesResponse getProcessInstanceWithVars(Long procInstId)

signalProcessInstanceWithVars

public JaxbProcessInstanceWithVariablesResponse signalProcessInstanceWithVars(Long procInstId)

KIE Remote Services :: Services 6.0.0.CR2

Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.