public interface WorkflowService
Modifier and Type | Method and Description |
---|---|
void |
approveOrRejectWorkItem(String workItemId,
boolean decision,
String comment,
OperationResult parentResult)
Approves or rejects a work item (without supplying any further information).
|
void |
claimWorkItem(String workItemId,
OperationResult parentResult) |
void |
releaseWorkItem(String workItemId,
OperationResult parentResult) |
void |
stopProcessInstance(String instanceId,
String username,
OperationResult parentResult) |
void approveOrRejectWorkItem(String workItemId, boolean decision, String comment, OperationResult parentResult) throws SecurityViolationException
taskId
- identifier of activiti task backing the work itemdecision
- true = approve, false = rejectparentResult
- comment
- SecurityViolationException
void stopProcessInstance(String instanceId, String username, OperationResult parentResult) throws SchemaException, ObjectNotFoundException, SecurityViolationException
void claimWorkItem(String workItemId, OperationResult parentResult) throws SecurityViolationException, ObjectNotFoundException
void releaseWorkItem(String workItemId, OperationResult parentResult) throws ObjectNotFoundException, SecurityViolationException
Copyright © 2016 evolveum. All rights reserved.