public interface ChangeProcessor
Modifier and Type | Method and Description |
---|---|
MiscDataUtil |
getMiscDataUtil()
Auxiliary method to access autowired Spring beans from within non-spring java objects.
|
PrismContext |
getPrismContext() |
void |
onProcessEnd(ProcessEvent event,
WfTask wfTask,
OperationResult result)
Handles an event from WfMS that indicates finishing of the workflow process instance.
|
AuditEventRecord |
prepareProcessInstanceAuditRecord(WfTask wfTask,
AuditEventStage stage,
Map<String,Object> variables,
OperationResult result)
Prepares a process instance-related audit record.
|
AuditEventRecord |
prepareWorkItemAuditRecord(com.evolveum.midpoint.xml.ns._public.common.common_3.WorkItemType workItem,
WfTask wfTask,
TaskEvent taskEvent,
AuditEventStage stage,
OperationResult result)
Prepares a work item-related audit record.
|
HookOperationMode |
processModelInvocation(ModelContext context,
com.evolveum.midpoint.xml.ns._public.common.common_3.WfConfigurationType wfConfigurationType,
Task taskFromModel,
OperationResult result)
Processes workflow-related aspect of a model operation.
|
HookOperationMode processModelInvocation(ModelContext context, com.evolveum.midpoint.xml.ns._public.common.common_3.WfConfigurationType wfConfigurationType, Task taskFromModel, OperationResult result) throws SchemaException, ObjectNotFoundException
context
- Model context of the operation.wfConfigurationType
- taskFromModel
- Task in context of which the operation is carried out.result
- Where to put information on operation execution.SchemaException
ObjectNotFoundException
void onProcessEnd(ProcessEvent event, WfTask wfTask, OperationResult result) throws SchemaException, ObjectAlreadyExistsException, ObjectNotFoundException
event
- wfTask
- result
- Here should be stored information about whether the finalization was successful or notSchemaException
ObjectAlreadyExistsException
ObjectNotFoundException
AuditEventRecord prepareProcessInstanceAuditRecord(WfTask wfTask, AuditEventStage stage, Map<String,Object> variables, OperationResult result)
wfTask
- stage
- variables
- result
- AuditEventRecord prepareWorkItemAuditRecord(com.evolveum.midpoint.xml.ns._public.common.common_3.WorkItemType workItem, WfTask wfTask, TaskEvent taskEvent, AuditEventStage stage, OperationResult result) throws WorkflowException
workItem
- wfTask
- taskEvent
- stage
- result
- WorkflowException
MiscDataUtil getMiscDataUtil()
PrismContext getPrismContext()
Copyright © 2016 evolveum. All rights reserved.