Interface MutableDecisionState

All Superinterfaces:
DecisionState
All Known Implementing Classes:
DbDecisionState

public interface MutableDecisionState extends DecisionState
  • Method Details

    • storeDecisionRecord

      void storeDecisionRecord(DecisionRecord record)
      Put the given decision in the state. Update the latest version of the decision if it is newer.
      Parameters:
      record - the record of the decision
    • storeDecisionRequirements

      void storeDecisionRequirements(DecisionRequirementsRecord record)
      Put the given decision requirements (DRG) in the state. Update the latest version of the DRG if it is newer.
      Parameters:
      record - the record of the DRG
    • deleteDecision

      void deleteDecision(DecisionRecord record)
      Deletes a decision from the state. Updates the latest version of the decision if the deleted version is the latest version and a previous version is available.
      Parameters:
      record - the record of the decision
    • deleteDecisionRequirements

      void deleteDecisionRequirements(DecisionRequirementsRecord record)
      Deletes a decision requirements from the state. Updates the latest version of the decision requirements if the deleted version is the latest version and a previous version is available.
      Parameters:
      record - the record of the decision requirements