|
© 2002 BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.beasys.commerce.ebusiness.order.OrderSmartBMP
Implementation of SmartBMP interface for bean Order. You can use this as an example to write your own bean-managed persistence.
Constructor Summary | |
OrderSmartBMP()
|
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. |
java.util.Enumeration |
findAll(EntityImpl entityImpl)
|
java.util.Collection |
findByCustomer(EntityImpl entityImpl,
java.lang.String identifier)
|
java.util.Collection |
findByDate(EntityImpl entityImpl,
java.sql.Date from,
java.sql.Date to)
|
java.util.Collection |
findByStatus(EntityImpl entityImpl,
java.lang.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 OrderSmartBMP()
Method Detail |
public java.util.Enumeration findAll(EntityImpl entityImpl) throws BMPException
public void create(SmartKey smartKey, EntityImpl entityImpl) throws BMPException
smartKey
- the primary key of the beanentityImpl
- READ ONLY, invalid, uninitialized instance of the entity bean.public void refresh(SmartKey smartKey, EntityImpl entityImpl) throws BMPException
smartKey
- the primary key of the beanentityImpl
- READ/WRITE instance of the entity bean.public void update(SmartKey smartKey, EntityImpl entityImpl) throws BMPException
smartKey
- the primary key of the beanentityImpl
- READ ONLY instance of the entity bean.public void remove(SmartKey smartKey, EntityImpl entityImpl) throws BMPException
smartKey
- the primary key of the beanentityImpl
- instance of the entity bean.public boolean exists(SmartKey smartKey, EntityImpl entityImpl) throws BMPException
smartKey
- the primary key of the beanentityImpl
- READ ONLY instance of the entity bean.public java.util.Collection findByCustomer(EntityImpl entityImpl, java.lang.String identifier) throws BMPException
public java.util.Collection findByStatus(EntityImpl entityImpl, java.lang.String status) throws BMPException
public java.util.Collection findByDate(EntityImpl entityImpl, java.sql.Date from, java.sql.Date to) throws BMPException
|
© 2002 BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |