@AccessLevel(value=EXTERNAL) public abstract class EvidenceController extends java.lang.Object implements EvidenceController
Constructor and Description |
---|
EvidenceController() |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
applyParticipantEvidence(curam.core.struct.CaseIDList caseIDList)
Apply changes to Participant Evidence to all associated cases where the
Participant is a member on the case.
|
protected abstract void |
checkForInformationals(int checkForInformationalsMode)
This method checks if informational messages have been added to
InformationalManager . |
protected abstract void |
checkForUpdateAndRemoveToSameRecord(curam.core.sl.infrastructure.entity.struct.EvidenceDescriptorDtls details)
Checks to see if an 'Update' and 'Remove' has been applied to the same
record.
|
protected abstract void |
checkParticipantSecurity(long participantID)
Performs the participant security check for Maintain access.
|
protected abstract void |
checkProductSecurity(long caseID,
int checkType)
This method provides security features to the temporal evidence solution.
|
protected abstract void |
checkProductSecurity(long caseID,
java.lang.String evidenceType,
int checkType)
This method provides security features to the temporal evidence solution.
|
protected abstract void |
checkSecurity(curam.core.sl.infrastructure.entity.struct.EvidenceDescriptorDtls dtls,
int productCheckType)
This is a wrapper method.
|
protected abstract curam.core.sl.infrastructure.struct.ApplyChangesEvidenceLists |
getApplyChangesEvidenceLists(curam.core.sl.infrastructure.struct.ECWIPDtls ecWIPDtls)
Sets up the evidence lists for apply changes.
|
protected abstract java.lang.String |
getCaseTypeCode(curam.core.struct.CaseKey key)
method returns
CaseTypeCode to determine the case type code
based on the ID of the case. |
protected abstract curam.core.sl.infrastructure.struct.EIEvidenceKeyList |
getEvidenceKeyList(curam.core.sl.infrastructure.struct.EIListCaseEvidenceKey key)
Retrieves the evidence key list used to populate the evidence workspace.
|
protected abstract curam.core.struct.CaseIDList |
getIntegratedCasesForParticipantData(curam.core.sl.infrastructure.entity.struct.EvidenceTypeKey evidenceTypeKey,
curam.core.struct.ConcernRoleKey concernRoleKey)
Determines all Integrated Cases where the participant data is associated
at Integrated Case Level that the individual is involved in either as a
case member or primary client.
|
protected abstract curam.core.sl.infrastructure.struct.EvidenceKeyList |
getListForProductDeliveryAttribution(curam.core.struct.CaseKey key)
Retrieves a list of evidence keys to be used when attributing evidence on
a Product Delivery case where some or all of the evidence is stored at the
Integrated Case level.
|
protected abstract java.lang.String |
getParticipantName(curam.core.sl.infrastructure.entity.struct.EvidenceDescriptorDtls details)
Retrieves the participant's name, associated with the related Evidence.
|
protected abstract curam.core.struct.CaseIDList |
getProductCasesForParticipantData(curam.core.sl.infrastructure.entity.struct.EvidenceTypeKey evidenceTypeKey,
curam.core.struct.ConcernRoleKey concernRoleKey)
Determines all Product Delivery Cases where the participant data is
associated at Product Level that the individual is involved in either as a
case member or primary client.
|
protected abstract java.lang.String |
getUserFullName(java.lang.String username)
Gets the full name for a user.
|
protected abstract void |
internalApplyChanges(curam.core.struct.CaseKey key,
curam.core.sl.infrastructure.struct.ApplyChangesEvidenceLists evidenceLists)
Local method called by the applyChanges method.
|
protected abstract curam.core.sl.infrastructure.struct.EvidenceKeyList |
parseHelper(java.lang.String tabList)
Helper method for parsing evidence.
|
protected abstract void |
performCaseSecurityCheck(long caseID)
Deprecated.
Since Curam 6.0 SP1, replaced with
performCaseSecurityCheck(long, int) . The method was deprecated as part
of location based security updates. See release note:CR00283697.
Function to perform the case level maintain security check. |
protected abstract void |
performCaseSecurityCheck(long caseID,
int productCheckType)
Method to perform specified case level security check.
|
protected abstract boolean |
performValidationsOnModifyEvidence(curam.core.sl.infrastructure.entity.struct.EvidenceDescriptorDtls evidenceDescriptorDtls,
boolean isParticipantEvidence,
curam.util.type.Date effectiveFromDate)
This method performs any validations on the method modifyEvidence that are
common for both participant and temporal evidence.
|
protected abstract curam.core.sl.entity.struct.ApprovalRequestDtls |
readCurrentApprovalRequest(curam.core.sl.infrastructure.entity.struct.EvidenceDescriptorKey key)
This method is called from within the controller.
|
protected abstract void |
recordEvidenceChangeHistory(java.lang.String changeType,
curam.core.sl.infrastructure.entity.struct.EvidenceDescriptorDtls dtls)
An internal method to create an Evidence Change History record.
|
protected abstract void |
setSharedCorrectionSetAndSuccessionID(curam.core.sl.infrastructure.entity.struct.EvidenceDescriptorDtls newEvidenceDescriptorDtls)
This method sets the correction set ID and succession ID to be used on a
piece of shared evidence.
|
protected abstract void |
sortApplyChangesListsByDate(curam.core.sl.infrastructure.struct.ECWIPDtls input)
Method to sort the apply changes lists of evidences by start date
descending.
|
protected abstract void |
sortByEffectiveDate(curam.core.sl.infrastructure.struct.SuccessionList list)
Routine to sort successions by effective from date ascending after they
have been read back from the database.
|
protected abstract void |
sortListByCase(curam.core.sl.infrastructure.struct.AttributedEvidenceResult input)
Method to sort a list of reassessment details by
caseID . |
protected abstract void |
sortWorkspaceListsByDate(curam.core.sl.infrastructure.struct.ECEvidenceForListPageDtls input)
Method to sort the workspace lists of evidences by start date descending.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
applyAllChanges, applyUserChanges, approveApprovalRequest, approveApprovalRequests, areAllStaticEntityValidationsSuppressed, cancelAssociation, copyEvidenceItem1, createAssociation, deleteEvidenceFromWorkspace, discardPendingRemove, discardPendingUpdate, doUnverifiedMandatoryVerificationsExist, filterActiveInEditChanges, getBusinessEndDateAttribute, getBusinessObjectDescriptor, getBusinessStartDateAttribute, getEvidenceParticipantListForCase, getEvidenceSummaryDetails, getPeriodAsLocalizedString, getPeriodForEvidenceRecord, getWarnings, isEvidenceParticipantData, isPDCEvidence, listActive, listActiveEvdInstanceChanges, listActiveEvdInstanceChanges1, listActiveEvdInstancesByDateRangeAndType, listActiveEvidenceForParticipant, listAllactiveEvdInstances, listAllActiveEvdInstancesByTypes, listAllForEvidenceListPage, listAllForInEditWorkspace, listAllInEdit, listAllInEdit1, listAllInEditByTypes, listApprovalRequestHistory, listBusinessObjectsForEvidenceType, listBusinessObjectsForEvidenceType1, listCurrentActiveEvdInstancesByTypes, listEvdInstanceChanges, listEvdInstanceChanges1, listEvidenceChangeHistory, listEvidenceTypeAndDesc, listEvidenceTypes, listEvidenceTypes, listEvidenceTypes, listEvidenceTypes, listInEditEvdInstanceChanges, listInEditEvdInstanceChanges1, listTopLevelEvidenceTypesAndDescs, listWorkInProgressApprovalRequested, listWorkInProgressDetails, listWorkInProgressForUser, performProductDeliveryAttribution, performValidations, readApprovalRequest, readBusinessObjectIssuesPage, readBusinessObjectPage, readBusinessObjectVerificationsPage, readCreatePage, readCreateResolvePage, readEvidenceDescriptorByRelatedIDAndType, readEvidenceDescriptorDtls, readEvidenceSiteMapDetails, readEvidenceTypeDescription, readHistoryRecordPage, readModifyPage, readViewPage, readViewSnapshotPage, readWorkspacePage, rejectApprovalRequest, rejectApprovalRequests, removeEvidence, retrieveAndLinkPrtcptDataForIntegratedCase, shareEvidence, shareEvidenceAndApplyChanges, shareNonIdenticalEvidence, shareNonIdenticalPDCEvidence, sharePDCEvidence, transferParticipantEvidence, transferParticipantEvidence1, validateChanges
@AccessLevel(value=EXTERNAL) protected abstract void recordEvidenceChangeHistory(java.lang.String changeType, curam.core.sl.infrastructure.entity.struct.EvidenceDescriptorDtls dtls) throws curam.util.exception.AppException, curam.util.exception.InformationalException
changeType
- The type of change being made to the evidence.dtls
- evidence Descriptor entity details.curam.util.exception.AppException
curam.util.exception.InformationalException
@AccessLevel(value=EXTERNAL) protected abstract void sortListByCase(curam.core.sl.infrastructure.struct.AttributedEvidenceResult input) throws curam.util.exception.AppException, curam.util.exception.InformationalException
caseID
.input
- Input structure containing a list of reassessment details.curam.util.exception.AppException
curam.util.exception.InformationalException
@AccessLevel(value=EXTERNAL) protected abstract void internalApplyChanges(curam.core.struct.CaseKey key, curam.core.sl.infrastructure.struct.ApplyChangesEvidenceLists evidenceLists) throws curam.util.exception.AppException, curam.util.exception.InformationalException
key
- Contains a case identifier.evidenceLists
- Contains lists of active, new and updated evidences.
as well as those marked for removal.curam.util.exception.AppException
curam.util.exception.InformationalException
@AccessLevel(value=EXTERNAL) protected abstract void sortWorkspaceListsByDate(curam.core.sl.infrastructure.struct.ECEvidenceForListPageDtls input) throws curam.util.exception.AppException, curam.util.exception.InformationalException
input
- Lists of evidences to be displayed on the workspace.curam.util.exception.AppException
curam.util.exception.InformationalException
@AccessLevel(value=EXTERNAL) protected abstract void sortApplyChangesListsByDate(curam.core.sl.infrastructure.struct.ECWIPDtls input) throws curam.util.exception.AppException, curam.util.exception.InformationalException
input
- Lists of evidences to be displayed on the apply changes page.
newAndUpdateList
,removeList
are contained in
input argument.curam.util.exception.AppException
curam.util.exception.InformationalException
@AccessLevel(value=EXTERNAL) protected abstract curam.core.sl.infrastructure.struct.EvidenceKeyList parseHelper(java.lang.String tabList) throws curam.util.exception.AppException, curam.util.exception.InformationalException
tabList
- Tabbed list of evidence data to be parsed.curam.util.exception.AppException
curam.util.exception.InformationalException
@AccessLevel(value=EXTERNAL) protected abstract java.lang.String getParticipantName(curam.core.sl.infrastructure.entity.struct.EvidenceDescriptorDtls details) throws curam.util.exception.AppException, curam.util.exception.InformationalException
details
- Evidence Descriptor entity details.CuramConst.gkEmpty
is returned.curam.util.exception.AppException
curam.util.exception.InformationalException
@AccessLevel(value=EXTERNAL) protected abstract curam.core.sl.infrastructure.struct.EIEvidenceKeyList getEvidenceKeyList(curam.core.sl.infrastructure.struct.EIListCaseEvidenceKey key) throws curam.util.exception.AppException, curam.util.exception.InformationalException
key
- Key to retrieve the evidence key list.curam.util.exception.AppException
curam.util.exception.InformationalException
@AccessLevel(value=EXTERNAL) protected abstract void checkForUpdateAndRemoveToSameRecord(curam.core.sl.infrastructure.entity.struct.EvidenceDescriptorDtls details) throws curam.util.exception.AppException, curam.util.exception.InformationalException
details
- Evidence Descriptor entity details.curam.util.exception.AppException
curam.util.exception.InformationalException
@AccessLevel(value=EXTERNAL) protected abstract java.lang.String getUserFullName(java.lang.String username) throws curam.util.exception.AppException, curam.util.exception.InformationalException
username
- User name.curam.util.exception.AppException
curam.util.exception.InformationalException
@AccessLevel(value=EXTERNAL) protected abstract curam.core.sl.infrastructure.struct.EvidenceKeyList getListForProductDeliveryAttribution(curam.core.struct.CaseKey key) throws curam.util.exception.AppException, curam.util.exception.InformationalException
key
- Contains the case identifier of a Product Delivery case.curam.util.exception.AppException
curam.util.exception.InformationalException
@AccessLevel(value=EXTERNAL) protected abstract curam.core.sl.infrastructure.struct.ApplyChangesEvidenceLists getApplyChangesEvidenceLists(curam.core.sl.infrastructure.struct.ECWIPDtls ecWIPDtls) throws curam.util.exception.AppException, curam.util.exception.InformationalException
ecWIPDtls
- Work in progress records.curam.util.exception.AppException
curam.util.exception.InformationalException
@AccessLevel(value=EXTERNAL) protected abstract void checkForInformationals(int checkForInformationalsMode) throws curam.util.exception.AppException, curam.util.exception.InformationalException
This method checks if informational messages have been added to
InformationalManager
. Depending on where it has been called
from, a different outcome is reported. If it has been called from
applyUserChanges, applyAllChanges, applyChanges, attributeEvidence or
validateChanges, and if no entries exist in the Informational Manager,
then an informational reporting success is returned to the user via the
InformationalManager
.
If modifications have been made and errors are reported, then the
failOperation()
is called on the
InformationalManager
which renders those errors on the client
and results in the changes being rolled back.
checkForInformationalsMode
- Integer value which determines where the
method has been invoked from.curam.util.exception.AppException
curam.util.exception.InformationalException
@AccessLevel(value=EXTERNAL) protected abstract curam.core.sl.entity.struct.ApprovalRequestDtls readCurrentApprovalRequest(curam.core.sl.infrastructure.entity.struct.EvidenceDescriptorKey key) throws curam.util.exception.AppException, curam.util.exception.InformationalException
key
- Evidence Descriptor entity key.curam.util.exception.AppException
curam.util.exception.InformationalException
@AccessLevel(value=EXTERNAL) protected abstract void sortByEffectiveDate(curam.core.sl.infrastructure.struct.SuccessionList list) throws curam.util.exception.AppException, curam.util.exception.InformationalException
list
- contains list of evidence descriptor detail objects.curam.util.exception.AppException
curam.util.exception.InformationalException
@AccessLevel(value=EXTERNAL) protected abstract java.lang.String getCaseTypeCode(curam.core.struct.CaseKey key) throws curam.util.exception.AppException, curam.util.exception.InformationalException
CaseTypeCode
to determine the case type code
based on the ID of the case.key
- caseKey containing the case id.curam.util.exception.AppException
curam.util.exception.InformationalException
@AccessLevel(value=EXTERNAL) protected abstract void checkProductSecurity(long caseID, java.lang.String evidenceType, int checkType) throws curam.util.exception.AppException, curam.util.exception.InformationalException
caseID
- The case identifier of the case on which we're checking
security.evidenceType
- The evidence type code.productCheckType
- The type of product security required.curam.util.exception.AppException
curam.util.exception.InformationalException
@AccessLevel(value=EXTERNAL) protected abstract void checkProductSecurity(long caseID, int checkType) throws curam.util.exception.AppException, curam.util.exception.InformationalException
caseID
- The case identifier of the case on which we're checking
security.productCheckType
- The type of product security required.curam.util.exception.AppException
curam.util.exception.InformationalException
@Deprecated @AccessLevel(value=EXTERNAL) protected abstract void performCaseSecurityCheck(long caseID) throws curam.util.exception.AppException, curam.util.exception.InformationalException
performCaseSecurityCheck(long, int)
. The method was deprecated as part
of location based security updates. See release note:CR00283697.
Function to perform the case level maintain security check.curam.util.exception.AppException
curam.util.exception.InformationalException
@AccessLevel(value=EXTERNAL) protected abstract curam.core.struct.CaseIDList getIntegratedCasesForParticipantData(curam.core.sl.infrastructure.entity.struct.EvidenceTypeKey evidenceTypeKey, curam.core.struct.ConcernRoleKey concernRoleKey) throws curam.util.exception.AppException, curam.util.exception.InformationalException
evidenceTypeKey
- Contains the type of the participant data E.g.
Person.concernRoleKey
- Contains the concernRoleID of the individual for
whom Participant Evidence is being created.curam.util.exception.AppException
curam.util.exception.InformationalException
@AccessLevel(value=EXTERNAL) protected abstract curam.core.struct.CaseIDList getProductCasesForParticipantData(curam.core.sl.infrastructure.entity.struct.EvidenceTypeKey evidenceTypeKey, curam.core.struct.ConcernRoleKey concernRoleKey) throws curam.util.exception.AppException, curam.util.exception.InformationalException
evidenceTypeKey
- Contains the type of the participant data e.g.
Person.concernRoleKey
- Contains the concernRoleID of the individual for
whom Participant Evidence is being created.curam.util.exception.AppException
curam.util.exception.InformationalException
@AccessLevel(value=EXTERNAL) protected abstract boolean performValidationsOnModifyEvidence(curam.core.sl.infrastructure.entity.struct.EvidenceDescriptorDtls evidenceDescriptorDtls, boolean isParticipantEvidence, curam.util.type.Date effectiveFromDate) throws curam.util.exception.AppException, curam.util.exception.InformationalException
evidenceDescriptorDtls
- Evidence being modified.isParticipantEvidence
- Flag to indicate if this is participant
evidence.effectiveFromDate
- The effective date of the modified record.curam.util.exception.AppException
curam.util.exception.InformationalException
@AccessLevel(value=EXTERNAL) protected abstract void applyParticipantEvidence(curam.core.struct.CaseIDList caseIDList) throws curam.util.exception.AppException, curam.util.exception.InformationalException
caseIDList
- Contains a list of associated caseIDs.curam.util.exception.AppException
curam.util.exception.InformationalException
@AccessLevel(value=EXTERNAL) protected abstract void checkSecurity(curam.core.sl.infrastructure.entity.struct.EvidenceDescriptorDtls dtls, int productCheckType) throws curam.util.exception.AppException, curam.util.exception.InformationalException
checkProductSecurity()
method or to
checkParticipantSecurity()
method.dtls
- Evidence Descriptor entity details.productCheckType
- The type of product security required.curam.util.exception.AppException
curam.util.exception.InformationalException
@AccessLevel(value=EXTERNAL) protected abstract void checkParticipantSecurity(long participantID) throws curam.util.exception.AppException, curam.util.exception.InformationalException
participantID
- The participant's unique identifier.curam.util.exception.AppException
curam.util.exception.InformationalException
@AccessLevel(value=EXTERNAL) protected abstract void setSharedCorrectionSetAndSuccessionID(curam.core.sl.infrastructure.entity.struct.EvidenceDescriptorDtls newEvidenceDescriptorDtls) throws curam.util.exception.AppException, curam.util.exception.InformationalException
newEvidenceDescriptorDtls
- The evidence descriptor details for the
evidence being shared.curam.util.exception.AppException
curam.util.exception.InformationalException
@AccessLevel(value=EXTERNAL) protected abstract void performCaseSecurityCheck(long caseID, int productCheckType) throws curam.util.exception.AppException, curam.util.exception.InformationalException
caseID
- The case identifier of the case on which we're checking
security.productCheckType
- The check type that must be performed.curam.util.exception.AppException
curam.util.exception.InformationalException