Skip to content

clsMaintenanceManager

clsMaintenanceManager drives the attorney-profile maintenance screen: listing existing attorney profiles, inserting new ones, saving edits, and producing a PDF/XML attorney-profile report. It inherits LegalManagerBase (this library) → ClaimAppManager (SAIF.Application.Claim), so it participates in the shared case-context and claim-visibility security gate, but it is scoped to reference/administrative attorney data rather than a specific legal case.

Purpose

  • List all attorney profiles for the maintenance screen's grid view.
  • Insert new attorney profile records and persist edits to existing ones.
  • Produce a PDF/XML attorney-profile report for printing/export.

Context

  • Namespace: SAIF.Application.Claim.Legal
  • Assembly/package: SAIF.Application.Claim.Legal.dll (embedded library, referenced by the Legal web front end)

Public members

Member Signature Purpose
New(inDatabase, inSecurityPrincipal) Public Sub New(inDatabase As String, inSecurityPrincipal As clsSecurityPrincipal) Constructs the manager for the given database context and authenticated principal, calling into LegalManagerBase.New.
AllAttorneyCol Public ReadOnly Property AllAttorneyCol As clsAttorneyProfileCollection* Exposes the full attorney-profile collection backing the maintenance grid.
InsertAttorney() Public Sub InsertAttorney()* Adds a new attorney profile to AllAttorneyCol for subsequent editing and save.
Save() Public Overrides Function Save() As Boolean* Persists pending attorney-profile inserts/edits via the inherited clsBusinessBase.Save() dispatch path.
GetAttorneyProfileReport() Public Function GetAttorneyProfileReport() As String* Produces the PDF/XML attorney-profile report content for printing/export.

Behavioral notes

  • clsMaintenanceManager inherits LegalManagerBase → ClaimAppManager (SAIF.Application.Claim); it participates in the shared case-context/security lifecycle without being scoped to a single case*.
  • As with all Legal AppManagers, save behavior funnels through the inherited OnWrite() override pattern rather than issuing SQL directly from this class*.

Constraints and usage notes

  • This manager operates on reference/administrative attorney data rather than a specific legal case; some inherited LegalManagerBase case-context members may be unused in this workflow**.

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

  • SAIF.Application.Claim.Legal\clsMaintenanceManager.vb