|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.echobinding.persistence.DefaultPersistenceManager<T>
public class DefaultPersistenceManager<T>
Constructor Summary | |
---|---|
DefaultPersistenceManager(T object)
Creates a default persistence manager for objects of type T. |
Method Summary | |
---|---|
T |
copyObject(T object)
Creates a copy of the given object. |
T |
createNewObject()
Tries to dynamically create a new row object by using the empty constructor. |
void |
deleteObject(T object)
Delets an object. |
boolean |
isPersistent(T object)
Decides if the object is persistent. |
void |
saveObject(T object)
Persists the object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultPersistenceManager(T object)
object
- Method Detail |
---|
public T createNewObject()
createNewObject
in interface PersistenceManager<T>
PersistenceManager.createNewObject()
public void deleteObject(T object)
PersistenceManager
deleteObject
in interface PersistenceManager<T>
public T copyObject(T object)
PersistenceManager
copyObject
in interface PersistenceManager<T>
public void saveObject(T object)
PersistenceManager
saveObject
in interface PersistenceManager<T>
public boolean isPersistent(T object)
PersistenceManager
isPersistent
in interface PersistenceManager<T>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |