|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.datanucleus.store.FederationPersistence
public class FederationPersistence
| Constructor Summary | |
|---|---|
FederationPersistence()
|
|
| Method Summary | |
|---|---|
void |
close()
Method to close the persistence handler, and release any resources. |
void |
deleteObject(StateManager sm)
Deletes a persistent object from the datastore. |
void |
fetchObject(StateManager sm,
int[] fieldNumbers)
Fetches a persistent object from the database. |
java.lang.Object |
findObject(ObjectManager om,
java.lang.Object id)
Method to find a persistable object with the specified id from the datastore, if the StoreManager supports this operation (optional). |
void |
insertObject(StateManager sm)
Inserts a persistent object into the database. |
void |
locateObject(StateManager sm)
Locates this object in the datastore. |
void |
updateObject(StateManager sm,
int[] fieldNumbers)
Updates a persistent object in the datastore. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FederationPersistence()
| Method Detail |
|---|
public void close()
StorePersistenceHandler
close in interface StorePersistenceHandlerpublic void deleteObject(StateManager sm)
StorePersistenceHandler
deleteObject in interface StorePersistenceHandlersm - The state manager of the object to be deleted.
public void fetchObject(StateManager sm,
int[] fieldNumbers)
StorePersistenceHandler
fetchObject in interface StorePersistenceHandlersm - The state manager of the object to be fetched.fieldNumbers - The numbers of the fields to be fetched.
public java.lang.Object findObject(ObjectManager om,
java.lang.Object id)
StorePersistenceHandler
findObject in interface StorePersistenceHandlerom - the ObjectManager which will manage the objectid - the id of the object in question.
public void insertObject(StateManager sm)
StorePersistenceHandler
insertObject in interface StorePersistenceHandlersm - The state manager of the object to be inserted.public void locateObject(StateManager sm)
StorePersistenceHandler
locateObject in interface StorePersistenceHandlersm - The StateManager for the object to be found
public void updateObject(StateManager sm,
int[] fieldNumbers)
StorePersistenceHandler
updateObject in interface StorePersistenceHandlersm - The state manager of the object to be updated.fieldNumbers - The numbers of the fields to be updated.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||