org.apache.geronimo.samples.daytrader.ejb
Class AccountProfileBean

java.lang.Object
  extended by org.apache.geronimo.samples.daytrader.ejb.AccountProfileBean
All Implemented Interfaces:
Serializable, EnterpriseBean, EntityBean

public abstract class AccountProfileBean
extends Object
implements EntityBean

See Also:
Serialized Form

Constructor Summary
AccountProfileBean()
           
 
Method Summary
 void ejbActivate()
           
 String ejbCreate(String userID, String password, String fullname, String address, String email, String creditcard)
           
 void ejbLoad()
           
 void ejbPassivate()
           
 void ejbPostCreate(String userID, String password, String fullname, String address, String email, String creditcard)
           
 void ejbRemove()
           
 void ejbStore()
           
abstract  LocalAccount getAccount()
           
 LocalAccount getAccountForUpdate()
           
abstract  String getAddress()
           
abstract  String getCreditCard()
           
 AccountProfileDataBean getDataBean()
           
abstract  String getEmail()
           
abstract  String getFullName()
           
abstract  String getPasswd()
           
abstract  String getUserID()
           
abstract  void setAccount(LocalAccount account)
           
abstract  void setAddress(String address)
           
abstract  void setCreditCard(String creditCard)
           
abstract  void setEmail(String email)
           
 void setEntityContext(EntityContext ctx)
           
abstract  void setFullName(String fullName)
           
abstract  void setPasswd(String password)
           
abstract  void setUserID(String userID)
           
 String toString()
           
 void unsetEntityContext()
           
 AccountProfileDataBean updateAccountProfile(AccountProfileDataBean profileData)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AccountProfileBean

public AccountProfileBean()
Method Detail

getUserID

public abstract String getUserID()

setUserID

public abstract void setUserID(String userID)

getPasswd

public abstract String getPasswd()

setPasswd

public abstract void setPasswd(String password)

getFullName

public abstract String getFullName()

setFullName

public abstract void setFullName(String fullName)

getAddress

public abstract String getAddress()

setAddress

public abstract void setAddress(String address)

getEmail

public abstract String getEmail()

setEmail

public abstract void setEmail(String email)

getCreditCard

public abstract String getCreditCard()

setCreditCard

public abstract void setCreditCard(String creditCard)

getAccount

public abstract LocalAccount getAccount()

setAccount

public abstract void setAccount(LocalAccount account)

getAccountForUpdate

public LocalAccount getAccountForUpdate()

updateAccountProfile

public AccountProfileDataBean updateAccountProfile(AccountProfileDataBean profileData)

getDataBean

public AccountProfileDataBean getDataBean()

toString

public String toString()
Overrides:
toString in class Object

ejbCreate

public String ejbCreate(String userID,
                        String password,
                        String fullname,
                        String address,
                        String email,
                        String creditcard)
                 throws CreateException
Throws:
CreateException

ejbPostCreate

public void ejbPostCreate(String userID,
                          String password,
                          String fullname,
                          String address,
                          String email,
                          String creditcard)
                   throws CreateException
Throws:
CreateException

setEntityContext

public void setEntityContext(EntityContext ctx)
Specified by:
setEntityContext in interface EntityBean

unsetEntityContext

public void unsetEntityContext()
Specified by:
unsetEntityContext in interface EntityBean

ejbRemove

public void ejbRemove()
Specified by:
ejbRemove in interface EntityBean

ejbLoad

public void ejbLoad()
Specified by:
ejbLoad in interface EntityBean

ejbStore

public void ejbStore()
Specified by:
ejbStore in interface EntityBean

ejbPassivate

public void ejbPassivate()
Specified by:
ejbPassivate in interface EntityBean

ejbActivate

public void ejbActivate()
Specified by:
ejbActivate in interface EntityBean


Copyright © 2005-2007 Apache Software Foundation. All Rights Reserved.