java.lang.Object
overit.geocallapp.wfm.roughplanning.bl.workloadmovement.provider.WorkloadMovementProvider
All Implemented Interfaces:
overit.geocall.wfm.planning.bl.valuemovement.provider.ValueMovementProvider

public class WorkloadMovementProvider extends Object implements overit.geocall.wfm.planning.bl.valuemovement.provider.ValueMovementProvider
Provider for workload movements. This implementation uses the WorkloadDistributionSearchEvent to retrieve workload movements based on the provided factor.
Since:
20.0
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected List<overit.geocall.wfm.planning.bl.valuemovement.TimedValue>
    doFindTimedValues(overit.geocall.wfm.planning.bl.valuemovement.provider.factor.ValueMovementProviderFactor factor, PoolKit poolKit)
    Template method to be implemented by concrete providers.
    List<overit.geocall.wfm.planning.bl.valuemovement.TimedValue>
    findTimedValues(overit.geocall.wfm.planning.bl.valuemovement.provider.factor.ValueMovementProviderFactor factor, PoolKit poolKit)
    Finds timed values based on the given factor.
    protected List<overit.geocall.wfm.planning.bl.valuemovement.TimedValue>
    searchWorkloadDistributions(overit.geocall.wfm.planning.bl.valuemovement.provider.factor.ValueMovementProviderFactor filter, PoolKit poolKit)
    Searches for workloads using the provided filter.
    protected void
    validateFactor(overit.geocall.wfm.planning.bl.valuemovement.provider.factor.ValueMovementProviderFactor factor)
    Validates the provided factor.

    Methods inherited from class java.lang.Object

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

    • WorkloadMovementProvider

      public WorkloadMovementProvider()
  • Method Details

    • findTimedValues

      public List<overit.geocall.wfm.planning.bl.valuemovement.TimedValue> findTimedValues(overit.geocall.wfm.planning.bl.valuemovement.provider.factor.ValueMovementProviderFactor factor, PoolKit poolKit) throws DAValidateException, DAException
      Description copied from interface: overit.geocall.wfm.planning.bl.valuemovement.provider.ValueMovementProvider
      Finds timed values based on the given factor.
      Specified by:
      findTimedValues in interface overit.geocall.wfm.planning.bl.valuemovement.provider.ValueMovementProvider
      Parameters:
      factor - the factor to search for
      Returns:
      a list of timed values matching the factor content
      Throws:
      DAValidateException - if validation fails
      DAException - if a data access error occurs
    • validateFactor

      protected void validateFactor(overit.geocall.wfm.planning.bl.valuemovement.provider.factor.ValueMovementProviderFactor factor) throws DAValidateException
      Validates the provided factor.
      Parameters:
      factor - the factor to validate
      Throws:
      DAValidateException - if validation fails
    • doFindTimedValues

      protected List<overit.geocall.wfm.planning.bl.valuemovement.TimedValue> doFindTimedValues(overit.geocall.wfm.planning.bl.valuemovement.provider.factor.ValueMovementProviderFactor factor, PoolKit poolKit) throws DAValidateException, DAException
      Template method to be implemented by concrete providers.
      Parameters:
      factor - the validated factor
      poolKit - the pool kit
      Returns:
      a list of timed values matching the factor
      Throws:
      DAValidateException - if validation fails
      DAException - if a data access error occurs
    • searchWorkloadDistributions

      protected List<overit.geocall.wfm.planning.bl.valuemovement.TimedValue> searchWorkloadDistributions(overit.geocall.wfm.planning.bl.valuemovement.provider.factor.ValueMovementProviderFactor filter, PoolKit poolKit) throws DAValidateException, DAException
      Searches for workloads using the provided filter.
      Parameters:
      filter - the search filter
      poolKit - the pool kit
      Returns:
      a list of workload movements
      Throws:
      DAValidateException - if validation fails
      DAException - if a data access error occurs