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
  • 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 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.
      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 Instruction
      approval - 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)