Class WorkloadMovementProvider
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 -
Method Summary
Modifier and TypeMethodDescriptionprotected 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 voidvalidateFactor(overit.geocall.wfm.planning.bl.valuemovement.provider.factor.ValueMovementProviderFactor factor) Validates the provided factor.
-
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.ValueMovementProviderFinds timed values based on the given factor.- Specified by:
findTimedValuesin interfaceoverit.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 failsDAException- 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 factorpoolKit- the pool kit- Returns:
- a list of timed values matching the factor
- Throws:
DAValidateException- if validation failsDAException- 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 filterpoolKit- the pool kit- Returns:
- a list of workload movements
- Throws:
DAValidateException- if validation failsDAException- if a data access error occurs
-