Package cdm.event.workflow.functions
Class Create_ProposedWorkflowStep
java.lang.Object
cdm.event.workflow.functions.Create_ProposedWorkflowStep
- All Implemented Interfaces:
com.rosetta.model.lib.functions.RosettaFunction
- Direct Known Subclasses:
Create_ProposedWorkflowStep.Create_ProposedWorkflowStepDefault
public abstract class Create_ProposedWorkflowStep
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 previousWorkflowStep, ActionEnum action, EventInstruction proposedEvent, List<? extends WorkflowStepApproval> approval) evaluate(MessageInformation messageInformation, List<? extends EventTimestamp> timestamp, List<? extends Identifier> eventIdentifier, List<? extends Party> party, List<? extends Account> account, WorkflowStep previousWorkflowStep, ActionEnum action, EventInstruction proposedEvent, List<? extends WorkflowStepApproval> approval) 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_ProposedWorkflowStep
public Create_ProposedWorkflowStep()
-
-
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 previousWorkflowStep, ActionEnum action, EventInstruction proposedEvent, List<? extends WorkflowStepApproval> approval) - Parameters:
messageInformation- Contains all information pertaining the messaging headertimestamp- 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.previousWorkflowStep- Optional previous WorkflowStep that provides lineage to WorkflowStep that precedes it.action- Specifies whether the event is new or a correction. The action cannot be a cancellation or new if the previous step is also new.proposedEvent- The proposed instruction for the step to initiate a workflow e.g. Clearing Instruction or Allocation Instructionapproval- The approval status of all parties on the proposed event.- Returns:
- proposedWorkflowStep Proposed WorkflowStep populated with the proposed instruction
-
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 previousWorkflowStep, ActionEnum action, EventInstruction proposedEvent, List<? extends WorkflowStepApproval> approval)
-