Skip to content

SAIF.Application.Claim.Legal operations and processes

This page is the operation catalog and cross-operation hub for this library. Each operation's detailed logic lives in its own page under operations/.

Operation catalog

Operation Intent Trigger Inputs Outputs Rules Tables SQL
LegalManagerBase.OnContextChanged Resolve legal case context Context or identifier changes. Current manager state and workflow-specific inputs Case list and current case are rebuilt. BR-011 See operation detail SQL-009
LegalManagerBase.OnRetrieve Apply confidential-claim security A manager retrieves claim-backed legal data. Current manager state and workflow-specific inputs Claim view is allowed or blocked. BR-001; BR-002; BR-003 See operation detail —
LegalManagerBase.insertLetterRequest Queue a LegalNet letter A workflow needs a database-backed letter request. Current manager state and workflow-specific inputs Stored procedure request number returned. BR-020 See operation detail SQL-001
LegalManagerBase consolidated-case propagation Propagate primary-case changes A primary consolidated case changes shared state. Current manager state and workflow-specific inputs Secondary cases are updated to match. BR-021 See operation detail —
clsAttorneyTableManager maintenance workflow Maintain attorney tables Attorney-table screen loads or saves. Current manager state and workflow-specific inputs Updated child collections, AJAX output, and reports. BR-030; BR-031 See operation detail SQL-002; SQL-003; SQL-004; SQL-005; SQL-006; SQL-007
clsLegalPersonManager maintenance workflow Maintain legal persons and firms Person-maintenance screen loads or saves. Current manager state and workflow-specific inputs Updated person, type, and firm collections. BR-040; BR-041 See operation detail SQL-010; SQL-011; SQL-012
clsHearingLocationManager maintenance workflow Maintain hearing locations Location-maintenance screen loads or edits a location. Current manager state and workflow-specific inputs Updated location rows and invalidated cache. BR-031; BR-050; BR-051 See operation detail SQL-008
clsMaintenanceManager profile maintenance Maintain attorney profiles Profile-maintenance screen loads or saves. Current manager state and workflow-specific inputs Reloaded profile lists and report output. BR-060 See operation detail —
clsRequestManager.OnWrite Save hearing request Request workflow commits changes. Current manager state and workflow-specific inputs Tasks, notes, consolidation work, and optional recon letter. BR-070; BR-071; BR-072 See operation detail SQL-001
clsScheduleManager.PreSaveProcessing / PostSaveProcessing Apply schedule side effects Schedule workflow saves a schedule. Current manager state and workflow-specific inputs Transitions, DEF print, and DEF email handling. BR-080; BR-081; BR-082 See operation detail SQL-017
clsOutcomeManager.CloseCase Close legal case Outcome workflow closes the current case. Current manager state and workflow-specific inputs Closed status, RECRD file location, and close tasks. BR-090; BR-091 See operation detail SQL-016
clsCreateFileManager / clsMailDateManager.OnWrite Submit LegalNet letter batch Create-file or mail-date workflow saves. Current manager state and workflow-specific inputs Committed transaction and Appworx batch submission. BR-100 See operation detail —
clsAssignmentManager.RunAssignmentProcess Run assignment process User or job starts the assignment batch. Current manager state and workflow-specific inputs Assignment results plus commit or rollback. BR-110 See operation detail —
clsCaseSearchManager.GetSearchResults Run secured case search Case-search screen submits criteria. Current manager state and workflow-specific inputs Filtered search result set and report data. BR-004 See operation detail —
clsCaseNotesManager.DeleteNote Delete case note safely A delete is requested for a case note. Current manager state and workflow-specific inputs Delete succeeds only when restrictions allow it. BR-120; BR-121 See operation detail —

Process flow diagram

The following diagram shows the common library flow from context resolution to security gating and workflow execution.

flowchart TD
  Start([Caller sets context]) --> Context[Resolve claim and legal case]
  Context --> Gate[Apply retrieve security]
  Gate --> Work["Run manager-specific load or<br>save"]
  Work --> SideEffects["Tasks letters email batch<br>jobs"]
  SideEffects --> End([Return results and messages])

Database interactions

The following table summarizes which documented operations execute direct SQL or package calls from this library.

Operation SQL Tables Type
LegalManagerBase.OnContextChanged SQL-009 Stored procedure body opaque Read
LegalManagerBase.insertLetterRequest SQL-001 Stored procedure body opaque Write
clsAttorneyTableManager maintenance workflow SQL-002; SQL-003; SQL-004; SQL-005; SQL-006; SQL-007 ADP_EMPLOYEE; ATTORNEY_PROFILE; HEARING_LOCATION_CODE; POLICY; LEGAL_CODE_TABLE; LEGAL_PERSON; LEGAL_PERSON_TYPE Read
clsLegalPersonManager maintenance workflow SQL-010; SQL-011; SQL-012 OTHER_FIRM_TYPE_CODE; LEGAL_CODE_TABLE; LEGAL_PERSON_TYPE_CODE Read
clsHearingLocationManager maintenance workflow SQL-008 HEARING_LOCATION_CODE Read
clsRequestManager.OnWrite SQL-001 Stored procedure body opaque Write
clsScheduleManager.PreSaveProcessing / PostSaveProcessing SQL-017 DUAL Read
clsOutcomeManager.CloseCase SQL-016 APPEAL; REVIEW_LEVEL_CODE; DUAL Read

Failure and edge-case behavior

  • Context resolution leaves the manager without a current case when no claim, WCB, or DCBS match can be found.
  • Confidential and exposure claims are blocked for callers lacking the required entitlements.
  • Request, schedule, note, and close workflows surface workflow-specific validation or restriction messages instead of silently ignoring failures.

Stored procedure operations

Operations implemented in Oracle package members referenced by this library.

Operation Description Source Link
LegalManagerBase.insertLetterRequest Queue a LegalNet letter request and return its request number. pk80001_LEGALNET.insertLetterRequest Details
LegalManagerBase.OnContextChanged Load legal-case header data while creating or selecting the current case. pk80001_legalNet.getHeader Details
clsScheduleManager.PreSaveProcessing / PostSaveProcessing Resolve the attorney manager email before sending DEF notification. pk80001_LEGALNET.get_atty_mngr_email Details

Sources

  • SAIF.Application.Claim.Legal\LegalManagerBase.vb
  • SAIF.Application.Claim.Legal\clsAttorneyTableManager.vb
  • SAIF.Application.Claim.Legal\clsLegalPersonManager.vb
  • SAIF.Application.Claim.Legal\clsHearingLocationManager.vb
  • SAIF.Application.Claim.Legal\clsMaintenanceManager.vb
  • SAIF.Application.Claim.Legal\clsLegalData.vb
  • SAIF.Application.Claim.Legal\LegalNet\clsAssignmentManager.vb
  • SAIF.Application.Claim.Legal\LegalNet\clsCaseNotesManager.vb
  • SAIF.Application.Claim.Legal\LegalNet\clsCaseSearchManager.vb
  • SAIF.Application.Claim.Legal\LegalNet\clsCreateFileManager.vb
  • SAIF.Application.Claim.Legal\LegalNet\clsMailDateManager.vb
  • SAIF.Application.Claim.Legal\LegalNet\clsOutcomeManager.vb
  • SAIF.Application.Claim.Legal\LegalNet\clsRequestManager.vb
  • SAIF.Application.Claim.Legal\LegalNet\clsScheduleManager.vb