clsPolicyHeaderAssociationFactory¶
clsPolicyHeaderAssociationFactory is the entry point consumers use to obtain display-ready associations. Given a policy it resolves the applicable association types, invokes each type's source procedure, and returns the combined result; given an explicit list of types it restricts itself to those, which is how a consumer avoids paying for association kinds it will not show.
Purpose¶
- Produces the policy-header associations for a policy across all applicable types (Resolve policy-header associations).
- Restricts the work to a supplied set of association types (BR-021).
Context¶
- Namespace:
SAIF.Business.View.Policy - Assembly/package:
SAIF.BOF.Business.View.Policy - Declared in:
Business/SAIF.Business.View.Policy/Associations/clsPolicyAssociationFactory.vb
Public members¶
| Member | Signature | Purpose |
|---|---|---|
| GetPolicyHeaderAssociations | Public Shared Function GetPolicyHeaderAssociations(ByVal inDPI As IDataPortalInfo, ByVal inPolicyNumber As Decimal) As IEnumerable(Of IPolicyHeaderAssociation) |
Builds the header associations of a policy across every applicable association type (Resolve policy-header associations). |
| GetPolicyHeaderAssociations | Public Shared Function GetPolicyHeaderAssociations(ByVal inDPI As IDataPortalInfo, ByVal inPolicyNumber As Decimal, ByVal inTargetAssociationTypes As IEnumerable(Of IPolicyAssociationType)) … |
Builds the header associations of a policy restricted to the supplied association types (Resolve policy-header associations). |
| GetPolicyHeaderAssociations | Public Shared Function GetPolicyHeaderAssociations(ByVal inPolicyNumber As Decimal, ByVal inAssociations As IEnumerable(Of IPolicyAssociationType)) As IEnumerable(Of IPolicyHeaderAssociation) |
Builds the header associations of a policy from association types the caller has already resolved, avoiding a second code-table read.* |
Note: Statements marked with
†are derived from dependency library documentation via the Legends CLI. Statements marked with*were inferred from code structure or contextual evidence. Statements marked with**could not be confirmed; treat as unknown until verified.
Sources¶
Business/SAIF.Business.View.Policy/Associations/clsPolicyAssociationFactory.vb