|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ObjectDao
This is an interface for defining an entity object Data Access Object. A Dao is the layer responsible for managing datastore access details.
Method Summary | |
---|---|
java.util.List |
findAll()
Find all entity objects associated with this Dao. |
java.util.List |
findAllSorted(java.lang.String sortField)
Find all entity objects asscoiated with this Dao. |
java.lang.Class |
getPersistentClass()
Get the persistent class associated to this Dao. |
void |
initialize(EntityObject entityobject)
Force initialization of the given entity from underlying datastore (this may involves initialization of lazily loaded relations fields) |
void |
initializeAssociation(EntityObject entityobject,
java.lang.Object proxy)
Force initialization of the given entity association from underlying datastore |
boolean |
isInitialized(java.lang.Object object)
Check if an object (EntityObject or association proxy) is initialized from datastore |
void |
refresh(EntityObject entityobject)
Re-read the content of the given entity from underlying datastore. |
void |
remove(EntityObject entityobject)
Remove the given entity object from underlying datastore. |
void |
replicate(java.lang.Object obj)
Persist the object state throughout the cluster. |
void |
save(EntityObject entityobject)
Save the given entity into underlying datastore. |
Method Detail |
---|
void save(EntityObject entityobject)
entityobject
- EntityObject to savevoid remove(EntityObject entityobject)
entityobject
- EntityObject to removevoid refresh(EntityObject entityobject)
entityobject
- EntityObject to refresh contentvoid initialize(EntityObject entityobject)
entityobject
- EntityObject to initializevoid initializeAssociation(EntityObject entityobject, java.lang.Object proxy)
entityobject
- EntityObject whose association shoud be initializedproxy
- A proxy object representing entoty association (this may be a collection)boolean isInitialized(java.lang.Object object)
object
- The object to check initialization for
void replicate(java.lang.Object obj)
obj
- The object to replicatejava.util.List findAll()
java.util.List findAllSorted(java.lang.String sortField)
sortField
- Field for sorting criteria
java.lang.Class getPersistentClass()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |