org.kie.remote.services.rest
Class RuntimeResourceImpl
java.lang.Object
org.kie.remote.services.rest.ResourceBase
org.kie.remote.services.rest.RuntimeResourceImpl
- All Implemented Interfaces:
- RuntimeResource
@RequestScoped
public class RuntimeResourceImpl
- extends ResourceBase
- implements RuntimeResource
If a method in this class is annotated by a @Path annotation,
then the name of the method should match the URL specified in the @Path,
where "_" characters should be used for all "/" characters in the path.
For example:
| Methods inherited from class org.kie.remote.services.rest.ResourceBase |
convertProcAssetDescToJaxbProcDef, convertStringListToStatusList, convertTaskToTaskSummary, createCorrectVariant, createCorrectVariant, doRestTaskOperation, doRestTaskOperationWithDeploymentId, doRestTaskOperationWithTaskId, extractMapFromParams, getAuditLogService, getBaseUri, getEnum, getLongListParam, getMaxNumResultsNeeded, getNumberParam, getObjectParam, getOrganizationalEntityListFromParams, getPageNumAndPageSize, getRelativePath, getRequestParams, getRequestUri, getStringListParam, getStringListParamAsList, getStringParam, paginate, paginateAndCreateResult, paginateAndCreateResult, restProcessJaxbCommandsRequest |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
headers
@Context
protected javax.ws.rs.core.HttpHeaders headers
deploymentId
protected String deploymentId
RuntimeResourceImpl
public RuntimeResourceImpl()
execute
public JaxbCommandsResponse execute(JaxbCommandsRequest cmdsRequest)
- The "/execute" method, primarily for the classes in the kie-services-client jar.
A pain to support..
- Parameters:
cmdsRequest - The JaxbCommandsRequest containing the Command and other necessary info.
- Returns:
- A
JaxbCommandsResponse with the result from the Command
process_defId
public javax.ws.rs.core.Response process_defId(String processId)
- Specified by:
process_defId in interface RuntimeResource
process_defId_start
public javax.ws.rs.core.Response process_defId_start(String processId)
- Specified by:
process_defId_start in interface RuntimeResource
process_defId_startform
public javax.ws.rs.core.Response process_defId_startform(String processId)
- Specified by:
process_defId_startform in interface RuntimeResource
process_instance_procInstId
public javax.ws.rs.core.Response process_instance_procInstId(Long procInstId)
- Specified by:
process_instance_procInstId in interface RuntimeResource
process_instance_procInstId_abort
public javax.ws.rs.core.Response process_instance_procInstId_abort(Long procInstId)
- Specified by:
process_instance_procInstId_abort in interface RuntimeResource
process_instance_procInstId_signal
public javax.ws.rs.core.Response process_instance_procInstId_signal(Long procInstId)
- Specified by:
process_instance_procInstId_signal in interface RuntimeResource
process_instance_procInstId_variable_varName
public javax.ws.rs.core.Response process_instance_procInstId_variable_varName(Long procInstId,
String varName)
- Specified by:
process_instance_procInstId_variable_varName in interface RuntimeResource
signal
public javax.ws.rs.core.Response signal()
- Specified by:
signal in interface RuntimeResource
workitem_workItemId
public javax.ws.rs.core.Response workitem_workItemId(Long workItemId)
- Specified by:
workitem_workItemId in interface RuntimeResource
worktiem_workItemId_oper
public javax.ws.rs.core.Response worktiem_workItemId_oper(Long workItemId,
String operation)
- Specified by:
worktiem_workItemId_oper in interface RuntimeResource
withvars_process_processDefId_start
public javax.ws.rs.core.Response withvars_process_processDefId_start(String processId)
- WithVars methods
- Specified by:
withvars_process_processDefId_start in interface RuntimeResource
withvars_process_instance_procInstId
public javax.ws.rs.core.Response withvars_process_instance_procInstId(Long procInstId)
- Specified by:
withvars_process_instance_procInstId in interface RuntimeResource
withvars_process_instance_procInstid_signal
public javax.ws.rs.core.Response withvars_process_instance_procInstid_signal(Long procInstId)
- Specified by:
withvars_process_instance_procInstid_signal in interface RuntimeResource
getRootElementName
protected QName getRootElementName(Object object)
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.