Skip to content

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

  1. Construct the collection criteria object and delegate retrieval to the BOF data-access layer.
  2. In BeforeRetrieve, assign SQL-002 and bind EffectiveDate against HAZARD_GROUP.
  3. After execution, iterate the returned reader and load one clsHazardGroup per row.
  4. Return the populated collection with editing disabled so the data remains read-only.
  5. Origin: Retrieval orchestration and object lifecycle callbacks are supplied by SAIF.Framework.Core.

  6. 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.

Sources

  • Business\SAIF.Business.Policy\clsHazardGroupCollection.vb