@Implementable
@AccessLevel(value=EXTERNAL)
public abstract class ReassessEligibilityHook
extends java.lang.Object
Constructor and Description |
---|
ReassessEligibilityHook() |
Modifier and Type | Method and Description |
---|---|
curam.core.struct.CompleteDecisionCreationList |
filterNewCaseDecisions(curam.core.struct.OverUnderPaymentIn overUnderPaymentIn,
curam.core.struct.CompleteDecisionCreationList newCaseDecisions,
curam.core.struct.CompleteDecisionCreationList existingCaseDecisions)
Hook point called during the CaseReassessment.reassessFCs() method.
|
curam.core.struct.CaseDecisionDtlsList |
listCaseDecisionsForRegenerateFinancials(curam.core.struct.RegenerateCaseFinancialsKey key)
Hook point called during the AssessmentEngine.regenerateFinancials()
method.
|
ReassessEligibilityHookResult |
reassessEligibility(curam.core.struct.DetermineEligibilityKey key,
boolean alwaysStoreResult)
Hook point called during the AssessmentEngine.reassessEligibility() method.
|
boolean |
stopFinancialProcessing(curam.core.struct.OverUnderPaymentIn overUnderPaymentIn,
curam.core.struct.CompleteDecisionCreationList newCaseDecisions,
curam.core.struct.CompleteDecisionCreationList existingCaseDecisions)
Hook point called during the CaseReassessment.reassessFCs() method.
|
public ReassessEligibilityHookResult reassessEligibility(curam.core.struct.DetermineEligibilityKey key, boolean alwaysStoreResult) throws curam.util.exception.InformationalException, curam.util.exception.AppException
key
- Details of the eligibility reassessment to performalwaysStoreResult
- Whether or not to always store the resultcuram.util.exception.AppException
- Generic Exception SignatureInformationException
- Generic Exception Signaturecuram.util.exception.InformationalException
curam.core.sl.infrastructure.assessment.impl.ReassessEligiblityHookResult
public boolean stopFinancialProcessing(curam.core.struct.OverUnderPaymentIn overUnderPaymentIn, curam.core.struct.CompleteDecisionCreationList newCaseDecisions, curam.core.struct.CompleteDecisionCreationList existingCaseDecisions) throws curam.util.exception.AppException, curam.util.exception.InformationalException
overUnderPaymentIn
- Contains reassessment details such as caseID, productID, cover period etc.newCaseDecisions
- Contains the new case decisions generated by the current assessmentexistingCaseDecisions
- Contains the case decisions that existed prior to the current assessmentTRUE
if the processing should stop after storing
determinations & decisions and prior to performing any financial
calculations, otherwise FALSE
.curam.util.exception.AppException
- Generic Exception SignatureInformationException
- Generic Exception Signaturecuram.util.exception.InformationalException
public curam.core.struct.CompleteDecisionCreationList filterNewCaseDecisions(curam.core.struct.OverUnderPaymentIn overUnderPaymentIn, curam.core.struct.CompleteDecisionCreationList newCaseDecisions, curam.core.struct.CompleteDecisionCreationList existingCaseDecisions) throws curam.util.exception.AppException, curam.util.exception.InformationalException
This allows implementers to perform custom processing at this point to decide whether or not to filter any of the new decision created by the current reassessment, before those decisions are used in the payment/decision reconciliation process (i.e. used to generate new financial components and/or over/underpayments).
It is the responsibility of implementers to ensure that the list of decisions returned from this method is contiguous, i.e. if any decisions are filtered out, one of the adjacent decisions must be extended to fill in the period removed. This ensures that active decisions exist for the full period of the reassessment.
overUnderPaymentIn
- Contains reassessment details such as caseID, productID, cover period etc.newCaseDecisions
- Contains the new case decisions generated by the current assessmentexistingCaseDecisions
- Contains the case decisions that existed prior to the current assessmentcuram.util.exception.AppException
- Generic Exception SignatureInformationException
- Generic Exception Signaturecuram.util.exception.InformationalException
public curam.core.struct.CaseDecisionDtlsList listCaseDecisionsForRegenerateFinancials(curam.core.struct.RegenerateCaseFinancialsKey key) throws curam.util.exception.AppException, curam.util.exception.InformationalException
This allows implementers to perform custom processing at this point to decide whether or not to override the default list of decisions, before those decisions are used in the regenerate financial components process. The default list of decisions is the list of active decisions for the case. This will allow implementers to support regeneration of financial components from a specified determination, rather than the latest determination.
key
- Contains the case identifier.curam.util.exception.AppException
- Generic Exception SignatureInformationException
- Generic Exception Signaturecuram.util.exception.InformationalException