Java Doc for CustomerEC2R.java in  » J2EE » JOnAS-4.8.6 » org » objectweb » jonas » stests » appli » 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 » J2EE » JOnAS 4.8.6 » org.objectweb.jonas.stests.appli 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.objectweb.jonas.stests.appli.CustomerEC2R

CustomerEC2R
abstract public class CustomerEC2R implements javax.ejb.EntityBean(Code)


Field Summary
 javax.ejb.EntityContextejbContext
    


Method Summary
public  voidejbActivate()
    
public  StringejbCreate(Integer custID, String fN, String lN, String phone)
     Create a new Customer with minimal information.
public  StringejbCreate(Integer Id, String fN, String lN, String inits, String addr1, String addr2, String city, String state, String zip, String phone, float creditLimit)
    
public  voidejbLoad()
    
public  voidejbPassivate()
    
public  voidejbPostCreate(Integer custID, String fN, String lN, String phone)
    
public  voidejbPostCreate(Integer Id, String fN, String lN, String inits, String addr1, String addr2, String city, String state, String zip, String phone, float creditLimit)
    
public  voidejbRemove()
    
public  voidejbStore()
    
abstract public  StringgetAddressLine1()
    
abstract public  StringgetAddressLine2()
    
abstract public  floatgetBalance()
    
abstract public  StringgetCity()
    
abstract public  floatgetCreditLimit()
    
abstract public  IntegergetCustomerID()
    
abstract public  StringgetFirstName()
    
abstract public  StringgetLastName()
    
abstract public  StringgetMiddleInitials()
    
abstract public  StringgetPhone()
    
abstract public  StringgetState()
    
abstract public  floatgetYearToDateBalance()
    
abstract public  StringgetZip()
    
abstract public  voidsetAddressLine1(String line)
    
abstract public  voidsetAddressLine2(String line)
    
abstract public  voidsetBalance(float balance)
    
abstract public  voidsetCity(String city)
    
abstract public  voidsetCreditLimit(float limit)
    
abstract public  voidsetCustomerID(Integer id)
    
public  voidsetEntityContext(javax.ejb.EntityContext ctx)
    
abstract public  voidsetFirstName(String fn)
    
abstract public  voidsetLastName(String ln)
    
abstract public  voidsetMiddleInitials(String mi)
    
abstract public  voidsetPhone(String phone)
    
abstract public  voidsetState(String state)
    
abstract public  voidsetYearToDateBalance(float ytdBalance)
    
abstract public  voidsetZip(String zip)
    
public  voidunsetEntityContext()
    
public  voidupdateBalance(float orderAmount)
     Update the balance and year to date balance with the total amount from an order.

Field Detail
ejbContext
javax.ejb.EntityContext ejbContext(Code)





Method Detail
ejbActivate
public void ejbActivate()(Code)



ejbCreate
public String ejbCreate(Integer custID, String fN, String lN, String phone) throws javax.ejb.CreateException(Code)
Create a new Customer with minimal information.


Parameters:
  id - Customer ID for the customer being created, must be unique
Parameters:
  fN - First name of the customer
Parameters:
  lN - Last name of the customer
Parameters:
  phone - Phone number of the customer Customer
exception:
  javax.ejb.CreateException - Creation Exception
exception:
  java.rmi.RemoteException - Remote Exception




ejbCreate
public String ejbCreate(Integer Id, String fN, String lN, String inits, String addr1, String addr2, String city, String state, String zip, String phone, float creditLimit) throws javax.ejb.CreateException(Code)
Create a new Customer with all parameters, except balances which will automatically be initialized to zero


Parameters:
  id - Customer ID for the customer being created, must be unique
Parameters:
  fN - First name of the customer
Parameters:
  lN - Last name of the customer
Parameters:
  inits - Middle initials of the customer
Parameters:
  phone - Phone number of the customer
Parameters:
  addr1 - First address line of the customer
Parameters:
  addr2 - Second address line of the customer
Parameters:
  city - City of the customer's mailing address
Parameters:
  state - State of the customer's mailing address
Parameters:
  zip - Zip code of the customer's mailing address
Parameters:
  creditLimit - Credit limit allowed for this cusomter Customer
exception:
  javax.ejb.CreateException - Creation Exception
exception:
  java.rmi.RemoteException - Remote Exception




ejbLoad
public void ejbLoad()(Code)



ejbPassivate
public void ejbPassivate()(Code)



ejbPostCreate
public void ejbPostCreate(Integer custID, String fN, String lN, String phone)(Code)



ejbPostCreate
public void ejbPostCreate(Integer Id, String fN, String lN, String inits, String addr1, String addr2, String city, String state, String zip, String phone, float creditLimit)(Code)



ejbRemove
public void ejbRemove() throws javax.ejb.RemoveException(Code)



ejbStore
public void ejbStore()(Code)



getAddressLine1
abstract public String getAddressLine1()(Code)



getAddressLine2
abstract public String getAddressLine2()(Code)



getBalance
abstract public float getBalance()(Code)



getCity
abstract public String getCity()(Code)



getCreditLimit
abstract public float getCreditLimit()(Code)



getCustomerID
abstract public Integer getCustomerID()(Code)



getFirstName
abstract public String getFirstName()(Code)



getLastName
abstract public String getLastName()(Code)



getMiddleInitials
abstract public String getMiddleInitials()(Code)



getPhone
abstract public String getPhone()(Code)



getState
abstract public String getState()(Code)



getYearToDateBalance
abstract public float getYearToDateBalance()(Code)



getZip
abstract public String getZip()(Code)



setAddressLine1
abstract public void setAddressLine1(String line)(Code)



setAddressLine2
abstract public void setAddressLine2(String line)(Code)



setBalance
abstract public void setBalance(float balance)(Code)



setCity
abstract public void setCity(String city)(Code)



setCreditLimit
abstract public void setCreditLimit(float limit)(Code)



setCustomerID
abstract public void setCustomerID(Integer id)(Code)



setEntityContext
public void setEntityContext(javax.ejb.EntityContext ctx)(Code)



setFirstName
abstract public void setFirstName(String fn)(Code)



setLastName
abstract public void setLastName(String ln)(Code)



setMiddleInitials
abstract public void setMiddleInitials(String mi)(Code)



setPhone
abstract public void setPhone(String phone)(Code)



setState
abstract public void setState(String state)(Code)



setYearToDateBalance
abstract public void setYearToDateBalance(float ytdBalance)(Code)



setZip
abstract public void setZip(String zip)(Code)



unsetEntityContext
public void unsetEntityContext()(Code)



updateBalance
public void updateBalance(float orderAmount)(Code)
Update the balance and year to date balance with the total amount from an order.


Parameters:
  orderAmount - Order amount to update the balances with (Mandatory) void
exception:
  java.rmi.RemoteException - Remote exception




Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

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