Class BundlerRequirementsHelper
java.lang.Object
overit.geocallapp.wfm.bundler.bl.bundleRequirement.BundlerRequirementsHelper
Utility for adding bundler requirements data to database views.
This helper adds three columns (MANDATORY, EXCLUDED, PREFERRED) to a DBView containing operation IDs,
and populates them with requirement information retrieved from bundler operations.
- Since:
- 22.0
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidloadBundleRequirement(PooledConnection pc, Long idBundle, HashGetter bundlerData) Loads the bundle requirement for the given bundle id and puts the result into the given bundler data.
-
Field Details
-
MANDATORY_RESOURCE_COLUMN
- See Also:
-
EXCLUDED_RESOURCE_COLUMN
- See Also:
-
PREFERRED_RESOURCE_COLUMN
- See Also:
-
MANDATORY_TEAM_COLUMN
- See Also:
-
-
Constructor Details
-
BundlerRequirementsHelper
public BundlerRequirementsHelper()
-
-
Method Details
-
loadBundleRequirement
public void loadBundleRequirement(PooledConnection pc, Long idBundle, HashGetter bundlerData) throws DAValidateException, DAException Loads the bundle requirement for the given bundle id and puts the result into the given bundler data.- Parameters:
pc- thePooledConnectionidBundle- the bundle idbundlerData- the bundler data- Throws:
DAValidateException- the DA validate exceptionDAException- the DA exception
-