Package com.evolveum.midpoint.model.api
Interface WorkflowService
-
- All Known Implementing Classes:
ModelController
public interface WorkflowService
- Author:
- mederly
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
cancelCase(String caseOid, Task task, OperationResult parentResult)
void
claimWorkItem(WorkItemId workItemId, Task task, OperationResult parentResult)
void
completeWorkItem(@NotNull WorkItemId workItemId, @NotNull AbstractWorkItemOutputType output, @NotNull Task task, @NotNull OperationResult parentResult)
Approves or rejects a work itemvoid
completeWorkItem(WorkItemId workItemId, @NotNull AbstractWorkItemOutputType output, ObjectDelta additionalDelta, Task task, OperationResult parentResult)
Approves or rejects a work item.void
delegateWorkItem(WorkItemId workItemId, WorkItemDelegationRequestType delegationRequest, Task task, OperationResult parentResult)
void
releaseWorkItem(WorkItemId workItemId, Task task, OperationResult parentResult)
-
-
-
Method Detail
-
completeWorkItem
void completeWorkItem(@NotNull @NotNull WorkItemId workItemId, @NotNull @NotNull AbstractWorkItemOutputType output, @NotNull @NotNull Task task, @NotNull @NotNull OperationResult parentResult) throws SecurityViolationException, SchemaException, ObjectNotFoundException, CommunicationException, ConfigurationException, ExpressionEvaluationException, ObjectAlreadyExistsException, PolicyViolationException
Approves or rejects a work item
-
completeWorkItem
void completeWorkItem(WorkItemId workItemId, @NotNull @NotNull AbstractWorkItemOutputType output, ObjectDelta additionalDelta, Task task, OperationResult parentResult) throws SecurityViolationException, SchemaException, ObjectNotFoundException, ExpressionEvaluationException, CommunicationException, ConfigurationException
Approves or rejects a work item. Additional delta is here present in "prism" form (not as ObjectDeltaType), to simplify the life for clients. It is applied only if the output signals that work item is approved.
-
claimWorkItem
void claimWorkItem(WorkItemId workItemId, Task task, OperationResult parentResult) throws SecurityViolationException, ObjectNotFoundException, SchemaException, ObjectAlreadyExistsException, CommunicationException, ConfigurationException, ExpressionEvaluationException
-
releaseWorkItem
void releaseWorkItem(WorkItemId workItemId, Task task, OperationResult parentResult) throws ObjectNotFoundException, SecurityViolationException, SchemaException, ObjectAlreadyExistsException, CommunicationException, ConfigurationException, ExpressionEvaluationException
-
delegateWorkItem
void delegateWorkItem(WorkItemId workItemId, WorkItemDelegationRequestType delegationRequest, Task task, OperationResult parentResult) throws ObjectNotFoundException, SecurityViolationException, SchemaException, ExpressionEvaluationException, CommunicationException, ConfigurationException
-
cancelCase
void cancelCase(String caseOid, Task task, OperationResult parentResult) throws SchemaException, ObjectNotFoundException, SecurityViolationException, ExpressionEvaluationException, CommunicationException, ConfigurationException, ObjectAlreadyExistsException
-
-