java.lang.Object
overit.geocallapp.wfm.roughplanning.bl.workloadmovement.validation.WorkloadMovementValidator
All Implemented Interfaces:
overit.geocall.wfm.planning.bl.valuemovement.validation.ValueMovementValidator

public class WorkloadMovementValidator extends Object implements overit.geocall.wfm.planning.bl.valuemovement.validation.ValueMovementValidator
Validator for workload movement operations. This implementation extends the base validator without adding additional validations for the moment.
Since:
20.0
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    doValidate(overit.geocall.wfm.planning.bl.valuemovement.problem.ValueMovementProblem problem, overit.geocall.wfm.planning.bl.valuemovement.validation.ValidationResult result)
    Template method to be implemented by concrete validators.
    overit.geocall.wfm.planning.bl.valuemovement.validation.ValidationResult
    validate(overit.geocall.wfm.planning.bl.valuemovement.problem.ValueMovementProblem problem)
    Validates a value movement problem.
    protected void
    validateDestinationRange(overit.geocall.wfm.planning.bl.valuemovement.problem.ValueMovementProblem problem, overit.geocall.wfm.planning.bl.valuemovement.validation.ValidationResult result)
    Validates the destination range.
    protected void
    validateSourceTimedValues(overit.geocall.wfm.planning.bl.valuemovement.problem.ValueMovementProblem problem, overit.geocall.wfm.planning.bl.valuemovement.validation.ValidationResult result)
    Validates the source timed values.
    protected void
    validateValueAmountToMove(overit.geocall.wfm.planning.bl.valuemovement.problem.ValueMovementProblem problem, overit.geocall.wfm.planning.bl.valuemovement.validation.ValidationResult result)
    Validates the value amount to move.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • WorkloadMovementValidator

      public WorkloadMovementValidator()
  • Method Details

    • validate

      public overit.geocall.wfm.planning.bl.valuemovement.validation.ValidationResult validate(overit.geocall.wfm.planning.bl.valuemovement.problem.ValueMovementProblem problem)
      Description copied from interface: overit.geocall.wfm.planning.bl.valuemovement.validation.ValueMovementValidator
      Validates a value movement problem.
      Specified by:
      validate in interface overit.geocall.wfm.planning.bl.valuemovement.validation.ValueMovementValidator
      Parameters:
      problem - the problem to validate
      Returns:
      the result of the validation
    • validateSourceTimedValues

      protected void validateSourceTimedValues(overit.geocall.wfm.planning.bl.valuemovement.problem.ValueMovementProblem problem, overit.geocall.wfm.planning.bl.valuemovement.validation.ValidationResult result)
      Validates the source timed values.
      Parameters:
      problem - the problem to validate
      result - the validation result to populate
    • validateValueAmountToMove

      protected void validateValueAmountToMove(overit.geocall.wfm.planning.bl.valuemovement.problem.ValueMovementProblem problem, overit.geocall.wfm.planning.bl.valuemovement.validation.ValidationResult result)
      Validates the value amount to move.
      Parameters:
      problem - the problem to validate
      result - the validation result to populate
    • validateDestinationRange

      protected void validateDestinationRange(overit.geocall.wfm.planning.bl.valuemovement.problem.ValueMovementProblem problem, overit.geocall.wfm.planning.bl.valuemovement.validation.ValidationResult result)
      Validates the destination range.
      Parameters:
      problem - the problem to validate
      result - the validation result to populate
    • doValidate

      protected void doValidate(overit.geocall.wfm.planning.bl.valuemovement.problem.ValueMovementProblem problem, overit.geocall.wfm.planning.bl.valuemovement.validation.ValidationResult result)
      Template method to be implemented by concrete validators.
      Parameters:
      problem - the problem to validate
      result - the validation result to populate