|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.siebel.rf.offline.data.cashbox.CashBox
The CashBox persisted class
Field Summary | |
java.lang.String |
branchCode
|
java.lang.String |
cashBoxId
|
java.lang.String |
cashBoxMode
|
java.lang.String |
cashBoxOpen
|
java.lang.String |
cashBoxStatusIndicator
|
java.lang.String |
cashBoxType
|
java.lang.String |
companyCode
|
java.lang.String |
lastUsedBy
|
java.lang.String |
lastUsedDate
|
static java.util.HashMap |
MAPPING
|
java.lang.String |
nextBatchId
|
java.lang.String |
nextCurrencyBoxId
|
static java.util.ArrayList |
PK_ATTRBUTES
|
Constructor Summary | |
CashBox()
|
Method Summary | |
java.lang.String |
addNegotiableInstrumentToBatch(com.bankframe.vo.retail.solutionset.impl.financialtransactions.FinancialTransactionNegotiableInstrumentVO financialTransactionNegotiableInstrumentVO,
com.bankframe.vo.retail.solutionset.impl.financialtransactions.FinancialTransactionSessionDetailsVO financialTransactionSessionDetailsVO,
java.lang.String userId)
Adds a negotiable instrument to a batch. |
java.util.Vector |
calculateCurrencyBoxVariances(java.util.Vector financialTransactionCashIn)
Calculates CurrencyBoxVariances |
void |
closeCashBox()
close CashBox |
java.util.Vector |
createActualTotalsSnapshot(java.util.Vector financialTransactionCashIn,
java.lang.String snapShotType,
Teller teller,
java.lang.String journalEntryId)
Creates currencyBoxDenominationSnapShot |
void |
creditCashToCashBox(com.bankframe.vo.retail.solutionset.impl.financialtransactions.FinancialTransactionCommonAttributesVO financialTransactionCommonAttributesVO,
java.util.Vector financialTransactionCashIn,
java.lang.String transactionDate,
java.lang.String transactionTime)
Credits cash to the cashbox by updating the CurrencyBox |
void |
debitCashFromCashBox(com.bankframe.vo.retail.solutionset.impl.financialtransactions.FinancialTransactionCommonAttributesVO financialTransactionCommonAttributesVO,
java.util.Vector financialTransactionCashOut,
java.lang.String transactionDate,
java.lang.String transactionTime)
Debit cash from the CashBox |
boolean |
equals(java.lang.Object object)
Compares object |
java.util.Vector |
getAllCurrencyBoxDenominationSnapshotsBySnapshotTypeAndDate(java.lang.String snapshotType,
java.lang.String date)
Returns all currency box denomination snapshots |
java.util.Collection |
getAllCurrencyBoxes()
Returns collection of CurrencyBox |
java.util.Vector |
getAllNegotiableInstrumentBoxesAndNegotiableInstruments()
Returns NegotiableInstrumentBox and NegotiableInstrument details |
java.lang.String |
getAndIncrementNextBatchId()
Returns nextBatchId |
java.lang.String |
getBatchState(java.lang.String batchId,
java.lang.String batchDate)
Checks if a batch has reached its limits. |
java.lang.String |
getBranchCode()
Returns branchCode |
java.lang.String |
getCashBoxId()
Returns cashBoxId |
java.lang.String |
getCashBoxMode()
Returns cashBoxMode |
java.lang.String |
getCashBoxOpen()
Returns cashBoxOpen |
java.lang.String |
getCashBoxStatusIndicator()
Returns cashBoxStatusIndicator |
java.lang.String |
getCashBoxType()
Returns cashBoxType |
java.lang.String |
getCompanyCode()
Returns companyCode |
java.util.Collection |
getCurrency()
Returns collection of CurrencyBox |
java.util.Collection |
getCurrencyDenominations(CurrencyBox currencyBox)
Returns collection of CurrencyDenominations |
java.lang.String |
getLastUsedBy()
Returns lastUsedBy |
java.lang.String |
getLastUsedDate()
Returns lastUsedDate |
java.util.HashMap |
getMapping()
Returns attributes vs. |
NegotiableInstrumentBox |
getNegotiableInstrumentBox(java.lang.String negotiableInstrumentType,
java.lang.String currency)
Returns NegotiableInstrumentBox |
java.lang.String |
getNextBatchId()
Returns nextBatchId |
java.lang.String |
getNextCurrencyBoxId()
Returns nextCurrencyBoxId |
java.util.ArrayList |
getPKAttributes()
Returns collection of primary key attributes |
java.lang.String |
getTableName()
Returns tableName of CashBox |
void |
setBranchCode(java.lang.String branchCode)
Sets branchCode |
void |
setCashBoxId(java.lang.String cashBoxId)
Sets cashBoxId |
void |
setCashBoxMode(java.lang.String cashBoxMode)
Sets cashBoxMode |
void |
setCashBoxOpen()
Sets CashBoxOpen flag to 'Y' |
void |
setCashBoxOpen(java.lang.String cashBoxOpen)
Sets cashBoxOpen |
void |
setCashBoxStatusIndicator()
Sets the cashbox status indicator |
void |
setCashBoxStatusIndicator(java.lang.String cashBoxStatusIndicator)
Sets cashBoxStatusIndicator |
void |
setCashBoxType(java.lang.String cashBoxType)
Sets cashBoxType |
void |
setCompanyCode(java.lang.String companyCode)
Sets companyCode |
void |
setLastUsedBy(java.lang.String lastUsedBy)
Sets lastUsedBy |
void |
setLastUsedBy(java.lang.String userId,
java.lang.String holderPosition)
Sets lastUsedBy |
void |
setLastUsedDate(java.lang.String lastUsedDate)
Sets lastUsedDate |
void |
setNextBatchId(java.lang.String nextBatchId)
Sets nextBatchId |
void |
setNextCurrencyBoxId(java.lang.String nextCurrencyBoxId)
Sets nextCurrencyBoxId |
void |
setStatus()
Sets Status of CashBox |
com.bankframe.bo.DataPacket |
toDataPacket()
Creates dataPacket for CashBox |
java.lang.String |
toString()
Converts DataPacket to String |
void |
updateLastUsedBy(java.lang.String nonPrimaryHolderUserId)
Updates lastUsedBy with the nonPrimaryHolderUserId |
void |
updateNegotiableInstrumentBoxForIncoming(com.bankframe.vo.retail.solutionset.impl.financialtransactions.FinancialTransactionNegotiableInstrumentVO financialTransactionNegotiableInstrumentVO)
Updates totalNumber of NegotiableInstruments for incoming. |
void |
updateNegotiableInstrumentBoxForOutgoing(com.bankframe.vo.retail.solutionset.impl.financialtransactions.FinancialTransactionNegotiableInstrumentVO FinancialTransactionNegotiableInstrumentVO)
Updates NegotiableInstrumentBox for outgoing |
void |
updateNegotiableInstrumentDetails(com.bankframe.vo.retail.solutionset.impl.financialtransactions.FinancialTransactionNegotiableInstrumentVO financialTransactionNegotiableInstrumentVO,
com.bankframe.vo.retail.solutionset.impl.financialtransactions.FinancialTransactionDestinationAccountVO financialTransactionDestinationAccountVO,
com.bankframe.vo.retail.solutionset.impl.financialtransactions.FinancialTransactionSessionDetailsVO financialTransactionSessionDetailsVO)
Adds NegotiableInstrument to the cashbox. |
void |
updateNegotiableInstrumentTransferDetails(com.bankframe.vo.retail.solutionset.impl.financialtransactions.FinancialTransactionNegotiableInstrumentVO financialTransactionNegotiableInstrumentVO,
java.lang.String negotiableInstrumentMovementType,
java.lang.String cashBoxId)
Updates NegotiableInstrument transfer details |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public java.lang.String companyCode
public java.lang.String cashBoxId
public java.lang.String branchCode
public java.lang.String lastUsedBy
public java.lang.String cashBoxType
public java.lang.String cashBoxStatusIndicator
public java.lang.String lastUsedDate
public java.lang.String cashBoxOpen
public java.lang.String cashBoxMode
public java.lang.String nextCurrencyBoxId
public java.lang.String nextBatchId
public static java.util.HashMap MAPPING
public static java.util.ArrayList PK_ATTRBUTES
Constructor Detail |
public CashBox()
Method Detail |
public java.lang.String getCompanyCode()
public java.lang.String getCashBoxId()
public java.lang.String getBranchCode()
public java.lang.String getLastUsedBy()
public java.lang.String getCashBoxType()
public java.lang.String getCashBoxStatusIndicator()
public java.lang.String getLastUsedDate()
public java.lang.String getCashBoxOpen()
public java.lang.String getCashBoxMode()
public java.lang.String getNextCurrencyBoxId()
public java.lang.String getNextBatchId()
public void setCompanyCode(java.lang.String companyCode)
companyCode
- Stringpublic void setCashBoxId(java.lang.String cashBoxId)
cashBoxId
- Stringpublic void setBranchCode(java.lang.String branchCode)
branchCode
- Stringpublic void setLastUsedBy(java.lang.String lastUsedBy)
lastUsedBy
- Stringpublic void setCashBoxType(java.lang.String cashBoxType)
cashBoxType
- Stringpublic void setCashBoxStatusIndicator(java.lang.String cashBoxStatusIndicator)
cashBoxStatusIndicator
- Stringpublic void setLastUsedDate(java.lang.String lastUsedDate)
lastUsedDate
- Stringpublic void setCashBoxOpen(java.lang.String cashBoxOpen)
cashBoxOpen
- Stringpublic void setCashBoxMode(java.lang.String cashBoxMode)
cashBoxMode
- Stringpublic void setNextCurrencyBoxId(java.lang.String nextCurrencyBoxId)
nextCurrencyBoxId
- Stringpublic void setNextBatchId(java.lang.String nextBatchId)
nextBatchId
- Stringpublic java.util.HashMap getMapping()
getMapping
in interface Persisted
public java.util.ArrayList getPKAttributes()
getPKAttributes
in interface Persisted
public java.lang.String getTableName()
getTableName
in interface Persisted
public com.bankframe.bo.DataPacket toDataPacket()
toDataPacket
in interface Persisted
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object object)
equals
in class java.lang.Object
object
- Objectpublic java.util.Collection getAllCurrencyBoxes()
public java.util.Collection getCurrencyDenominations(CurrencyBox currencyBox)
currencyBox
- CurrencyBoxpublic java.util.Collection getCurrency()
public void updateLastUsedBy(java.lang.String nonPrimaryHolderUserId) throws com.bankframe.ejb.ProcessingErrorException, com.bankframe.validation.ValidationException
nonPrimaryHolderUserId
- Stringcom.bankframe.ejb.ProcessingErrorException
- This exception is thrown if processing failscom.bankframe.validation.ValidationException
- This exception is thrown if validation failspublic java.util.Vector calculateCurrencyBoxVariances(java.util.Vector financialTransactionCashIn) throws com.bankframe.ejb.ProcessingErrorException
financialTransactionCashIn
- Vectorcom.bankframe.ejb.ProcessingErrorException
- This exception is thrown if processing failspublic java.util.Vector createActualTotalsSnapshot(java.util.Vector financialTransactionCashIn, java.lang.String snapShotType, Teller teller, java.lang.String journalEntryId) throws com.bankframe.ejb.ProcessingErrorException, com.bankframe.validation.ValidationException
financialTransactionCashIn
- VectorsnapShotType
- Stringteller
- TellerjournalEntryId
- Stringcom.bankframe.validation.ValidationException
- This exception is thrown if validation failscom.bankframe.ejb.ProcessingErrorException
- This exception is thrown if processing failspublic void creditCashToCashBox(com.bankframe.vo.retail.solutionset.impl.financialtransactions.FinancialTransactionCommonAttributesVO financialTransactionCommonAttributesVO, java.util.Vector financialTransactionCashIn, java.lang.String transactionDate, java.lang.String transactionTime) throws com.bankframe.ejb.ProcessingErrorException, com.bankframe.validation.ValidationException
financialTransactionCommonAttributesVO
- FinancialTransactionCommonAttributesVOfinancialTransactionCashIn
- VectortransactionDate
- StringtransactionTime
- Stringcom.bankframe.ejb.ProcessingErrorException
- This exception is thrown if processing failscom.bankframe.validation.ValidationException
- This exception is thrown if validation failspublic void debitCashFromCashBox(com.bankframe.vo.retail.solutionset.impl.financialtransactions.FinancialTransactionCommonAttributesVO financialTransactionCommonAttributesVO, java.util.Vector financialTransactionCashOut, java.lang.String transactionDate, java.lang.String transactionTime) throws com.bankframe.ejb.ProcessingErrorException, com.bankframe.validation.ValidationException
financialTransactionCommonAttributesVO
- FinancialTransactionCommonAttributesVOfinancialTransactionCashOut
- VectortransactionDate
- StringtransactionTime
- Stringcom.bankframe.ejb.ProcessingErrorException
- This exception is thrown if processing failspublic java.lang.String addNegotiableInstrumentToBatch(com.bankframe.vo.retail.solutionset.impl.financialtransactions.FinancialTransactionNegotiableInstrumentVO financialTransactionNegotiableInstrumentVO, com.bankframe.vo.retail.solutionset.impl.financialtransactions.FinancialTransactionSessionDetailsVO financialTransactionSessionDetailsVO, java.lang.String userId) throws com.bankframe.ejb.ProcessingErrorException, com.bankframe.validation.ValidationException
financialTransactionNegotiableInstrumentVO
- FinancialTransactionNegotiableInstrumentVOfinancialTransactionSessionDetailsVO
- FinancialTransactionSessionDetailsVOuserId
- Stringcom.bankframe.ejb.ProcessingErrorException
- This exception is thrown if processing failscom.bankframe.validation.ValidationException
- This exception is thrown if validation failspublic java.lang.String getAndIncrementNextBatchId() throws com.bankframe.ejb.ProcessingErrorException, com.bankframe.validation.ValidationException
com.bankframe.ejb.ProcessingErrorException
- This exception is thrown if processing failscom.bankframe.validation.ValidationException
- This exception is thrown if validation failspublic java.lang.String getBatchState(java.lang.String batchId, java.lang.String batchDate) throws com.bankframe.ejb.ProcessingErrorException, com.bankframe.validation.ValidationException
batchId
- StringbatchDate
- Stringcom.bankframe.ejb.ProcessingErrorException
- This exception is thrown if processing failscom.bankframe.validation.ValidationException
- This exception is thrown if validation failspublic void updateNegotiableInstrumentDetails(com.bankframe.vo.retail.solutionset.impl.financialtransactions.FinancialTransactionNegotiableInstrumentVO financialTransactionNegotiableInstrumentVO, com.bankframe.vo.retail.solutionset.impl.financialtransactions.FinancialTransactionDestinationAccountVO financialTransactionDestinationAccountVO, com.bankframe.vo.retail.solutionset.impl.financialtransactions.FinancialTransactionSessionDetailsVO financialTransactionSessionDetailsVO) throws com.bankframe.ejb.ProcessingErrorException, com.bankframe.validation.ValidationException
financialTransactionNegotiableInstrumentVO
- FinancialTransactionNegotiableInstrumentVOfinancialTransactionDestinationAccountVO
- FinancialTransactionDestinationAccountVOfinancialTransactionSessionDetailsVO
- FinancialTransactionSessionDetailsVOcom.bankframe.ejb.ProcessingErrorException
- This exception is thrown if processing failscom.bankframe.validation.ValidationException
- This exception is thrown if validation failspublic void updateNegotiableInstrumentBoxForOutgoing(com.bankframe.vo.retail.solutionset.impl.financialtransactions.FinancialTransactionNegotiableInstrumentVO FinancialTransactionNegotiableInstrumentVO) throws com.bankframe.ejb.ProcessingErrorException, com.bankframe.validation.ValidationException
FinancialTransactionNegotiableInstrumentVO
- FinancialTransactionNegotiableInstrumentVOcom.bankframe.ejb.ProcessingErrorException
- This exception is thrown if processing failscom.bankframe.validation.ValidationException
- This exception is thrown if validation failspublic NegotiableInstrumentBox getNegotiableInstrumentBox(java.lang.String negotiableInstrumentType, java.lang.String currency) throws com.bankframe.ejb.ProcessingErrorException, com.bankframe.validation.ValidationException
negotiableInstrumentType
- Stringcurrency
- Stringcom.bankframe.ejb.ProcessingErrorException
- This exception is thrown if processing failscom.bankframe.validation.ValidationException
- This exception is thrown if validation failspublic java.util.Vector getAllNegotiableInstrumentBoxesAndNegotiableInstruments() throws com.bankframe.ejb.ProcessingErrorException, com.bankframe.validation.ValidationException
com.bankframe.ejb.ProcessingErrorException
- This exception is thrown if processing failscom.bankframe.validation.ValidationException
- This exception is thrown if validation failspublic void updateNegotiableInstrumentBoxForIncoming(com.bankframe.vo.retail.solutionset.impl.financialtransactions.FinancialTransactionNegotiableInstrumentVO financialTransactionNegotiableInstrumentVO) throws com.bankframe.ejb.ProcessingErrorException, com.bankframe.validation.ValidationException
financialTransactionNegotiableInstrumentVO
- FinancialTransactionNegotiableInstrumentVOcom.bankframe.ejb.ProcessingErrorException
- This exception is thrown if processing failscom.bankframe.validation.ValidationException
- This exception is thrown if validation failspublic void setLastUsedBy(java.lang.String userId, java.lang.String holderPosition) throws com.bankframe.validation.ValidationException
userId
- StringholderPosition
- Stringcom.bankframe.validation.ValidationException
- This exception is thrown if validation failspublic void setStatus() throws com.bankframe.validation.ValidationException
com.bankframe.validation.ValidationException
- This exception is thrown if validation failspublic void setCashBoxOpen() throws com.bankframe.validation.ValidationException
com.bankframe.validation.ValidationException
- This exception is thrown if validation failspublic java.util.Vector getAllCurrencyBoxDenominationSnapshotsBySnapshotTypeAndDate(java.lang.String snapshotType, java.lang.String date) throws com.bankframe.ejb.ProcessingErrorException, com.bankframe.validation.ValidationException
snapshotType
- Stringdate
- Stringcom.bankframe.ejb.ProcessingErrorException
- This exception is thrown if processing failscom.bankframe.validation.ValidationException
- This exception is thrown if validation failspublic void setCashBoxStatusIndicator() throws com.bankframe.ejb.ProcessingErrorException, com.bankframe.validation.ValidationException
com.bankframe.ejb.ProcessingErrorException
- This exception is thrown if processing fails.com.bankframe.validation.ValidationException
- This exception is thrown if validation failspublic void closeCashBox() throws com.bankframe.validation.ValidationException
com.bankframe.validation.ValidationException
- This exception is thrown if validation failspublic void updateNegotiableInstrumentTransferDetails(com.bankframe.vo.retail.solutionset.impl.financialtransactions.FinancialTransactionNegotiableInstrumentVO financialTransactionNegotiableInstrumentVO, java.lang.String negotiableInstrumentMovementType, java.lang.String cashBoxId) throws com.bankframe.ejb.ProcessingErrorException, com.bankframe.validation.ValidationException
financialTransactionNegotiableInstrumentVO
- FinancialTransactionNegotiableInstrumentVOnegotiableInstrumentMovementType
- StringcashBoxId
- Stringcom.bankframe.ejb.ProcessingErrorException
- This exception is thrown if validation failscom.bankframe.validation.ValidationException
- This exception is thrown if validation fails
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |