SAIF.Business.Policy.Affiliate operations and processes¶
This page catalogs the reusable operations implemented by SAIF.Business.Policy.Affiliate. Detailed step-by-step behavior lives in the operation pages under operations/.
Operation catalog¶
| Operation | Intent | Trigger | Inputs | Outputs | Rules | Tables | SQL |
|---|---|---|---|---|---|---|---|
| Retrieve an affiliate by SSN | Load one affiliate person record. | A caller supplies an affiliate SSN and needs the standalone person record. | IDataPortalInfo, affiliate SSN |
clsAffiliate |
BR-AFF-001, BR-AFF-002, BR-AFF-018, BR-AFF-020 | AFFILIATE | SQL-001 |
| Format an affiliate display name | Build an affiliate display name. | A caller needs the affiliate name rendered for display or comparison. | clsAffiliate state |
Formatted name string | BR-AFF-002 | AFFILIATE | N/A |
| Retrieve an interested party | Load one interested-party association. | A caller needs one interested-party association identified by policy, affiliate, and effective date. | IDataPortalInfo, affiliate SSN, policy number, effective date |
clsInterestedParty |
BR-AFF-001, BR-AFF-003, BR-AFF-004, BR-AFF-016, BR-AFF-017, BR-AFF-018, BR-AFF-019 | AFFILIATE, BUSINESS_AFFILIATE | SQL-004 |
| Retrieve interested parties for a policy | Load interested parties for a policy window. | A caller requests all interested parties that overlap a policy date window. | IDataPortalInfo, policy number, optional start date, optional end date |
clsInterestedPartyCollection |
BR-AFF-003, BR-AFF-005, BR-AFF-006, BR-AFF-007 | AFFILIATE, BUSINESS_AFFILIATE | SQL-005 |
| Filter interested parties active on a date | Filter interested parties by as-of date. | A caller narrows an interested-party sequence to those active on a given date. | Interested-party sequence, as-of date | Filtered IEnumerable(Of clsInterestedParty) |
BR-AFF-008 | N/A | N/A |
| Retrieve a policy preferred worker | Load one preferred-worker association. | A caller needs one preferred-worker association identified by policy, affiliate, and effective date. | IDataPortalInfo, affiliate SSN, policy number, effective date |
clsPolicyPreferredWorker |
BR-AFF-001, BR-AFF-004, BR-AFF-009, BR-AFF-017 | AFFILIATE, BUSINESS_AFFILIATE | SQL-006 |
| Load preferred-worker eligibility | Load the earliest qualifying eligibility row. | A preferred-worker eligibility property is read for the first time and the cached eligibility fields are empty. | Affiliate SSN, effective date, cancel date from the current preferred-worker object | Preferred-worker identifier, contract type, and eligibility dates | BR-AFF-010, BR-AFF-011, BR-AFF-012 | PREFERRED_WORKER | SQL-007 |
| Retrieve preferred workers for a policy | Load preferred workers for a policy window. | A caller requests all preferred workers that overlap a policy date window. | IDataPortalInfo, policy number, optional start date, optional end date |
clsPolicyPreferredWorkerCollection |
BR-AFF-005, BR-AFF-006, BR-AFF-009 | AFFILIATE, BUSINESS_AFFILIATE | SQL-008 |
| Retrieve a corporate officer exemption | Load one corporate officer exemption. | A caller needs one corporate officer exemption by sequence number. | IDataPortalInfo, exemption sequence number |
clsCorporateOfficerExemption |
BR-AFF-001, BR-AFF-018 | CORP_OFFICER_EXEMPTION | SQL-002 |
| Retrieve corporate officer exemptions for a policy | Load corporate officer exemptions for one policy. | A caller requests every corporate officer exemption attached to one policy. | IDataPortalInfo, policy number |
clsCorporateOfficerExemptionCollection |
BR-AFF-013, BR-AFF-018 | CORP_OFFICER_EXEMPTION | SQL-003 |
| Classify a corporate officer exemption | Classify exemption scope and officer linkage. | A caller inspects an exemption to determine whether it is person-specific, active, or associated with a retrievable affiliate person. | clsCorporateOfficerExemption state |
Boolean flags, optional clsAffiliate, and reason-description text |
BR-AFF-013, BR-AFF-014, BR-AFF-015, BR-AFF-016 | CORP_OFFICER_EXEMPTION | SQL-001, SQL-002 |
| Resolve a code description | Resolve a framework code description. | A caller reads an affiliate title, insured-code, or exemption-reason description property. | Portal context plus stored code value on the current object | Description string from the framework code collection | BR-AFF-016 | AFFILIATE_TITLE_CODE, INSURED_CODE, EXEMPT_REASON_CODE | N/A |
| Compare and locate affiliate associations | Compare identities and scan collections. | A caller checks equality, tests collection membership, removes an item, or formats an identity string for affiliate-related business objects. | Affiliate or association objects plus comparison keys | Boolean result, located item, removal, hash code, or display text | BR-AFF-017, BR-AFF-020 | AFFILIATE, BUSINESS_AFFILIATE | SQL-001 |
Process flow diagram¶
The following diagram shows how callers move through the library's major retrieval paths.
flowchart TD
Caller[Caller] --> Choice{Requested data}
Choice --> Aff[Affiliate person]
Choice --> Assoc[Interested party or preferred worker]
Choice --> Exempt[Corporate officer exemption]
Assoc --> Join[Joined BUSINESS_AFFILIATE + AFFILIATE SQL]
Assoc --> Elig[Optional lazy PREFERRED_WORKER lookup]
Exempt --> RS[Result-set retrieval]
Aff --> Oracle[(Oracle)]
Join --> Oracle
Elig --> Oracle
RS --> Oracle
Inherited operations and processes¶
From clsBusinessBase (SAIF.Framework.Core)¶
| Operation | Intent | Provided by | Origin | Embedded in |
|---|---|---|---|---|
| Edit lifecycle | Supplies begin-edit, cancel-edit, and apply-edit behavior for BOF business objects.* | clsBusinessBase |
SAIF.Framework.Core |
Retrieve an affiliate by SSN |
| Rule evaluation | Exposes broken-rule and validation behavior to BOF business objects.* | clsBusinessBase |
SAIF.Framework.Core |
Compare and locate affiliate associations |
From clsBusinessCollectionBase (SAIF.Framework.Core)¶
| Operation | Intent | Provided by | Origin | Embedded in |
|---|---|---|---|---|
| Collection traversal | Supplies current-item traversal behavior across BOF collections.* | clsBusinessCollectionBase |
SAIF.Framework.Core |
Retrieve interested parties for a policy |
| Collection validation surface | Exposes collection-level validation state to data-binding consumers.* | clsBusinessCollectionBase |
SAIF.Framework.Core |
Retrieve preferred workers for a policy |
Database interactions¶
| Operation | SQL | Tables | Type |
|---|---|---|---|
| Retrieve an affiliate by SSN | Load one affiliate person record. | AFFILIATE | Read |
| Retrieve an interested party | Load one interested-party association. | BUSINESS_AFFILIATE, AFFILIATE | Read |
| Retrieve interested parties for a policy | Load interested parties for a policy window. | BUSINESS_AFFILIATE, AFFILIATE | Read |
| Retrieve a policy preferred worker | Load one preferred-worker association. | BUSINESS_AFFILIATE, AFFILIATE | Read |
| Load preferred-worker eligibility | Load the earliest qualifying eligibility row. | PREFERRED_WORKER | Read |
| Retrieve preferred workers for a policy | Load preferred workers for a policy window. | BUSINESS_AFFILIATE, AFFILIATE | Read |
| Retrieve a corporate officer exemption | Load one corporate officer exemption. | CORP_OFFICER_EXEMPTION | Read |
| Retrieve corporate officer exemptions for a policy | Load corporate officer exemptions for one policy. | CORP_OFFICER_EXEMPTION | Read |
Failure and edge-case behavior¶
- Missing keyed rows return default-initialized business objects instead of raising not-found exceptions.
- Preferred-worker eligibility properties cache sentinel values when no covering eligibility row exists.
- All criteria classes reject persistence-oriented SQL property access, so no operation in this library can save changes back to the database.
Related documentation¶
- Index
- Overview
- Architecture
- Dependencies
- Business rules
- Database tables
- SQL catalog
- API reference
- Configuration
Note: Statements marked with * were inferred from code structure, naming conventions, or contextual evidence where direct confirmation was not available in source artifacts. Statements marked with ** could not be confirmed; treat as unknown until verified.
Sources¶
Business\SAIF.Business.Policy.Affiliate\clsAffiliate.vbBusiness\SAIF.Business.Policy.Affiliate\clsPolicyAffiliateBase.vbBusiness\SAIF.Business.Policy.Affiliate\clsPolicyAffiliateBaseCollection.vbBusiness\SAIF.Business.Policy.Affiliate\clsInterestedParty.vbBusiness\SAIF.Business.Policy.Affiliate\clsInterestedPartyCollection.vbBusiness\SAIF.Business.Policy.Affiliate\clsPolicyPreferredWorker.vbBusiness\SAIF.Business.Policy.Affiliate\clsPolicyPreferredWorkerCollection.vbBusiness\SAIF.Business.Policy.Affiliate\clsCorporateOfficerExemption.vbBusiness\SAIF.Business.Policy.Affiliate\clsCorporateOfficerExemptionCollection.vb