Java Doc for CashDrawerService.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.CashDrawerService

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




Method Summary
public  voidcloseCashDrawer(String workgroupName)
     Closes the CashDrawer instance associated with the given workgroupName, creating one if necessary.
public  voidcloseCashDrawer(CashDrawer cd)
    
public  CashDrawergetByWorkgroupName(String workgroupName, boolean autocreate)
     Retrieves the CashDrawer instance associated with the given workgroupName, if any.
public  KualiDecimalgetCoinTotal(CashDrawer drawer)
     Calculates the total amount of all the coins in the drawer.
public  KualiDecimalgetCurrencyTotal(CashDrawer drawer)
     Calculates the total amount of all the currency in the drawer.
public  voidlockCashDrawer(String workgroupName, String documentId)
     Locks the currently-open CashDrawer instance associated with the given workgroupName, throwing an IllegalStateException if that cashDrawer is not open (i.e.
public  voidlockCashDrawer(CashDrawer cd, String documentId)
    
public  CashDraweropenCashDrawer(String workgroupName, String documentId)
     Opens the CashDrawer instance associated with the given workgroupName, creating one if necessary.
public  CashDraweropenCashDrawer(CashDrawer cd, String documentId)
    
public  voidunlockCashDrawer(String workgroupName, String documentId)
     Unlocks the currently-locked CashDrawer instance associated with the given workgroupName, throwing an IllegalStateException if that cashDrawer is not locked (i.e.
public  voidunlockCashDrawer(CashDrawer cd, String documentId)
    



Method Detail
closeCashDrawer
public void closeCashDrawer(String workgroupName)(Code)
Closes the CashDrawer instance associated with the given workgroupName, creating one if necessary.
Parameters:
  workgroupName - The workgroup name used to retrieve the cash drawer to be closed.



closeCashDrawer
public void closeCashDrawer(CashDrawer cd)(Code)
Closes the cash drawer associated with the given document
Parameters:
  cd - The cash drawer to closed.



getByWorkgroupName
public CashDrawer getByWorkgroupName(String workgroupName, boolean autocreate)(Code)
Retrieves the CashDrawer instance associated with the given workgroupName, if any. If autocreate is true, and no CashDrawer for the given workgroupName exists, getByWorkgroupName will return a newly-created (non-persisted) CashDrawer instance.
Parameters:
  workgroupName - The workgroup name used to retrieve the cash drawer.
Parameters:
  autocreate - Identifies whether or not a new cash drawer will be created if one does not already exist for the workgroup name provided. CashDrawer instance or null



getCoinTotal
public KualiDecimal getCoinTotal(CashDrawer drawer)(Code)
Calculates the total amount of all the coins in the drawer.
Parameters:
  drawer - The drawer to calculate the coin total from. The summed value of coins in the drawer.



getCurrencyTotal
public KualiDecimal getCurrencyTotal(CashDrawer drawer)(Code)
Calculates the total amount of all the currency in the drawer. NOTE: The value returned only refers to paper currency in the drawer and does not include coin amounts.
Parameters:
  drawer - The cash drawer to calculate the currency total from. The summed amount of currency in the cash drawer.



lockCashDrawer
public void lockCashDrawer(String workgroupName, String documentId)(Code)
Locks the currently-open CashDrawer instance associated with the given workgroupName, throwing an IllegalStateException if that cashDrawer is not open (i.e. is closed or locked). Records the given documentId as the document which locked the cashDrawer.
Parameters:
  workgroupName - The workgroup name used to retrieve the cash drawer to be locked.
Parameters:
  documentId - The id of the document used to lock the cash drawer.



lockCashDrawer
public void lockCashDrawer(CashDrawer cd, String documentId)(Code)
Locks the given cash drawer, if it is open
Parameters:
  cd - The cash drawer to open
Parameters:
  documentId - The document id which is locking the cash drawer



openCashDrawer
public CashDrawer openCashDrawer(String workgroupName, String documentId)(Code)
Opens the CashDrawer instance associated with the given workgroupName, creating one if necessary. Records the given documentId as the document which opened the cashdrawer.
Parameters:
  workgroupName - The workgroup name to be used to retrieve the cash drawer to be closed.
Parameters:
  documentId - The id of the document used to open the cash drawer. The opened version of the cash drawer.



openCashDrawer
public CashDrawer openCashDrawer(CashDrawer cd, String documentId)(Code)
Opens the given cash drawer
Parameters:
  cd - The cash drawer to open
Parameters:
  documentId - the document number which is opening the cash drawer The opened version of the cash drawer



unlockCashDrawer
public void unlockCashDrawer(String workgroupName, String documentId)(Code)
Unlocks the currently-locked CashDrawer instance associated with the given workgroupName, throwing an IllegalStateException if that cashDrawer is not locked (i.e. is closed or open). Records the given documentId as the document which unlocked the cashDrawer.
Parameters:
  workgroupName - The workgroup name used to retrieve the cash drawer to be unlocked.
Parameters:
  documentId - The id of the document used to unlock the cash drawer.



unlockCashDrawer
public void unlockCashDrawer(CashDrawer cd, String documentId)(Code)
Unlocks the given cash drawer, if it is open and locked
Parameters:
  cd - The cash drawer to unlock
Parameters:
  documentId - The document which is unlocking the cash drawer



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