Java Doc 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 Reference  Class Diagram Java Document (Java Doc) 


bank.BankApplication

BankApplication
public interface BankApplication extends EJBObject(Code)

author:
   S.Chassande-Barrioz




Method Summary
 AccountInfocloseAccount(String agencyName, ClientId cid, String accountNumber)
     Closes a account of a client.
Parameters:
  agencyName - is the agency name
Parameters:
  cid - is a client identifier
Parameters:
  accountNumber - is the number of account to close a AccountInfo if the account was removed.
 StringcreateAccount(ClientId cid, String agencyName)
    
 voidcreateAgency(String name)
    
 voidcreateClient(ClientId cid, String agencyName)
    
 AccountInfogetAccountInfo(String number, ClientId cid, String agencyName)
    
 ListgetAccounts(String agencyName, ClientId cid)
     Retrieves a list of account for client.
 ListgetAgencies()
     Retrieves a list of agency names.
 ListgetClients(String agencyName)
     Retrieves a list of ClientId instance corresponding to the clients of an agency.
 booleanremoveAgency(String name)
    
 booleanremoveClient(String agencyName, ClientId cid)
    



Method Detail
closeAccount
AccountInfo closeAccount(String agencyName, ClientId cid, String accountNumber) throws RemoteException(Code)
Closes a account of a client.
Parameters:
  agencyName - is the agency name
Parameters:
  cid - is a client identifier
Parameters:
  accountNumber - is the number of account to close a AccountInfo if the account was removed. The accountInfoinstance contains the value of the account. If the account does not exista null value is returned



createAccount
String createAccount(ClientId cid, String agencyName) throws RemoteException(Code)
Create a new Account for a client of an agency
Parameters:
  cid - is a client identifier (last name, first name and address),the owner of the new account.
Parameters:
  agencyName - the name of the agency of the client the account number



createAgency
void createAgency(String name) throws RemoteException(Code)
Create a new Bank in the bank
Parameters:
  name - is the name of the agency



createClient
void createClient(ClientId cid, String agencyName) throws RemoteException(Code)
Create a Client in an agency
Parameters:
  cid - is a client identifier (last name, first name and address)
Parameters:
  agencyName - the the name of the agency of the new client



getAccountInfo
AccountInfo getAccountInfo(String number, ClientId cid, String agencyName) throws RemoteException(Code)
Retrieves information about an account of a client in an agency
Parameters:
  number - is the account number
Parameters:
  cid - is the client identifier
Parameters:
  agencyName - is the name of the agency



getAccounts
List getAccounts(String agencyName, ClientId cid) throws RemoteException(Code)
Retrieves a list of account for client.
Parameters:
  agencyName - is the name of the agency
Parameters:
  cid - is the client identifier list of AccountInfo instance



getAgencies
List getAgencies() throws RemoteException(Code)
Retrieves a list of agency names. list of String



getClients
List getClients(String agencyName) throws RemoteException(Code)
Retrieves a list of ClientId instance corresponding to the clients of an agency.
Parameters:
  agencyName - is the name of the agency list of ClientId



removeAgency
boolean removeAgency(String name) throws RemoteException(Code)
Removes an agency only if this agency does not have any client
Parameters:
  name - is the name of the agency to remove true if the agency was removed



removeClient
boolean removeClient(String agencyName, ClientId cid) throws RemoteException(Code)
Removes a client from an agency only if the client does not have any Account
Parameters:
  agencyName - is the name of the agency hosting the client
Parameters:
  cid - is a client identifier true if the client was removed



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