|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface EPersister
This interface defines the methods that all Persister classes must implement.
| Method Summary | |
|---|---|
void |
amend(EBMPEntity entityBean,
String methodName)
This method is used to update some or all attributes in the data store. |
void |
amend(EBMPEntity entityBean,
String methodName,
DataPacket amendData)
This method is used to update some or all attributes in the data store using the specified amendData rather that the entityBean's attributes. |
EPrimaryKey |
create(EBMPEntity entityBean)
This method is used to create an entity in the data store. |
Enumeration |
find(EBMPEntity entityBean,
String methodName,
DataPacket finderData)
This method is used to find an entity in the data store. |
void |
load(EBMPEntity entityBean)
This method is used to load an entity from the data store. |
void |
remove(EBMPEntity entityBean)
This method is used to remove an entity from the data store. |
void |
removeFromCache(EBMPEntity entityBean)
This method is used to remove an entity from the cache only. |
void |
store(EBMPEntity entityBean)
This method is used to update all attributes in data store. |
| Method Detail |
|---|
void amend(EBMPEntity entityBean,
String methodName)
throws ProcessingErrorException
entityBean - entity to be updated in the data storemethodName - the name of the method doing the amend
ProcessingErrorException - if an error occurs during processing
void amend(EBMPEntity entityBean,
String methodName,
DataPacket amendData)
throws ProcessingErrorException
entityBean - entity to be updated in the data storemethodName - the name of the method doing the amendamendData - the data to use for the amend operation
ProcessingErrorException - if an error occurs during processing
EPrimaryKey create(EBMPEntity entityBean)
throws ProcessingErrorException
entityBean - entity to be created in the data store
ProcessingErrorException - if an error occurs during processing
Enumeration find(EBMPEntity entityBean,
String methodName,
DataPacket finderData)
throws ProcessingErrorException
entityBean - entity to be found in the data storemethodName - the name of the method doing the find e.g. findByPrimaryKey()finderData - the data needed by the data store to conduct search
ProcessingErrorException - thrown if an error occurs during processing
void load(EBMPEntity entityBean)
throws ProcessingErrorException
entityBean - entity to be loaded from the data store
ProcessingErrorException - if an error occurs during processing
void remove(EBMPEntity entityBean)
throws ProcessingErrorException
entityBean - entity to be removed from the data store
ProcessingErrorException - thrown if an error occurs during processing
void store(EBMPEntity entityBean)
throws ProcessingErrorException
entityBean - entity to be stored in the data store
ProcessingErrorException - if an error occurs during processing
void removeFromCache(EBMPEntity entityBean)
throws ProcessingErrorException
entityBean - entity to be removed from the cache
ProcessingErrorException - thrown if an error occurs during processing
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||