KIE Remote Services :: Services 6.0.0.CR5

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


Field Summary
 
Fields inherited from class org.kie.services.remote.rest.ResourceBase
variants
 
Constructor Summary
RuntimeResource()
           
 
Method Summary
 javax.ws.rs.core.Response abortProcessInstance(Long procInstId)
           
 javax.ws.rs.core.Response clearProcessInstanceLogs()
          History methods
 javax.ws.rs.core.Response doWorkItemOperation(Long workItemId, String operation)
           
 JaxbCommandsResponse execute(JaxbCommandsRequest cmdsRequest)
           
 javax.ws.rs.core.Response getProcessInstanceDetails(Long procInstId)
           
 javax.ws.rs.core.Response getProcessInstanceLogs()
           
 javax.ws.rs.core.Response getProcessInstanceLogs(String processId)
           
 javax.ws.rs.core.Response getProcessInstanceVariables(Long procInstId)
           
 javax.ws.rs.core.Response getProcessInstanceWithVars(Long procInstId)
           
 javax.ws.rs.core.Response getSpecificProcessInstanceLogs(long procInstId)
           
 javax.ws.rs.core.Response getSpecificVariableOrNodeHistoryList(Long procInstId, String operation, String logId)
           
 javax.ws.rs.core.Response getVariableOrNodeHistoryList(Long procInstId, String operation)
           
 javax.ws.rs.core.Response getWorkItem(Long workItemId)
           
 javax.ws.rs.core.Response signalEvent()
           
 javax.ws.rs.core.Response signalProcessInstance(Long procInstId)
           
 javax.ws.rs.core.Response signalProcessInstanceWithVars(Long procInstId)
           
 javax.ws.rs.core.Response startNewProcess(String processId)
           
 javax.ws.rs.core.Response startNewProcessWithVars(String processId)
          WithVars methods
 
Methods inherited from class org.kie.services.remote.rest.ResourceBase
convertStringListToStatusList, convertTaskToTaskSummary, createCorrectVariant, extractMapFromParams, getLongListParam, getNumberParam, getObjectParam, getOrganizationalEntityListFromParams, getPageNumAndPageSize, getRequestParams, getStringListParam, getStringParam, getVariant, restProcessJaxbCommandsRequest
 
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 javax.ws.rs.core.Response startNewProcess(String processId)

getProcessInstanceDetails

public javax.ws.rs.core.Response getProcessInstanceDetails(Long procInstId)

abortProcessInstance

public javax.ws.rs.core.Response abortProcessInstance(Long procInstId)

signalProcessInstance

public javax.ws.rs.core.Response signalProcessInstance(Long procInstId)

getProcessInstanceVariables

public javax.ws.rs.core.Response getProcessInstanceVariables(Long procInstId)

signalEvent

public javax.ws.rs.core.Response signalEvent()

getWorkItem

public javax.ws.rs.core.Response getWorkItem(Long workItemId)

doWorkItemOperation

public javax.ws.rs.core.Response doWorkItemOperation(Long workItemId,
                                                     String operation)

clearProcessInstanceLogs

public javax.ws.rs.core.Response clearProcessInstanceLogs()
History methods


getProcessInstanceLogs

public javax.ws.rs.core.Response getProcessInstanceLogs()

getSpecificProcessInstanceLogs

public javax.ws.rs.core.Response getSpecificProcessInstanceLogs(long procInstId)

getVariableOrNodeHistoryList

public javax.ws.rs.core.Response getVariableOrNodeHistoryList(Long procInstId,
                                                              String operation)

getSpecificVariableOrNodeHistoryList

public javax.ws.rs.core.Response getSpecificVariableOrNodeHistoryList(Long procInstId,
                                                                      String operation,
                                                                      String logId)

getProcessInstanceLogs

public javax.ws.rs.core.Response getProcessInstanceLogs(String processId)

startNewProcessWithVars

public javax.ws.rs.core.Response startNewProcessWithVars(String processId)
WithVars methods


getProcessInstanceWithVars

public javax.ws.rs.core.Response getProcessInstanceWithVars(Long procInstId)

signalProcessInstanceWithVars

public javax.ws.rs.core.Response signalProcessInstanceWithVars(Long procInstId)

KIE Remote Services :: Services 6.0.0.CR5

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