@Component public class DefaultWorkflowEventCreator extends Object implements WorkflowEventCreator
Constructor and Description |
---|
DefaultWorkflowEventCreator() |
Modifier and Type | Method and Description |
---|---|
WorkflowProcessEvent |
createWorkflowProcessEndEvent(PrismObject<? extends com.evolveum.midpoint.xml.ns.model.workflow.process_instance_state_3.ProcessInstanceState> instanceState,
OperationResult result) |
WorkflowProcessEvent |
createWorkflowProcessStartEvent(PrismObject<? extends com.evolveum.midpoint.xml.ns.model.workflow.process_instance_state_3.ProcessInstanceState> instanceState,
OperationResult result) |
WorkItemEvent |
createWorkItemCompleteEvent(String workItemName,
String assigneeOid,
PrismObject<? extends com.evolveum.midpoint.xml.ns.model.workflow.process_instance_state_3.ProcessInstanceState> instanceState,
String decision) |
WorkItemEvent |
createWorkItemCreateEvent(String workItemName,
String assigneeOid,
PrismObject<? extends com.evolveum.midpoint.xml.ns.model.workflow.process_instance_state_3.ProcessInstanceState> instanceState) |
void |
init() |
@PostConstruct public void init()
public WorkflowProcessEvent createWorkflowProcessStartEvent(PrismObject<? extends com.evolveum.midpoint.xml.ns.model.workflow.process_instance_state_3.ProcessInstanceState> instanceState, OperationResult result)
createWorkflowProcessStartEvent
in interface WorkflowEventCreator
public WorkflowProcessEvent createWorkflowProcessEndEvent(PrismObject<? extends com.evolveum.midpoint.xml.ns.model.workflow.process_instance_state_3.ProcessInstanceState> instanceState, OperationResult result)
createWorkflowProcessEndEvent
in interface WorkflowEventCreator
public WorkItemEvent createWorkItemCreateEvent(String workItemName, String assigneeOid, PrismObject<? extends com.evolveum.midpoint.xml.ns.model.workflow.process_instance_state_3.ProcessInstanceState> instanceState)
createWorkItemCreateEvent
in interface WorkflowEventCreator
public WorkItemEvent createWorkItemCompleteEvent(String workItemName, String assigneeOid, PrismObject<? extends com.evolveum.midpoint.xml.ns.model.workflow.process_instance_state_3.ProcessInstanceState> instanceState, String decision)
createWorkItemCompleteEvent
in interface WorkflowEventCreator
Copyright © 2015 evolveum. All rights reserved.