|
© 2005 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.beasys.commerce.ebusiness.payment.PaymentTransactionSmartBMP
Implementation of SmartBMP interface for bean PaymentTransaction. You can use this as an example to write your own bean-managed persistence.
Constructor Summary | |
PaymentTransactionSmartBMP()
|
Method Summary | |
void |
create(SmartKey smartKey,
EntityImpl entityImpl)
Implements BMP functionality of ejbCreate() method. |
boolean |
exists(SmartKey smartKey,
EntityImpl entityImpl)
Indicates if a bean with the specified primary key exists in the persistent store. |
Enumeration |
findAll(EntityImpl entityImpl)
Implements BMP functionality of ejbFindAll() method. |
Collection |
findByStatus(EntityImpl entityImpl,
String status)
|
void |
refresh(SmartKey smartKey,
EntityImpl entityImpl)
Implements BMP functionality of ejbLoad() method. |
void |
remove(SmartKey smartKey,
EntityImpl entityImpl)
Implements BMP functionality of ejbRemove() method. |
void |
update(SmartKey smartKey,
EntityImpl entityImpl)
Implements BMP functionality of ejbStore() and ejbPostCreate() methods. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PaymentTransactionSmartBMP()
Method Detail |
public void create(SmartKey smartKey, EntityImpl entityImpl) throws BMPException
create
in interface SmartBMP
smartKey
- the primary key of the beanentityImpl
- READ ONLY, invalid, uninitialized instance of the entity bean.
BMPException
- wrapper for provider exceptionpublic boolean exists(SmartKey smartKey, EntityImpl entityImpl) throws BMPException
exists
in interface SmartBMP
smartKey
- the primary key of the beanentityImpl
- READ ONLY instance of the entity bean.
BMPException
- wrapper for provider exceptionpublic Enumeration findAll(EntityImpl entityImpl) throws BMPException
SmartBMP
findAll
in interface SmartBMP
BMPException
- wrapper for provider exceptionpublic Collection findByStatus(EntityImpl entityImpl, String status) throws BMPException
BMPException
public void refresh(SmartKey smartKey, EntityImpl entityImpl) throws BMPException
refresh
in interface SmartBMP
smartKey
- the primary key of the beanentityImpl
- READ/WRITE instance of the entity bean.
BMPException
- wrapper for provider exceptionpublic void remove(SmartKey smartKey, EntityImpl entityImpl) throws BMPException
remove
in interface SmartBMP
smartKey
- the primary key of the beanentityImpl
- instance of the entity bean.
BMPException
- wrapper for provider exceptionpublic void update(SmartKey smartKey, EntityImpl entityImpl) throws BMPException
update
in interface SmartBMP
smartKey
- the primary key of the beanentityImpl
- READ ONLY instance of the entity bean.
BMPException
- wrapper for provider exception
|
© 2005 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |