public interface PersistenceStore
This interface represents a Persistence store that knows how to create, find, modify and delete persistence capable objects from a backing store such as a database.
| Modifier and Type | Method and Description |
|---|---|
void |
execute(PersistenceManager pm,
Collection actions) |
void |
executeBatch(PersistenceManager pm,
UpdateObjectDesc request,
boolean forceFlush) |
Class |
getClassByOidClass(Class oidType) |
ConfigCache |
getConfigCache()
Returns ConfigCache associated with this store.
|
PersistenceConfig |
getPersistenceConfig(Class classType) |
RetrieveDesc |
getRetrieveDesc(Class classType)
Returns a new retrieve descriptor for an external (user) query.
|
RetrieveDesc |
getRetrieveDesc(String fieldName,
Class classType)
Returns a new retrieve descriptor for an external (user) query.
|
StateManager |
getStateManager(Class classType) |
UpdateObjectDesc |
getUpdateObjectDesc(Class classType) |
Object |
retrieve(PersistenceManager pm,
RetrieveDesc action,
ValueFetcher parameters) |
void execute(PersistenceManager pm, Collection actions)
void executeBatch(PersistenceManager pm, UpdateObjectDesc request, boolean forceFlush)
Object retrieve(PersistenceManager pm, RetrieveDesc action, ValueFetcher parameters)
StateManager getStateManager(Class classType)
RetrieveDesc getRetrieveDesc(Class classType)
classType - Type of the persistence capable class to be queried.RetrieveDesc getRetrieveDesc(String fieldName, Class classType)
name.fieldName - Name of the foreign field to be queried.classType - Persistence capable class including fieldName.UpdateObjectDesc getUpdateObjectDesc(Class classType)
PersistenceConfig getPersistenceConfig(Class classType)
ConfigCache getConfigCache()
Copyright © 2017. All rights reserved.