Package cdm.event.workflow.functions
Class Create_AcceptedWorkflowStep
java.lang.Object
cdm.event.workflow.functions.Create_AcceptedWorkflowStep
- All Implemented Interfaces:
com.rosetta.model.lib.functions.RosettaFunction
- Direct Known Subclasses:
Create_AcceptedWorkflowStep.Create_AcceptedWorkflowStepDefault
public abstract class Create_AcceptedWorkflowStep
extends Object
implements com.rosetta.model.lib.functions.RosettaFunction
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected com.rosetta.model.lib.functions.ConditionValidatorprotected com.rosetta.model.lib.functions.ModelObjectValidator -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract WorkflowStep.WorkflowStepBuilderdoEvaluate(MessageInformation messageInformation, List<? extends EventTimestamp> timestamp, List<? extends Identifier> eventIdentifier, List<? extends Party> party, List<? extends Account> account, WorkflowStep proposedWorkflowStep, BusinessEvent businessEvent) evaluate(MessageInformation messageInformation, List<? extends EventTimestamp> timestamp, List<? extends Identifier> eventIdentifier, List<? extends Party> party, List<? extends Account> account, WorkflowStep proposedWorkflowStep, BusinessEvent businessEvent) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.rosetta.model.lib.functions.RosettaFunction
toBuilder, toBuilder, toBuilder
-
Field Details
-
conditionValidator
@Inject protected com.rosetta.model.lib.functions.ConditionValidator conditionValidator -
objectValidator
@Inject protected com.rosetta.model.lib.functions.ModelObjectValidator objectValidator
-
-
Constructor Details
-
Create_AcceptedWorkflowStep
public Create_AcceptedWorkflowStep()
-
-
Method Details
-
evaluate
public WorkflowStep evaluate(MessageInformation messageInformation, List<? extends EventTimestamp> timestamp, List<? extends Identifier> eventIdentifier, List<? extends Party> party, List<? extends Account> account, WorkflowStep proposedWorkflowStep, BusinessEvent businessEvent) - Parameters:
messageInformation- Contains all information pertaining the messaging header.timestamp- The dateTime and qualifier associated with this event.eventIdentifier- The identifiers that uniquely identify this lifecycle event.party- The specification of the parties involved in the WorkflowStep.account- Optional account information that could be associated to the event.proposedWorkflowStep- Required previous WorkflowStep that provides lineage to WorkflowStep that precedes it.businessEvent- Life cycle event for the step- Returns:
- acceptedWorkflowStep Accepted WorkflowStep populated with the business event and associated details about the message, identifiers, event timestamps, parties and accounts involved in the step.
-
doEvaluate
protected abstract WorkflowStep.WorkflowStepBuilder doEvaluate(MessageInformation messageInformation, List<? extends EventTimestamp> timestamp, List<? extends Identifier> eventIdentifier, List<? extends Party> party, List<? extends Account> account, WorkflowStep proposedWorkflowStep, BusinessEvent businessEvent)
-