public interface WorkflowManager
Modifier and Type | Method and Description |
---|---|
void |
approveOrRejectWorkItem(String taskId,
boolean decision,
String comment,
OperationResult parentResult)
Approves or rejects a work item (without supplying any further information).
|
<T extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> |
augmentTaskObject(PrismObject<T> object,
Collection<SelectorOptions<GetOperationOptions>> options,
Task task,
OperationResult result) |
<T extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> |
augmentTaskObjectList(SearchResultList<PrismObject<T>> list,
Collection<SelectorOptions<GetOperationOptions>> options,
Task task,
OperationResult result) |
void |
claimWorkItem(String workItemId,
OperationResult result) |
<T extends Containerable> |
countContainers(Class<T> type,
ObjectQuery query,
Collection<SelectorOptions<GetOperationOptions>> options,
OperationResult result) |
List<? extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectReferenceType> |
getApprovedBy(Task task,
OperationResult result) |
ChangesByState |
getChangesByState(com.evolveum.midpoint.xml.ns._public.common.common_3.TaskType rootTask,
ModelInteractionService modelInteractionService,
PrismContext prismContext,
OperationResult result) |
ChangesByState |
getChangesByState(com.evolveum.midpoint.xml.ns._public.common.common_3.TaskType childTask,
com.evolveum.midpoint.xml.ns._public.common.common_3.TaskType rootTask,
ModelInteractionService modelInteractionService,
PrismContext prismContext,
OperationResult result) |
PrismContext |
getPrismContext() |
boolean |
isCurrentUserAuthorizedToClaim(com.evolveum.midpoint.xml.ns._public.common.common_3.WorkItemType workItem) |
boolean |
isCurrentUserAuthorizedToSubmit(com.evolveum.midpoint.xml.ns._public.common.common_3.WorkItemType workItem) |
boolean |
isEnabled() |
void |
registerProcessListener(ProcessListener processListener) |
void |
registerWorkItemListener(WorkItemListener workItemListener) |
void |
releaseWorkItem(String workItemId,
OperationResult result) |
<T extends Containerable> |
searchContainers(Class<T> type,
ObjectQuery query,
Collection<SelectorOptions<GetOperationOptions>> options,
OperationResult result) |
void |
stopProcessInstance(String instanceId,
String username,
OperationResult parentResult) |
void |
synchronizeWorkflowRequests(OperationResult parentResult) |
<T extends Containerable> Integer countContainers(Class<T> type, ObjectQuery query, Collection<SelectorOptions<GetOperationOptions>> options, OperationResult result) throws SchemaException
SchemaException
<T extends Containerable> SearchResultList<T> searchContainers(Class<T> type, ObjectQuery query, Collection<SelectorOptions<GetOperationOptions>> options, OperationResult result) throws SchemaException
SchemaException
void approveOrRejectWorkItem(String taskId, boolean decision, String comment, OperationResult parentResult) throws SecurityViolationException
taskId
- identifier of activiti task backing the work itemdecision
- true = approve, false = rejectcomment
- parentResult
- SecurityViolationException
void claimWorkItem(String workItemId, OperationResult result) throws ObjectNotFoundException, SecurityViolationException
void releaseWorkItem(String workItemId, OperationResult result) throws SecurityViolationException, ObjectNotFoundException
void stopProcessInstance(String instanceId, String username, OperationResult parentResult)
boolean isEnabled()
PrismContext getPrismContext()
void registerProcessListener(ProcessListener processListener)
void registerWorkItemListener(WorkItemListener workItemListener)
List<? extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectReferenceType> getApprovedBy(Task task, OperationResult result) throws SchemaException
SchemaException
boolean isCurrentUserAuthorizedToSubmit(com.evolveum.midpoint.xml.ns._public.common.common_3.WorkItemType workItem)
boolean isCurrentUserAuthorizedToClaim(com.evolveum.midpoint.xml.ns._public.common.common_3.WorkItemType workItem)
<T extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> void augmentTaskObject(PrismObject<T> object, Collection<SelectorOptions<GetOperationOptions>> options, Task task, OperationResult result)
<T extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> void augmentTaskObjectList(SearchResultList<PrismObject<T>> list, Collection<SelectorOptions<GetOperationOptions>> options, Task task, OperationResult result)
ChangesByState getChangesByState(com.evolveum.midpoint.xml.ns._public.common.common_3.TaskType rootTask, ModelInteractionService modelInteractionService, PrismContext prismContext, OperationResult result) throws SchemaException, ObjectNotFoundException
ChangesByState getChangesByState(com.evolveum.midpoint.xml.ns._public.common.common_3.TaskType childTask, com.evolveum.midpoint.xml.ns._public.common.common_3.TaskType rootTask, ModelInteractionService modelInteractionService, PrismContext prismContext, OperationResult result) throws SchemaException, ObjectNotFoundException
void synchronizeWorkflowRequests(OperationResult parentResult)
Copyright © 2016 evolveum. All rights reserved.