|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.beasys.commerce.ebusiness.order.OrderSmartBMP
@Deprecated public class 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()
Deprecated |
Method Summary | |
---|---|
void |
create(SmartKey smartKey,
EntityImpl entityImpl)
Deprecated Implements BMP functionality of ejbCreate() method. |
boolean |
exists(SmartKey smartKey,
EntityImpl entityImpl)
Deprecated Indicates if a bean with the specified primary key exists in the persistent store. |
Enumeration |
findAll(EntityImpl entityImpl)
Deprecated Implements BMP functionality of ejbFindAll() method. |
Collection |
findByCustomer(EntityImpl entityImpl,
String identifier)
Deprecated |
Collection |
findByDate(EntityImpl entityImpl,
Date from,
Date to)
Deprecated |
Collection |
findByStatus(EntityImpl entityImpl,
String status)
Deprecated |
void |
refresh(SmartKey smartKey,
EntityImpl entityImpl)
Deprecated Implements BMP functionality of ejbLoad() method. |
void |
remove(SmartKey smartKey,
EntityImpl entityImpl)
Deprecated Implements BMP functionality of ejbRemove() method. |
void |
update(SmartKey smartKey,
EntityImpl entityImpl)
Deprecated 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 Enumeration findAll(EntityImpl entityImpl) throws BMPException
SmartBMP
findAll
in interface SmartBMP
BMPException
- wrapper for provider exceptionpublic 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 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 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 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 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 Collection findByCustomer(EntityImpl entityImpl, String identifier) throws BMPException
BMPException
public Collection findByStatus(EntityImpl entityImpl, String status) throws BMPException
BMPException
public Collection findByDate(EntityImpl entityImpl, Date from, Date to) throws BMPException
BMPException
|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |