Retrieve hazard groups effective on a date¶
Retrieve hazard groups effective on a date.
| Field | Value |
|---|---|
| Operation ID | OP-009 |
| Trigger | A caller requests hazard groups for an effective date. |
| Inputs | IDataPortalInfo, effective date |
| Outputs | clsHazardGroupCollection |
| Primary components | clsHazardGroupCollection |
| Entry point | Business\SAIF.Business.Policy\clsHazardGroupCollection.vb |
Steps¶
- Construct the collection criteria object and delegate retrieval to the BOF data-access layer.
- In
BeforeRetrieve, assign SQL-002 and bindEffectiveDateagainst HAZARD_GROUP. - After execution, iterate the returned reader and load one
clsHazardGroupper row. - Return the populated collection with editing disabled so the data remains read-only.
-
Origin: Retrieval orchestration and object lifecycle callbacks are supplied by
SAIF.Framework.Core. - Apply related business rules: BR-POL-011, BR-POL-012
Process flow¶
The following diagram visualizes the main control flow for this operation.
flowchart TD
Start([Trigger]) --> Work[Execute operation steps]
Work --> Done([Return result])
Failure and edge-case behavior¶
- Business rules are cross-referenced from the catalog page and the SQL or procedure logic cited in these steps.
- Database and procedure failures surface according to the underlying implementation path.
Related documentation¶
Sources¶
Business\SAIF.Business.Policy\clsHazardGroupCollection.vb