@AccessLevel(value=EXTERNAL) public class CaseTransactionLogImpl extends java.lang.Object implements CaseTransactionLogIntf
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
kCatEntryAttribute |
protected static java.lang.String |
kCodetableId
Code table argument token.
|
protected static java.lang.String |
kDateId
Date argument token.
|
protected static java.lang.String |
kDateTimeId
Date & Time argument token.
|
protected static java.lang.String |
kDescriptionElement |
protected static java.lang.String |
kEmptyString
Empty String constant
|
protected static java.lang.String |
kLongId
Long argument token.
|
protected static java.lang.String |
kMoneyId
Money argument token.
|
protected static java.lang.String |
kMsgCatalogAttribute |
protected static java.lang.String |
kparamElement |
protected static java.lang.String |
kparamIndexAttribute |
protected static java.lang.String |
kparamTypeAttribute |
protected static java.lang.String |
kparamValueAttribute |
protected static java.lang.String |
kStringId
String argument token.
|
protected static java.lang.String |
kTimeId
Time argument token.
|
protected static java.lang.String |
kTransactionPropertyKeyPrefix
Configuration Property for each transaction event type
|
Modifier | Constructor and Description |
---|---|
protected |
CaseTransactionLogImpl() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
composeTransactionDescriptionXML(curam.util.exception.LocalisableString localisableString)
Composes an xml string representation of the LocalisableString instance
|
protected java.lang.String |
decomposeTransactionDescriptionXML(java.lang.String string)
Decomposes an xml string representation into a LocalisableString instance
|
protected java.lang.String |
getClassIdentifer(java.lang.Object object)
Retrieves the class name of the argument type
|
protected curam.core.sl.struct.ReadTransactionLogDetailsList |
getReadTransactionLogDetailsList(curam.core.struct.CaseTransactionLogDetailsList transactionDetailsList,
boolean displayAllTransactionsFlag)
Converts the entity level TransactionDetailsList struct to service layer
level ReadTransactionLogDetailsList struct.
|
protected curam.core.sl.struct.ReadTransactionLogDetailsList |
readAllOrNumberOfTransactions(curam.core.sl.struct.CaseIDKey key,
boolean displayAllTransactionsFlag)
Fetches the list of all or first 'N' transactions for a given case.
|
curam.core.sl.struct.ReadTransactionLogDetailsList |
readAllTransactions(curam.core.sl.struct.CaseIDKey key)
Fetches the list of all transactions for a given case.
|
curam.core.sl.struct.ReadTransactionLogDetailsList |
readNumberOfTransactions(curam.core.sl.struct.CaseIDKey key)
Fetches the list of 'N' transactions for a given case, where 'N' is
configured in the application.
|
void |
recordCaseTransaction(java.lang.String type,
curam.util.exception.LocalisableString description,
long caseID,
long relatedID)
Inserts the Transaction Log record.
|
protected static final java.lang.String kTransactionPropertyKeyPrefix
protected static final java.lang.String kEmptyString
protected static final java.lang.String kDateId
protected static final java.lang.String kTimeId
protected static final java.lang.String kDateTimeId
protected static final java.lang.String kStringId
protected static final java.lang.String kCodetableId
protected static final java.lang.String kLongId
protected static final java.lang.String kMoneyId
protected static final java.lang.String kDescriptionElement
protected static final java.lang.String kparamElement
protected static final java.lang.String kMsgCatalogAttribute
protected static final java.lang.String kCatEntryAttribute
protected static final java.lang.String kparamIndexAttribute
protected static final java.lang.String kparamValueAttribute
protected static final java.lang.String kparamTypeAttribute
@AccessLevel(value=EXTERNAL) public void recordCaseTransaction(java.lang.String type, curam.util.exception.LocalisableString description, long caseID, long relatedID) throws curam.util.exception.AppException, curam.util.exception.InformationalException
recordCaseTransaction
in interface CaseTransactionLogIntf
type
- - String, the transaction type.description
- - LocalisableString, the message entry which describes the
transaction.caseID
- - CaseID for the transaction record.relatedID
- - long, the unique UD of the record the transaction log record
relates to.curam.util.exception.AppException
curam.util.exception.InformationalException
@AccessLevel(value=EXTERNAL) public curam.core.sl.struct.ReadTransactionLogDetailsList readNumberOfTransactions(curam.core.sl.struct.CaseIDKey key) throws curam.util.exception.AppException, curam.util.exception.InformationalException
readNumberOfTransactions
in interface CaseTransactionLogIntf
key
- - CaseIDKey The case id.curam.util.exception.AppException
curam.util.exception.InformationalException
@AccessLevel(value=EXTERNAL) public curam.core.sl.struct.ReadTransactionLogDetailsList readAllTransactions(curam.core.sl.struct.CaseIDKey key) throws curam.util.exception.AppException, curam.util.exception.InformationalException
readAllTransactions
in interface CaseTransactionLogIntf
key
- - CaseIDKey The case id.curam.util.exception.AppException
curam.util.exception.InformationalException
protected curam.core.sl.struct.ReadTransactionLogDetailsList readAllOrNumberOfTransactions(curam.core.sl.struct.CaseIDKey key, boolean displayAllTransactionsFlag) throws curam.util.exception.AppException, curam.util.exception.InformationalException
key
- - CaseIDKey The case id.displayAllTransactionsFlag
- - Flag to indicate the number of transactions to display. set
to true for displaying all transactions set to false for
displaying first 'N' transactionscuram.util.exception.AppException
curam.util.exception.InformationalException
protected curam.core.sl.struct.ReadTransactionLogDetailsList getReadTransactionLogDetailsList(curam.core.struct.CaseTransactionLogDetailsList transactionDetailsList, boolean displayAllTransactionsFlag) throws curam.util.exception.AppException, curam.util.exception.InformationalException
transactionDetailsList
- - CaseTransactionLogDetailsList.displayAllTransactionsFlag
- - Flag to indicate the number of transactions to display. set
to true for displaying all transactions set to false for
displaying first 'N' transactionscuram.util.exception.AppException
curam.util.exception.InformationalException
protected java.lang.String composeTransactionDescriptionXML(curam.util.exception.LocalisableString localisableString) throws curam.util.exception.AppException, curam.util.exception.InformationalException
localisableString
- - LocalisableString.curam.util.exception.AppException
curam.util.exception.InformationalException
protected java.lang.String getClassIdentifer(java.lang.Object object)
object
- - Object representing the argument.protected java.lang.String decomposeTransactionDescriptionXML(java.lang.String string) throws curam.util.exception.AppException, curam.util.exception.InformationalException
string
- - the xml string.curam.util.exception.InformationalException
- - Generic exception signature.curam.util.exception.AppException
- CASETRANSACTIONLOG.ERR_CASETRANSACTIONLOG_EXCEPTION_HAS_OCCURRED
-
Exception has occurred, please contact your administrator.