Source Code Cross Referenced for BankApplication.java in  » Database-ORM » Speedo_1.4.5 » bank » 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 » Database ORM » Speedo_1.4.5 » bank 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        package bank;
002:
003:        import javax.ejb.EJBObject;
004:        import java.rmi.RemoteException;
005:        import java.util.List;
006:
007:        /**
008:         * @author S.Chassande-Barrioz
009:         */
010:        public interface BankApplication extends EJBObject {
011:
012:            // Agencies management
013:            //--------------------
014:
015:            /**
016:             * Create a new Bank in the bank
017:             * @param name is the name of the agency
018:             */
019:            void createAgency(String name) throws RemoteException;
020:
021:            /**
022:             * Retrieves a list of agency names.
023:             * @return list of String
024:             */
025:            List getAgencies() throws RemoteException;
026:
027:            /**
028:             * Removes an agency only if this agency does not have any client
029:             * @param name is the name of the agency to remove
030:             * @return true if the agency was removed
031:             */
032:            boolean removeAgency(String name) throws RemoteException;
033:
034:            // Clients management
035:            //--------------------
036:
037:            /**
038:             * Create a Client in an agency
039:             * @param cid is a client identifier (last name, first name and address)
040:             * @param agencyName the the name of the agency of the new client
041:             */
042:            void createClient(ClientId cid, String agencyName)
043:                    throws RemoteException;
044:
045:            /**
046:             * Retrieves a list of ClientId instance corresponding to the clients of
047:             * an agency.
048:             * @param agencyName is the name of the agency
049:             * @return list of ClientId
050:             */
051:            List getClients(String agencyName) throws RemoteException;
052:
053:            /**
054:             * Removes a client from an agency only if the client does not have any Account
055:             * @param agencyName is the name of the agency hosting the client
056:             * @param cid is a client identifier
057:             * @return true if the client was removed
058:             */
059:            boolean removeClient(String agencyName, ClientId cid)
060:                    throws RemoteException;
061:
062:            // Accounts management
063:            //--------------------
064:
065:            /**
066:             * Create a new Account for a client of an agency
067:             * @param cid is a client identifier (last name, first name and address),
068:             * the owner of the new account.
069:             * @param agencyName the name of the agency of the client
070:             * @return the account number
071:             */
072:            String createAccount(ClientId cid, String agencyName)
073:                    throws RemoteException;
074:
075:            /**
076:             * Retrieves information about an account of a client in an agency
077:             * @param number is the account number
078:             * @param cid is the client identifier
079:             * @param agencyName is the name of the agency
080:             */
081:            AccountInfo getAccountInfo(String number, ClientId cid,
082:                    String agencyName) throws RemoteException;
083:
084:            /**
085:             * Retrieves a list of account for client.
086:             * @param agencyName is the name of the agency
087:             * @param cid is the client identifier
088:             * @return list of AccountInfo instance
089:             */
090:            List getAccounts(String agencyName, ClientId cid)
091:                    throws RemoteException;
092:
093:            /**
094:             * Closes a account of a client.
095:             * @param agencyName is the agency name
096:             * @param cid is a client identifier
097:             * @param accountNumber is the number of account to close
098:             * @return a AccountInfo if the account was removed. The accountInfo
099:             * instance contains the value of the account. If the account does not exist
100:             * a null value is returned
101:             */
102:            AccountInfo closeAccount(String agencyName, ClientId cid,
103:                    String accountNumber) throws RemoteException;
104:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.