com.sun.j2ee.blueprints.customer.account.ejb
Class AccountEJB

java.lang.Object
  |
  +--com.sun.j2ee.blueprints.customer.account.ejb.AccountEJB

public class AccountEJB
extends java.lang.Object
implements javax.ejb.EntityBean

Implementation of account as an Entity Bean

See Also:
Serialized Form

Constructor Summary
AccountEJB()
           
 
Method Summary
 void changeContactInformation(ContactInformation info)
           
 void ejbActivate()
           
 java.lang.String ejbCreate(java.lang.String userId, java.lang.String status, ContactInformation info)
           
 java.lang.String ejbFindByPrimaryKey(java.lang.String key)
           
 void ejbLoad()
           
 void ejbPassivate()
           
 void ejbPostCreate(java.lang.String userId, java.lang.String status, ContactInformation info)
           
 void ejbRemove()
           
 void ejbStore()
           
 AccountModel getDetails()
           
 void setEntityContext(javax.ejb.EntityContext ec)
           
 void unsetEntityContext()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AccountEJB

public AccountEJB()
Method Detail

ejbCreate

public java.lang.String ejbCreate(java.lang.String userId,
                                  java.lang.String status,
                                  ContactInformation info)
                           throws javax.ejb.DuplicateKeyException,
                                  javax.ejb.CreateException

ejbRemove

public void ejbRemove()
               throws javax.ejb.RemoveException
Specified by:
ejbRemove in interface javax.ejb.EntityBean

setEntityContext

public void setEntityContext(javax.ejb.EntityContext ec)
Specified by:
setEntityContext in interface javax.ejb.EntityBean

ejbLoad

public void ejbLoad()
Specified by:
ejbLoad in interface javax.ejb.EntityBean

ejbStore

public void ejbStore()
Specified by:
ejbStore in interface javax.ejb.EntityBean

ejbFindByPrimaryKey

public java.lang.String ejbFindByPrimaryKey(java.lang.String key)
                                     throws javax.ejb.FinderException

unsetEntityContext

public void unsetEntityContext()
Specified by:
unsetEntityContext in interface javax.ejb.EntityBean

ejbActivate

public void ejbActivate()
Specified by:
ejbActivate in interface javax.ejb.EntityBean

ejbPassivate

public void ejbPassivate()
Specified by:
ejbPassivate in interface javax.ejb.EntityBean

ejbPostCreate

public void ejbPostCreate(java.lang.String userId,
                          java.lang.String status,
                          ContactInformation info)
                   throws javax.ejb.DuplicateKeyException,
                          javax.ejb.CreateException

changeContactInformation

public void changeContactInformation(ContactInformation info)

getDetails

public AccountModel getDetails()


Copyright © 2000 Sun Microsystems Inc. All Rights Reserved.