Java Doc for CashManagementService.java in  » ERP-CRM-Financial » Kuali-Financial-System » org » kuali » module » financial » service » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » ERP CRM Financial » Kuali Financial System » org.kuali.module.financial.service 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.kuali.module.financial.service.CashManagementService

All known Subclasses:   org.kuali.module.financial.service.impl.CashManagementServiceImpl,
CashManagementService
public interface CashManagementService (Code)
This service interface defines methods that a CashManagementService implementation must provide.




Method Summary
public  voidaddDeposit(CashManagementDocument cashManagementDoc, String depositTicketNumber, BankAccount bankAccount, 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.
public  booleanallVerifiedCashReceiptsAreDeposited(CashManagementDocument cmDoc)
     This method verifies that all cash receipts for the document are deposited.
Parameters:
  cmDoc - The cash management document to verify.
public  booleanallowDocumentCancellation(CashManagementDocument cmDoc)
     This method determines whether or not the given cash management document can be canceled.
Parameters:
  cmDoc - The cash management document to be canceled.
public  voidapplyCashieringTransaction(CashManagementDocument cmDoc)
     Apply a cashiering transaction to a cash management document.
public  KualiDecimalcalculateDepositedCheckTotal(String documentNumber)
     Total up the amounts of all checks so far deposited as part of the given cash management document.
Parameters:
  documentNumber - The id of a cash management document.
public  KualiDecimalcalculateUndepositedCheckTotal(String documentNumber)
     Total up the amounts of all cashiering checks not yet deposited as part of the given cash management document.
Parameters:
  documentNumber - The id of a cash management document.
public  voidcancelCashManagementDocument(CashManagementDocument cmDoc)
     Cancels the given CashManagementDocument, canceling the Deposits it contains and closing the CashDrawer associated with the given verification unit.
public  voidcancelDeposit(Deposit deposit)
    
public  CashManagementDocumentcreateCashManagementDocument(String workgroupName, String docDescription, String annotation)
     Creates and returns a CashManagementDocument, opening the CashDrawer associated with the given verification unit.
public  voidcreateNewCashDetails(CashManagementDocument cmDoc, String cashieringSource)
     This method creates new cumulative currency and coin details for a document.
public  voidfinalizeCashManagementDocument(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.
public  voidfinalizeLastInterimDeposit(CashManagementDocument cmDoc)
     This method turns the last interim deposit into the final deposit and locks the cash drawer.
public  CoinDetailgenerateMasterCoinDetail(CashManagementDocument cmDoc)
     This generates the "master" coin detail record - a composite of all the coin detail activity that occurred to the cash drawer.
Parameters:
  cmDoc - The cash management document to generate the master record for.
public  CurrencyDetailgenerateMasterCurrencyDetail(CashManagementDocument cmDoc)
     Generates the master currency detail, which sounds bad, but which is really just okay. A master currency detail is the composite effect of all the transactions of a cash management document on a cash drawer.
Parameters:
  cmDoc - The cash management document to generate the master record for.
public  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.
Parameters:
  documentNumber - The document number to find the final deposit cash details for.
public  CashManagementDocumentgetCashManagementDocumentForCashReceiptId(String documentId)
     Retrieves a CashManagementDocument instance associated with the cash receipt id provided.
public  List<CashieringItemInProcess>getOpenItemsInProcess(CashManagementDocument cmDoc)
     Retrieve the open cashiering items in process for the given cash management document.
Parameters:
  cmDoc - The cash management document to retrieve the items in process for.
public  List<CashieringItemInProcess>getRecentlyClosedItemsInProcess(CashManagementDocument cmDoc)
     Returns all items in process associated with this workgroup, closed within the past 30 days
Parameters:
  cmDoc - The cash management document which is associated with the workgroup that the closed items in process would have also been associated with.
public  voidpopulateCashDetailsForDeposit(CashManagementDocument cmDoc)
     Grab the currency and coin detail for final deposits.
public  ListretrieveCashReceipts(Deposit deposit)
     Returns a List of all CashReceipts associated with the given Deposit.
Parameters:
  deposit - The deposit the cash receipts will be retrieved from.
public  List<Check>selectCashieringChecksForDeposit(String documentNumber, Integer depositLineNumber)
     Retrieves from the database all cashiering transaction checks deposited for a given deposit.
Parameters:
  documentNumber - The document number of a cash management document that cashiering transaction checks have been deposited for.
Parameters:
  depositLineNumber - The line number of the deposit to find checks deposited for.
public  List<Check>selectDepositedCashieringChecks(String documentNumber)
     Retrieves from the database all deposited cashiering transaction checks associated with the given cash management document number.
Parameters:
  documentNumber - The document number of a cash management document that cashiering transaction checks may be associated with.
public  IntegerselectNextAvailableCheckLineNumber(String documentNumber)
     Select the next available check line number for the given cash management document.
Parameters:
  documentNumber - The document number of a cash management document.
public  List<Check>selectUndepositedCashieringChecks(String documentNumber)
     Retrieves from the database any undeposited cashiering transaction checks associated with the given cash management document.
Parameters:
  documentNumber - The document number of a cash management document that cashiering transaction checks may be associated with.
public  booleanverifyCashReceiptIsDeposited(CashManagementDocument cmDoc, CashReceiptDocument crDoc)
     Verifies if a given cash receipt is deposited as part of the given cash management document.
Parameters:
  cmDoc - The cash management document to search through.
Parameters:
  crDoc - The cash receipt to check the deposited status of.



Method Detail
addDeposit
public void addDeposit(CashManagementDocument cashManagementDoc, String depositTicketNumber, BankAccount bankAccount, List selectedCashReceipts, List selectedCashieringChecks, boolean isFinalDeposit)(Code)
Uses the given information to lock the appropriate CashDrawer, create a Deposit, and associate it with the given CashManagementDocument and CashReceipts.
Parameters:
  cashManagementDoc -
Parameters:
  depositTicketNumber -
Parameters:
  bankAccount -
Parameters:
  selectedCashReceipts -
Parameters:
  isFinalDeposit -



allVerifiedCashReceiptsAreDeposited
public boolean allVerifiedCashReceiptsAreDeposited(CashManagementDocument cmDoc)(Code)
This method verifies that all cash receipts for the document are deposited.
Parameters:
  cmDoc - The cash management document to verify. True if all CRs are deposited, false if otherwise.



allowDocumentCancellation
public boolean allowDocumentCancellation(CashManagementDocument cmDoc)(Code)
This method determines whether or not the given cash management document can be canceled.
Parameters:
  cmDoc - The cash management document to be canceled. True if cancellation is possible, false if otherwise.



applyCashieringTransaction
public void applyCashieringTransaction(CashManagementDocument cmDoc)(Code)
Apply a cashiering transaction to a cash management document. This means: 0. check rules??? 1. Updating the cash drawer with any incoming currency and coin 2. Moving any checks from the transaction to the CM document 3. Checking if any items in process were closed; if so, saving that info 4. Saving currency and coin records 5. Saving any new item in process 6. saving any checks
Parameters:
  cmDoc - The transaction to apply to the cash management document.
Parameters:
  cashieringTransaction - The transaction being applied to the cash management document.



calculateDepositedCheckTotal
public KualiDecimal calculateDepositedCheckTotal(String documentNumber)(Code)
Total up the amounts of all checks so far deposited as part of the given cash management document.
Parameters:
  documentNumber - The id of a cash management document. The total of cashiering checks deposited so far as part of that document.



calculateUndepositedCheckTotal
public KualiDecimal calculateUndepositedCheckTotal(String documentNumber)(Code)
Total up the amounts of all cashiering checks not yet deposited as part of the given cash management document.
Parameters:
  documentNumber - The id of a cash management document. The total of cashiering checks not yet deposited as part of that document.



cancelCashManagementDocument
public void cancelCashManagementDocument(CashManagementDocument cmDoc)(Code)
Cancels the given CashManagementDocument, canceling the Deposits it contains and closing the CashDrawer associated with the given verification unit. Called in response to a workflow CANCEL request, so this method doesn't invoke workflow itself.
Parameters:
  cmDoc -



cancelDeposit
public void cancelDeposit(Deposit deposit)(Code)
Cancels the given Deposit, updating the related CashManagementDocument, CashReceipts, and CashDrawer as needed
Parameters:
  deposit -



createCashManagementDocument
public CashManagementDocument createCashManagementDocument(String workgroupName, String docDescription, String annotation)(Code)
Creates and returns a CashManagementDocument, opening the CashDrawer associated with the given verification unit.
Parameters:
  workgroupName -
Parameters:
  docDescription -
Parameters:
  annotation - A properly initialized CashManagementDocument instance.



createNewCashDetails
public void createNewCashDetails(CashManagementDocument cmDoc, String cashieringSource)(Code)
This method creates new cumulative currency and coin details for a document.
Parameters:
  cmDoc - The cash management document the cumulative details will be associated with.
Parameters:
  cashieringSource - The cashiering record source for the new details.



finalizeCashManagementDocument
public void finalizeCashManagementDocument(CashManagementDocument cmDoc)(Code)
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. Called in response to a workflow document status change, so this method doesn't invoke workflow itself.
Parameters:
  cmDoc -



finalizeLastInterimDeposit
public void finalizeLastInterimDeposit(CashManagementDocument cmDoc)(Code)
This method turns the last interim deposit into the final deposit and locks the cash drawer.
Parameters:
  cmDoc - The cash management document to take deposits from for finalization.



generateMasterCoinDetail
public CoinDetail generateMasterCoinDetail(CashManagementDocument cmDoc)(Code)
This generates the "master" coin detail record - a composite of all the coin detail activity that occurred to the cash drawer.
Parameters:
  cmDoc - The cash management document to generate the master record for. The master coin detail record. "Master" in the sense of "Platonic ideal" from whichall else is a copy.



generateMasterCurrencyDetail
public CurrencyDetail generateMasterCurrencyDetail(CashManagementDocument cmDoc)(Code)
Generates the master currency detail, which sounds bad, but which is really just okay. A master currency detail is the composite effect of all the transactions of a cash management document on a cash drawer.
Parameters:
  cmDoc - The cash management document to generate the master record for. The master currency detail record. "Master" in the sense of "Platonic ideal" from whichall else is a copy.



getCashDetailsForFinalDeposit
public Map<Class, Object> getCashDetailsForFinalDeposit(String documentNumber)(Code)
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.
Parameters:
  documentNumber - The document number to find the final deposit cash details for. A map with the cash details in it.



getCashManagementDocumentForCashReceiptId
public CashManagementDocument getCashManagementDocumentForCashReceiptId(String documentId)(Code)
Retrieves a CashManagementDocument instance associated with the cash receipt id provided.
Parameters:
  documentId - The id of the cash receipt document associated with the cash management document. CashManagementDocument which contains the Deposit which contains the given CashReceipt, or null if the CashReceipt isnot contained in a Deposit



getOpenItemsInProcess
public List<CashieringItemInProcess> getOpenItemsInProcess(CashManagementDocument cmDoc)(Code)
Retrieve the open cashiering items in process for the given cash management document.
Parameters:
  cmDoc - The cash management document to retrieve the items in process for. A list of all open items in process.



getRecentlyClosedItemsInProcess
public List<CashieringItemInProcess> getRecentlyClosedItemsInProcess(CashManagementDocument cmDoc)(Code)
Returns all items in process associated with this workgroup, closed within the past 30 days
Parameters:
  cmDoc - The cash management document which is associated with the workgroup that the closed items in process would have also been associated with. A list of any items in process recently closed.



populateCashDetailsForDeposit
public void populateCashDetailsForDeposit(CashManagementDocument cmDoc)(Code)
Grab the currency and coin detail for final deposits.
Parameters:
  cmDoc - The cash management document which has deposits to populate.



retrieveCashReceipts
public List retrieveCashReceipts(Deposit deposit)(Code)
Returns a List of all CashReceipts associated with the given Deposit.
Parameters:
  deposit - The deposit the cash receipts will be retrieved from. List the of CashReceipts associated with given deposit.



selectCashieringChecksForDeposit
public List<Check> selectCashieringChecksForDeposit(String documentNumber, Integer depositLineNumber)(Code)
Retrieves from the database all cashiering transaction checks deposited for a given deposit.
Parameters:
  documentNumber - The document number of a cash management document that cashiering transaction checks have been deposited for.
Parameters:
  depositLineNumber - The line number of the deposit to find checks deposited for. A list of checks associated with the given deposit.



selectDepositedCashieringChecks
public List<Check> selectDepositedCashieringChecks(String documentNumber)(Code)
Retrieves from the database all deposited cashiering transaction checks associated with the given cash management document number.
Parameters:
  documentNumber - The document number of a cash management document that cashiering transaction checks may be associated with. A list of deposited cashiering checks associated with the document number given.



selectNextAvailableCheckLineNumber
public Integer selectNextAvailableCheckLineNumber(String documentNumber)(Code)
Select the next available check line number for the given cash management document.
Parameters:
  documentNumber - The document number of a cash management document. The next available check line number for cashiering checks.



selectUndepositedCashieringChecks
public List<Check> selectUndepositedCashieringChecks(String documentNumber)(Code)
Retrieves from the database any undeposited cashiering transaction checks associated with the given cash management document.
Parameters:
  documentNumber - The document number of a cash management document that cashiering transaction checks may be associated with. A list of checks associated with the document number given.



verifyCashReceiptIsDeposited
public boolean verifyCashReceiptIsDeposited(CashManagementDocument cmDoc, CashReceiptDocument crDoc)(Code)
Verifies if a given cash receipt is deposited as part of the given cash management document.
Parameters:
  cmDoc - The cash management document to search through.
Parameters:
  crDoc - The cash receipt to check the deposited status of. true If the given cash receipt document is deposited as part of the given cash management document, false if otherwise.



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.