public class ProcessInstanceAdminServiceImpl extends Object implements org.jbpm.services.api.admin.ProcessInstanceAdminService
Constructor and Description |
---|
ProcessInstanceAdminServiceImpl() |
Modifier and Type | Method and Description |
---|---|
void |
acknowledgeError(String... errorId) |
protected void |
applyQueryContext(Map<String,Object> params,
org.kie.api.runtime.query.QueryContext queryContext) |
void |
cancelNodeInstance(long processInstanceId,
long nodeInstanceId) |
protected List<Short> |
getAckMode(boolean includeAcknowledged) |
Collection<org.jbpm.services.api.model.NodeInstanceDesc> |
getActiveNodeInstances(long processInstanceId) |
org.kie.internal.runtime.error.ExecutionError |
getError(String errorId) |
List<org.kie.internal.runtime.error.ExecutionError> |
getErrors(boolean includeAcknowledged,
org.kie.api.runtime.query.QueryContext queryContext) |
List<org.kie.internal.runtime.error.ExecutionError> |
getErrorsByDeploymentId(String containerId,
boolean includeAcknowledged,
org.kie.api.runtime.query.QueryContext queryContext) |
List<org.kie.internal.runtime.error.ExecutionError> |
getErrorsByProcessId(String deploymentId,
String processId,
boolean includeAcknowledged,
org.kie.api.runtime.query.QueryContext queryContext) |
List<org.kie.internal.runtime.error.ExecutionError> |
getErrorsByProcessInstanceId(long processInstanceId,
boolean includeAcknowledged,
org.kie.api.runtime.query.QueryContext queryContext) |
List<org.kie.internal.runtime.error.ExecutionError> |
getErrorsByProcessInstanceId(long processInstanceId,
String nodeName,
boolean includeAcknowledged,
org.kie.api.runtime.query.QueryContext queryContext) |
Collection<org.jbpm.services.api.admin.ProcessNode> |
getProcessNodes(long processInstanceId) |
Collection<org.jbpm.services.api.admin.TimerInstance> |
getTimerInstances(long processInstanceId) |
void |
retriggerNodeInstance(long processInstanceId,
long nodeInstanceId) |
void |
setCommandService(org.jbpm.shared.services.impl.TransactionalCommandService commandService) |
void |
setIdentityProvider(org.kie.internal.identity.IdentityProvider identityProvider) |
void |
setProcessService(org.jbpm.services.api.ProcessService processService) |
void |
setRuntimeDataService(org.jbpm.services.api.RuntimeDataService runtimeDataService) |
void |
triggerNode(long processInstanceId,
long nodeId) |
void |
updateTimer(long processInstanceId,
long timerId,
long delay,
long period,
int repeatLimit) |
void |
updateTimerRelative(long processInstanceId,
long timerId,
long delay,
long period,
int repeatLimit) |
public void setProcessService(org.jbpm.services.api.ProcessService processService)
public void setRuntimeDataService(org.jbpm.services.api.RuntimeDataService runtimeDataService)
public void setIdentityProvider(org.kie.internal.identity.IdentityProvider identityProvider)
public void setCommandService(org.jbpm.shared.services.impl.TransactionalCommandService commandService)
public Collection<org.jbpm.services.api.admin.ProcessNode> getProcessNodes(long processInstanceId) throws org.jbpm.services.api.ProcessInstanceNotFoundException
getProcessNodes
in interface org.jbpm.services.api.admin.ProcessInstanceAdminService
org.jbpm.services.api.ProcessInstanceNotFoundException
public void cancelNodeInstance(long processInstanceId, long nodeInstanceId) throws org.jbpm.services.api.NodeInstanceNotFoundException, org.jbpm.services.api.ProcessInstanceNotFoundException
cancelNodeInstance
in interface org.jbpm.services.api.admin.ProcessInstanceAdminService
org.jbpm.services.api.NodeInstanceNotFoundException
org.jbpm.services.api.ProcessInstanceNotFoundException
public void retriggerNodeInstance(long processInstanceId, long nodeInstanceId) throws org.jbpm.services.api.NodeInstanceNotFoundException, org.jbpm.services.api.ProcessInstanceNotFoundException
retriggerNodeInstance
in interface org.jbpm.services.api.admin.ProcessInstanceAdminService
org.jbpm.services.api.NodeInstanceNotFoundException
org.jbpm.services.api.ProcessInstanceNotFoundException
public void updateTimer(long processInstanceId, long timerId, long delay, long period, int repeatLimit) throws org.jbpm.services.api.NodeInstanceNotFoundException, org.jbpm.services.api.ProcessInstanceNotFoundException
updateTimer
in interface org.jbpm.services.api.admin.ProcessInstanceAdminService
org.jbpm.services.api.NodeInstanceNotFoundException
org.jbpm.services.api.ProcessInstanceNotFoundException
public void updateTimerRelative(long processInstanceId, long timerId, long delay, long period, int repeatLimit) throws org.jbpm.services.api.NodeInstanceNotFoundException, org.jbpm.services.api.ProcessInstanceNotFoundException
updateTimerRelative
in interface org.jbpm.services.api.admin.ProcessInstanceAdminService
org.jbpm.services.api.NodeInstanceNotFoundException
org.jbpm.services.api.ProcessInstanceNotFoundException
public Collection<org.jbpm.services.api.admin.TimerInstance> getTimerInstances(long processInstanceId) throws org.jbpm.services.api.ProcessInstanceNotFoundException
getTimerInstances
in interface org.jbpm.services.api.admin.ProcessInstanceAdminService
org.jbpm.services.api.ProcessInstanceNotFoundException
public void triggerNode(long processInstanceId, long nodeId) throws org.jbpm.services.api.NodeNotFoundException, org.jbpm.services.api.ProcessInstanceNotFoundException
triggerNode
in interface org.jbpm.services.api.admin.ProcessInstanceAdminService
org.jbpm.services.api.NodeNotFoundException
org.jbpm.services.api.ProcessInstanceNotFoundException
public Collection<org.jbpm.services.api.model.NodeInstanceDesc> getActiveNodeInstances(long processInstanceId) throws org.jbpm.services.api.ProcessInstanceNotFoundException
getActiveNodeInstances
in interface org.jbpm.services.api.admin.ProcessInstanceAdminService
org.jbpm.services.api.ProcessInstanceNotFoundException
public void acknowledgeError(String... errorId) throws org.jbpm.services.api.admin.ExecutionErrorNotFoundException
acknowledgeError
in interface org.jbpm.services.api.admin.ProcessInstanceAdminService
org.jbpm.services.api.admin.ExecutionErrorNotFoundException
public org.kie.internal.runtime.error.ExecutionError getError(String errorId) throws org.jbpm.services.api.admin.ExecutionErrorNotFoundException
getError
in interface org.jbpm.services.api.admin.ProcessInstanceAdminService
org.jbpm.services.api.admin.ExecutionErrorNotFoundException
public List<org.kie.internal.runtime.error.ExecutionError> getErrors(boolean includeAcknowledged, org.kie.api.runtime.query.QueryContext queryContext)
getErrors
in interface org.jbpm.services.api.admin.ProcessInstanceAdminService
public List<org.kie.internal.runtime.error.ExecutionError> getErrorsByProcessId(String deploymentId, String processId, boolean includeAcknowledged, org.kie.api.runtime.query.QueryContext queryContext)
getErrorsByProcessId
in interface org.jbpm.services.api.admin.ProcessInstanceAdminService
public List<org.kie.internal.runtime.error.ExecutionError> getErrorsByProcessInstanceId(long processInstanceId, boolean includeAcknowledged, org.kie.api.runtime.query.QueryContext queryContext)
getErrorsByProcessInstanceId
in interface org.jbpm.services.api.admin.ProcessInstanceAdminService
public List<org.kie.internal.runtime.error.ExecutionError> getErrorsByProcessInstanceId(long processInstanceId, String nodeName, boolean includeAcknowledged, org.kie.api.runtime.query.QueryContext queryContext)
getErrorsByProcessInstanceId
in interface org.jbpm.services.api.admin.ProcessInstanceAdminService
public List<org.kie.internal.runtime.error.ExecutionError> getErrorsByDeploymentId(String containerId, boolean includeAcknowledged, org.kie.api.runtime.query.QueryContext queryContext)
getErrorsByDeploymentId
in interface org.jbpm.services.api.admin.ProcessInstanceAdminService
protected void applyQueryContext(Map<String,Object> params, org.kie.api.runtime.query.QueryContext queryContext)
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.