@Deprecated @AccessLevel(value=EXTERNAL) public abstract class EvidenceBroker extends EvidenceBroker
Modifier and Type | Field and Description |
---|---|
protected curam.util.persistence.helper.EventDispatcherFactory<EvidenceBrokerEvents> |
evidenceBrokerEvents
Deprecated.
Since 7.0.2.0 functionality has been replaced by component
AdvancedEvidenceSharing.
|
protected java.util.Map<java.lang.String,curam.core.sl.impl.EvidenceBrokerSharingStrategy> |
evidenceBrokerSharingStrategyMap
Deprecated.
Since 7.0.2.0 functionality has been replaced by component
AdvancedEvidenceSharing.
A hash map reference of the evidence broker sharing strategy module which
is registered in the registry.
|
protected EvidenceBrokerTaskGenerationStrategy |
evidenceBrokerTaskGenerationStrategy
Deprecated.
Since 7.0.2.0 functionality has been replaced by component
AdvancedEvidenceSharing.
|
protected java.util.Map<curam.codetable.impl.CASETYPECODEEntry,EvidenceSharingStrategy> |
evidenceSharingStrategyMap
Deprecated.
Since 7.0.2.0 functionality has been replaced by component
AdvancedEvidenceSharing.
Finalize evidence list hook object.
|
protected curam.evidencebroker.sl.impl.ProcessEvidenceHelper |
processEvidenceHelper
Deprecated.
Since 7.0.2.0 functionality has been replaced by component
AdvancedEvidenceSharing.
Reference to a helper class
ProcessEvidenceHelper . |
Constructor and Description |
---|
EvidenceBroker()
Deprecated.
Since 7.0.2.0 functionality has been replaced by component
AdvancedEvidenceSharing.
Default constructor for the class.
|
Modifier and Type | Method and Description |
---|---|
protected void |
activateEvidences(curam.util.type.StringList evidenceDescriptorList)
Deprecated.
Since 7.0.2.0 functionality has been replaced by component
AdvancedEvidenceSharing.
Activates the given list of evidences.
|
void |
bulkEvidenceSharing(curam.core.sl.infrastructure.struct.ApplyChangesEvidenceLists evidenceLists)
Deprecated.
Since 7.0.2.0 functionality has been replaced by component
AdvancedEvidenceSharing.
Shares the new/updated/removed evidences with the relevant cases in bulk if
evidence sharing is configured for the evidences in process.
|
protected long |
creatEvidenceDataSource(java.lang.String datastoreName,
java.lang.String attributeName)
Deprecated.
Since 7.0.2.0 functionality has been replaced by component
AdvancedEvidenceSharing.
Creates a data store for the passed data store name and attribute.
|
protected void |
generateTasks(java.lang.String datastoreName,
long datastoreID,
java.lang.String attributeName)
Deprecated.
Since 7.0.2.0 functionality has been replaced by component
AdvancedEvidenceSharing.
Generates Incoming/In-Edit tasks based on the data store name.
|
protected curam.core.sl.impl.EvidenceBrokerSharingStrategy |
getEvidenceBrokerSharingStrategy(java.lang.String sourceType)
Deprecated.
Since 7.0.2.0 functionality has been replaced by component
AdvancedEvidenceSharing.
Gets an instance of the evidenceBrokerSharingStrategy by the source type.
|
void |
restartSharing()
Deprecated.
Since 7.0.2.0 functionality has been replaced by component
AdvancedEvidenceSharing.
Clears the flag 'StopEvidenceSharing' and also the recorded transaction
identifier.
|
protected void |
setTransactionCache(java.lang.String cacheName,
long datastoreID,
long sourceCaseID)
Deprecated.
Since 7.0.2.0 functionality has been replaced by component
AdvancedEvidenceSharing.
Set the transaction locale cache with the data store identifier and
disables the soft references of the cache.
|
void |
shareEvidence(curam.core.sl.infrastructure.entity.struct.EvidenceDescriptorKey evidenceDescriptorKey)
Deprecated.
Since 7.0.2.0 functionality has been replaced by component
AdvancedEvidenceSharing.
This method determines whether a given piece of evidence is configured for
evidence sharing, then shares this evidence with the relevant cases.
|
void |
shareEvidenceForCaseParticipantCreation(curam.core.sl.entity.struct.CaseParticipantRoleKey caseParticipantRoleKey)
Deprecated.
Since 7.0.2.0 functionality has been replaced by component
AdvancedEvidenceSharing.
This method identifies the case that this participant role has been set up
on. It then finds any evidence sharing configurations that are applicable
to this new case and shares all of the evidence relevant to this
participant role with the new case.
|
void |
shareEvidenceRemoval(curam.core.sl.infrastructure.entity.struct.EvidenceDescriptorKey evidenceDescriptorKey)
Deprecated.
Since 7.0.2.0 functionality has been replaced by component
AdvancedEvidenceSharing.
This method is called when a piece of evidence is removed from a case. It
determines whether the given piece of evidence is configured for evidence
sharing, then shares this evidence with the relevant cases.
|
protected void |
shareEvidences(curam.core.struct.CaseKey sourceCaseKey,
curam.core.sl.infrastructure.struct.ApplyChangesEvidenceLists evidenceLists)
Deprecated.
Since 7.0.2.0 functionality has been replaced by component
AdvancedEvidenceSharing.
Shares the new/updated/removed evidences with the relevant cases in bulk if
evidence sharing is configured for the evidences in process.
|
void |
shareExternalEvidence(curam.core.sl.struct.SharedEvidenceDescriptorDetails sharedEvidenceDescriptorDetails)
Deprecated.
Since 7.0.2.0 functionality has been replaced by component
AdvancedEvidenceSharing.
Determines whether a given piece of evidence received from a remote system
is configured for evidence sharing, if configured, then shares the evidence
with the relevant cases.
|
void |
shareExternalEvidenceRemoval(curam.core.sl.struct.SharedEvidenceDescriptorDetails sharedEvidenceDescriptorDetails)
Deprecated.
Since 7.0.2.0 functionality has been replaced by component
AdvancedEvidenceSharing.
Determines whether a given piece of evidence received from a remote system
is configured for evidence removal sharing, if configured, then shares
the evidence with the relevant cases.
|
void |
stopSharing()
Deprecated.
Since 7.0.2.0 functionality has been replaced by component
AdvancedEvidenceSharing.
Sets the flag 'StopEvidenceSharing' to 'true' to stop the evidence sharing
for the INSERT_CASE_PARTICIPANT_ROLE event type. If the broker was
triggered from the insertion of a Case Participant Role, the same can be
stopped by calling this. It also records the transaction identifier.
|
@Deprecated @Inject protected java.util.Map<java.lang.String,curam.core.sl.impl.EvidenceBrokerSharingStrategy> evidenceBrokerSharingStrategyMap
@Deprecated @Inject protected curam.evidencebroker.sl.impl.ProcessEvidenceHelper processEvidenceHelper
ProcessEvidenceHelper
.@Deprecated @Inject(optional=true) protected java.util.Map<curam.codetable.impl.CASETYPECODEEntry,EvidenceSharingStrategy> evidenceSharingStrategyMap
@Deprecated @Inject protected curam.util.persistence.helper.EventDispatcherFactory<EvidenceBrokerEvents> evidenceBrokerEvents
@Deprecated @Inject protected EvidenceBrokerTaskGenerationStrategy evidenceBrokerTaskGenerationStrategy
@Deprecated public EvidenceBroker()
@Deprecated public void shareEvidence(curam.core.sl.infrastructure.entity.struct.EvidenceDescriptorKey evidenceDescriptorKey) throws curam.util.exception.AppException, curam.util.exception.InformationalException
EvidenceBroker
evidenceDescriptorKey
- The ID of the evidence to be shared.curam.util.exception.AppException
- Generic Exception Signature.curam.util.exception.InformationalException
- Generic Exception Signature.@Deprecated public void shareEvidenceRemoval(curam.core.sl.infrastructure.entity.struct.EvidenceDescriptorKey evidenceDescriptorKey) throws curam.util.exception.AppException, curam.util.exception.InformationalException
EvidenceBroker
evidenceDescriptorKey
- The ID of the evidence record to be shared.curam.util.exception.AppException
- Generic Exception Signature.curam.util.exception.InformationalException
- Generic Exception Signature.@Deprecated public void shareEvidenceForCaseParticipantCreation(curam.core.sl.entity.struct.CaseParticipantRoleKey caseParticipantRoleKey) throws curam.util.exception.AppException, curam.util.exception.InformationalException
EvidenceBroker
caseParticipantRoleKey
- The ID of the new case participant role.curam.util.exception.AppException
- Generic Exception Signature.curam.util.exception.InformationalException
- Generic Exception Signature.@Deprecated public void shareExternalEvidence(curam.core.sl.struct.SharedEvidenceDescriptorDetails sharedEvidenceDescriptorDetails) throws curam.util.exception.AppException, curam.util.exception.InformationalException
EvidenceBroker
Determines whether a given piece of evidence received from a
remote system is configured for evidence sharing, if configured, then
shares the evidence with the relevant cases.
sharedEvidenceDescriptorDetails
- Contains evidence details received
from a remote system to be shared.curam.util.exception.AppException
- Generic Exception Signature.curam.util.exception.InformationalException
- Generic Exception Signature.@Deprecated public void shareExternalEvidenceRemoval(curam.core.sl.struct.SharedEvidenceDescriptorDetails sharedEvidenceDescriptorDetails) throws curam.util.exception.AppException, curam.util.exception.InformationalException
EvidenceBroker
sharedEvidenceDescriptorDetails
- Contains evidence details received
from a remote system to be shared.curam.util.exception.AppException
- Generic Exception Signature.curam.util.exception.InformationalException
- Generic Exception Signature.@Deprecated public void bulkEvidenceSharing(curam.core.sl.infrastructure.struct.ApplyChangesEvidenceLists evidenceLists) throws curam.util.exception.AppException, curam.util.exception.InformationalException
EvidenceBroker
evidenceLists
- Contains the list of new/updated/removed source evidence lists.curam.util.exception.AppException
- Generic Exception Signature.curam.util.exception.InformationalException
- Generic Exception Signature.@Deprecated protected void generateTasks(java.lang.String datastoreName, long datastoreID, java.lang.String attributeName) throws curam.util.exception.AppException, curam.util.exception.InformationalException
datastoreName
- The name of the data store.datastoreID
- The unique identifier of data store.attributeName
- The name of the attribute name.curam.util.exception.InformationalException
- Generic Exception Signature.curam.util.exception.AppException
- Generic Exception Signature.@Deprecated protected long creatEvidenceDataSource(java.lang.String datastoreName, java.lang.String attributeName)
datastoreName
- Name of the data store.attributeName
- Name of data store attribute.@Deprecated protected void setTransactionCache(java.lang.String cacheName, long datastoreID, long sourceCaseID)
cacheName
- The name of cache.datastoreID
- The unique identifier of data store.sourceCaseID
- The source case ID.@Deprecated protected void shareEvidences(curam.core.struct.CaseKey sourceCaseKey, curam.core.sl.infrastructure.struct.ApplyChangesEvidenceLists evidenceLists) throws curam.util.exception.AppException, curam.util.exception.InformationalException
evidenceDescriptorKeyList
- Contains the list of evidence descriptor IDs.curam.util.exception.AppException
- Generic Exception Signature.curam.util.exception.InformationalException
- Generic Exception Signature.@Deprecated protected void activateEvidences(curam.util.type.StringList evidenceDescriptorList) throws curam.util.exception.AppException, curam.util.exception.InformationalException
evidenceDescriptorList
- Contains the list of evidence descriptor IDs.curam.util.exception.AppException
- Generic Exception Signature.curam.util.exception.InformationalException
- Generic Exception Signature.@Deprecated protected curam.core.sl.impl.EvidenceBrokerSharingStrategy getEvidenceBrokerSharingStrategy(java.lang.String sourceType) throws curam.util.exception.AppException, curam.util.exception.InformationalException
sourceType
- Contains the source type of the case.curam.util.exception.AppException
- Generic Exception Signature.curam.util.exception.InformationalException
- Generic Exception Signature.@Deprecated @AccessLevel(value=EXTERNAL) public void stopSharing() throws curam.util.exception.AppException, curam.util.exception.InformationalException
EvidenceBroker
curam.util.exception.AppException
- Generic Exception Signature.curam.util.exception.InformationalException
- Generic Exception Signature.@Deprecated @AccessLevel(value=EXTERNAL) public void restartSharing() throws curam.util.exception.AppException, curam.util.exception.InformationalException
EvidenceBroker
curam.util.exception.AppException
- Generic Exception Signature.curam.util.exception.InformationalException
- Generic Exception Signature.