|
© 2001 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.foundation.property.SchemaSmartBMP
Implementation of SmartBMP interface for bean Schema. This class is responsible for persisting a Schema (Property Set) and it's associated property definitions.
Constructor Summary | |
SchemaSmartBMP()
|
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)
Finds all the Schema beans in the persistent store. |
java.util.Enumeration |
findBySchemaGroupName(java.lang.String schemaGroupName,
EntityImpl entityImpl)
Finds the Schema beans that belong to the specified schemaGroupName from the persistent store. |
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 SchemaSmartBMP()
Method Detail |
public final java.util.Enumeration findAll(EntityImpl entityImpl) throws BMPException
findAll
in interface SmartBMP
entityImpl
- the instance of EntityImpl supplying the database connectionBMPException
- raised if the bean's record is not found
or an SQL error occured.public final java.util.Enumeration findBySchemaGroupName(java.lang.String schemaGroupName, EntityImpl entityImpl) throws BMPException
schemaGroupName
- the SchemaGroupNameentityImpl
- the EntityImpl instance supplying the database connectionBMPException
- raised if the bean's record is not found
or an SQL error occured.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 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 exception
|
© 2001 BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |