| java.lang.Object org.apache.ojb.jdori.sql.OjbStoreManager
OjbStoreManager | class OjbStoreManager implements StoreManager(Code) | | StoreManager represents the datastore to the rest of the JDO components.
It provides the means to write and read instances, to get the extent of
classes, and to get the object id for a persistence capable object.
author: Thomas Mahler |
Method Summary | |
public void | copyKeyFieldsFromObjectId(StateManagerInternal sm, Class pcClass) | public synchronized Object | createInternalObjectId(StateManagerInternal sm, PersistenceCapable pc, Object oid, Class cls, PersistenceManagerInternal pm) | public synchronized Object | createObjectId(StateManagerInternal sm, PersistenceManagerInternal pm) | public synchronized int | delete(BitSet loadedFields, BitSet dirtyFields, StateManagerInternal sm) | public synchronized void | fetch(StateManagerInternal sm, int fieldNums) | public void | flush(Iterator it, PersistenceManagerInternal pm) | public Connector | getConnector() | public Connector | getConnector(String userid, String password) | public synchronized Extent | getExtent(Class pcClass, boolean subclasses, PersistenceManagerInternal pm) | public synchronized Object | getExternalObjectId(Object objectId, PersistenceCapable pc) | public synchronized Object | getInternalObjectId(Object objectId, PersistenceManagerInternal pm) | public synchronized Class | getPCClassForOid(Object objectId, PersistenceManagerInternal pm) | public boolean | hasActualPCClass(Object objectId) | public synchronized int | insert(BitSet loadedFields, BitSet dirtyFields, StateManagerInternal sm) | public Object | newObjectIdInstance(Class pcClass, String str) | public QueryResult | newQueryResult(QueryResultHelper queryResultHelper) | public synchronized int | update(BitSet loadedFields, BitSet dirtyFields, StateManagerInternal sm) | public synchronized int | verifyFields(BitSet ignoredFields, BitSet fieldsToVerify, StateManagerInternal sm) |
copyKeyFieldsFromObjectId | public void copyKeyFieldsFromObjectId(StateManagerInternal sm, Class pcClass)(Code) | | See Also: com.sun.jdori.StoreManager.copyKeyFieldsFromObjectId |
createInternalObjectId | public synchronized Object createInternalObjectId(StateManagerInternal sm, PersistenceCapable pc, Object oid, Class cls, PersistenceManagerInternal pm)(Code) | | See Also: com.sun.jdori.StoreManager.createObjectId |
createObjectId | public synchronized Object createObjectId(StateManagerInternal sm, PersistenceManagerInternal pm)(Code) | | See Also: com.sun.jdori.StoreManager.createObjectId |
delete | public synchronized int delete(BitSet loadedFields, BitSet dirtyFields, StateManagerInternal sm)(Code) | | See Also: com.sun.jdori.StoreManager.delete(BitSetBitSetStateManagerInternal) |
fetch | public synchronized void fetch(StateManagerInternal sm, int fieldNums)(Code) | | See Also: com.sun.jdori.StoreManager.fetch |
flush | public void flush(Iterator it, PersistenceManagerInternal pm)(Code) | | See Also: com.sun.jdori.StoreManager.flush |
getConnector | public Connector getConnector()(Code) | | See Also: com.sun.jdori.StoreManager.getConnector |
getConnector | public Connector getConnector(String userid, String password)(Code) | | See Also: com.sun.jdori.StoreManager.getConnector(String useridString password) |
getExtent | public synchronized Extent getExtent(Class pcClass, boolean subclasses, PersistenceManagerInternal pm)(Code) | | See Also: com.sun.jdori.StoreManager.getExtent |
getExternalObjectId | public synchronized Object getExternalObjectId(Object objectId, PersistenceCapable pc)(Code) | | See Also: com.sun.jdori.StoreManager.getExternalObjectId(Object oidPersistenceCapable pc) |
getInternalObjectId | public synchronized Object getInternalObjectId(Object objectId, PersistenceManagerInternal pm)(Code) | | See Also: com.sun.jdori.StoreManager.getInternalObjectId |
getPCClassForOid | public synchronized Class getPCClassForOid(Object objectId, PersistenceManagerInternal pm)(Code) | | See Also: com.sun.jdori.StoreManager.getPCClassForOid |
hasActualPCClass | public boolean hasActualPCClass(Object objectId)(Code) | | See Also: com.sun.jdori.StoreManager.hasActualPCClass |
insert | public synchronized int insert(BitSet loadedFields, BitSet dirtyFields, StateManagerInternal sm)(Code) | | See Also: com.sun.jdori.StoreManager.insert(BitSetBitSetStateManagerInternal) |
newObjectIdInstance | public Object newObjectIdInstance(Class pcClass, String str)(Code) | | See Also: com.sun.jdori.StoreManager.newObjectIdInstance |
newQueryResult | public QueryResult newQueryResult(QueryResultHelper queryResultHelper)(Code) | | See Also: com.sun.jdori.StoreManager.newObjectIdInstance |
update | public synchronized int update(BitSet loadedFields, BitSet dirtyFields, StateManagerInternal sm)(Code) | | See Also: com.sun.jdori.StoreManager.update(BitSetBitSetStateManagerInternal) |
verifyFields | public synchronized int verifyFields(BitSet ignoredFields, BitSet fieldsToVerify, StateManagerInternal sm)(Code) | | See Also: com.sun.jdori.StoreManager.verifyFields(BitSetBitSetStateManagerInternal) |
|
|