|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CashManagementService
This service interface defines methods that a CashManagementService implementation must provide.
| Method Summary | |
|---|---|
void |
addDeposit(CashManagementDocument cashManagementDoc,
String depositTicketNumber,
Bank bank,
List selectedCashReceipts,
List selectedCashieringChecks,
boolean isFinalDeposit)
Uses the given information to lock the appropriate CashDrawer, create a Deposit, and associate it with the given CashManagementDocument and CashReceipts. |
boolean |
allowDocumentCancellation(CashManagementDocument cmDoc)
This method determines whether or not the given cash management document can be canceled. |
boolean |
allVerifiedCashReceiptsAreDeposited(CashManagementDocument cmDoc)
This method verifies that all cash receipts for the document are deposited. |
void |
applyCashieringTransaction(CashManagementDocument cmDoc)
Apply a cashiering transaction to a cash management document. |
org.kuali.rice.kns.util.KualiDecimal |
calculateDepositedCheckTotal(String documentNumber)
Total up the amounts of all checks so far deposited as part of the given cash management document. |
org.kuali.rice.kns.util.KualiDecimal |
calculateUndepositedCheckTotal(String documentNumber)
Total up the amounts of all cashiering checks not yet deposited as part of the given cash management document. |
void |
cancelCashManagementDocument(CashManagementDocument cmDoc)
Cancels the given CashManagementDocument, canceling the Deposits it contains and closing the CashDrawer associated with the given verification unit. |
void |
cancelDeposit(Deposit deposit)
Cancels the given Deposit, updating the related CashManagementDocument, CashReceipts, and CashDrawer as needed |
CashManagementDocument |
createCashManagementDocument(String campusCode,
String docDescription,
String annotation)
Creates and returns a CashManagementDocument, opening the CashDrawer associated with the given verification unit. |
void |
createNewCashDetails(CashManagementDocument cmDoc,
String cashieringSource)
This method creates new cumulative currency and coin details for a document. |
void |
finalizeCashManagementDocument(CashManagementDocument cmDoc)
Finalizes the given CashManagementDocument, updating the status of the CashReceipt documents in the Deposits it contains and closing the CashDrawer associated with the given verification unit. |
void |
finalizeLastInterimDeposit(CashManagementDocument cmDoc)
This method turns the last interim deposit into the final deposit and locks the cash drawer. |
CoinDetail |
generateMasterCoinDetail(CashManagementDocument cmDoc)
This generates the "master" coin detail record - a composite of all the coin detail activity that occurred to the cash drawer. |
CurrencyDetail |
generateMasterCurrencyDetail(CashManagementDocument cmDoc)
Generates the master currency detail, which sounds bad, but which is really just okay. |
Map<Class,Object> |
getCashDetailsForFinalDeposit(String documentNumber)
This returns the currency and coin details for the final deposit, in a map keyed on the detail class This returns the currency and coin details for the final deposit, in a map keyed on the detail class. |
CashManagementDocument |
getCashManagementDocumentForCashReceiptId(String documentId)
Retrieves a CashManagementDocument instance associated with the cash receipt id provided. |
List<CashieringItemInProcess> |
getOpenItemsInProcess(CashManagementDocument cmDoc)
Retrieve the open cashiering items in process for the given cash management document. |
List<CashieringItemInProcess> |
getRecentlyClosedItemsInProcess(CashManagementDocument cmDoc)
Returns all items in process associated with this workgroup, closed within the past 30 days |
void |
populateCashDetailsForDeposit(CashManagementDocument cmDoc)
Grab the currency and coin detail for final deposits. |
List |
retrieveCashReceipts(Deposit deposit)
Returns a List of all CashReceipts associated with the given Deposit. |
List<Check> |
selectCashieringChecksForDeposit(String documentNumber,
Integer depositLineNumber)
Retrieves from the database all cashiering transaction checks deposited for a given deposit. |
List<Check> |
selectDepositedCashieringChecks(String documentNumber)
Retrieves from the database all deposited cashiering transaction checks associated with the given cash management document number. |
Integer |
selectNextAvailableCheckLineNumber(String documentNumber)
Select the next available check line number for the given cash management document. |
List<Check> |
selectUndepositedCashieringChecks(String documentNumber)
Retrieves from the database any undeposited cashiering transaction checks associated with the given cash management document. |
boolean |
verifyCashReceiptIsDeposited(CashManagementDocument cmDoc,
CashReceiptDocument crDoc)
Verifies if a given cash receipt is deposited as part of the given cash management document. |
| Method Detail |
|---|
CashManagementDocument createCashManagementDocument(String campusCode,
String docDescription,
String annotation)
campusCode - docDescription - annotation -
void addDeposit(CashManagementDocument cashManagementDoc,
String depositTicketNumber,
Bank bank,
List selectedCashReceipts,
List selectedCashieringChecks,
boolean isFinalDeposit)
cashManagementDoc - depositTicketNumber - bank - selectedCashReceipts - isFinalDeposit - void cancelDeposit(Deposit deposit)
deposit - void cancelCashManagementDocument(CashManagementDocument cmDoc)
cmDoc - void finalizeCashManagementDocument(CashManagementDocument cmDoc)
cmDoc - CashManagementDocument getCashManagementDocumentForCashReceiptId(String documentId)
documentId - The id of the cash receipt document associated with the cash management document.
List retrieveCashReceipts(Deposit deposit)
deposit - The deposit the cash receipts will be retrieved from.
void applyCashieringTransaction(CashManagementDocument cmDoc)
cmDoc - The transaction to apply to the cash management document.cashieringTransaction - The transaction being applied to the cash management document.List<CashieringItemInProcess> getOpenItemsInProcess(CashManagementDocument cmDoc)
cmDoc - The cash management document to retrieve the items in process for.
List<CashieringItemInProcess> getRecentlyClosedItemsInProcess(CashManagementDocument cmDoc)
cmDoc - The cash management document which is associated with the workgroup that the closed items in process would have also been associated with.
CurrencyDetail generateMasterCurrencyDetail(CashManagementDocument cmDoc)
cmDoc - The cash management document to generate the master record for.
CoinDetail generateMasterCoinDetail(CashManagementDocument cmDoc)
cmDoc - The cash management document to generate the master record for.
boolean verifyCashReceiptIsDeposited(CashManagementDocument cmDoc,
CashReceiptDocument crDoc)
cmDoc - The cash management document to search through.crDoc - The cash receipt to check the deposited status of.
boolean allVerifiedCashReceiptsAreDeposited(CashManagementDocument cmDoc)
cmDoc - The cash management document to verify.
void finalizeLastInterimDeposit(CashManagementDocument cmDoc)
cmDoc - The cash management document to take deposits from for finalization.
void createNewCashDetails(CashManagementDocument cmDoc,
String cashieringSource)
cmDoc - The cash management document the cumulative details will be associated with.cashieringSource - The cashiering record source for the new details.void populateCashDetailsForDeposit(CashManagementDocument cmDoc)
cmDoc - The cash management document which has deposits to populate.List<Check> selectUndepositedCashieringChecks(String documentNumber)
documentNumber - The document number of a cash management document that cashiering transaction checks may be associated with.
List<Check> selectDepositedCashieringChecks(String documentNumber)
documentNumber - The document number of a cash management document that cashiering transaction checks may be associated with.
List<Check> selectCashieringChecksForDeposit(String documentNumber,
Integer depositLineNumber)
documentNumber - The document number of a cash management document that cashiering transaction checks have been deposited for.depositLineNumber - The line number of the deposit to find checks deposited for.
org.kuali.rice.kns.util.KualiDecimal calculateDepositedCheckTotal(String documentNumber)
documentNumber - The id of a cash management document.
org.kuali.rice.kns.util.KualiDecimal calculateUndepositedCheckTotal(String documentNumber)
documentNumber - The id of a cash management document.
boolean allowDocumentCancellation(CashManagementDocument cmDoc)
cmDoc - The cash management document to be canceled.
Integer selectNextAvailableCheckLineNumber(String documentNumber)
documentNumber - The document number of a cash management document.
Map<Class,Object> getCashDetailsForFinalDeposit(String documentNumber)
documentNumber - The document number to find the final deposit cash details for.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||