Package | Description |
---|---|
org.apache.jdo.impl.pm |
This package contains classes that are for use across all kinds of implementations
of the JDO Reference Implementation.
|
org.apache.jdo.impl.sco |
This package contains implementation of the SCO-related interfaces.
|
org.apache.jdo.impl.state | |
org.apache.jdo.pm |
This package contains provides internal interfaces for
PersistenceManagerFactory and PersistenceManager extending the ones from javax.jdo.
|
org.apache.jdo.store |
This package contains StoreManager and store-related interfaces plus an abstract StoreManager implementation.
|
Modifier and Type | Method and Description |
---|---|
StateManagerInternal |
PersistenceManagerImpl.findStateManager(javax.jdo.spi.PersistenceCapable pc)
A helper method to find the StateManager associated with this PC instance
|
StateManagerInternal |
PersistenceManagerImpl.getStateManager(java.lang.Object oid,
java.lang.Class pcClass) |
Modifier and Type | Method and Description |
---|---|
void |
PersistenceManagerImpl.deregisterTransient(StateManagerInternal sm) |
void |
PersistenceManagerImpl.hereIsStateManager(StateManagerInternal sm,
javax.jdo.spi.PersistenceCapable pc)
A helper method called from the StateManager inside getPersistenceManager()
to identify StateManager associated with this PC instance
|
void |
PersistenceManagerImpl.markAsFlushed(StateManagerInternal sm) |
void |
PersistenceManagerImpl.register(StateManagerInternal sm,
java.lang.Object oid,
boolean transactional,
boolean throwDuplicateException) |
void |
PersistenceManagerImpl.registerTransient(StateManagerInternal sm) |
Modifier and Type | Method and Description |
---|---|
static java.lang.Object[] |
Freezer.thaw(SCOCollection sco,
StateManagerInternal owner,
java.lang.Object[] frozenElements)
Thaw the frozen elements of a collection.
|
static java.util.Map.Entry[] |
Freezer.thaw(SCOMap map,
StateManagerInternal owner,
java.util.Map.Entry[] frozenEntries)
Thaw the frozen elements of a map.
|
Modifier and Type | Method and Description |
---|---|
static StateManagerInternal |
StateManagerFactory.newInstance(java.lang.Object userOid,
java.lang.Object internalOid,
PersistenceManagerInternal pm,
java.lang.Class clazz)
Returns a new instance of a StateManagerInternal.
|
static StateManagerInternal |
StateManagerFactory.newInstance(javax.jdo.spi.PersistenceCapable pc,
PersistenceManagerInternal pm)
Returns a new instance of a StateManagerInternal
|
Modifier and Type | Method and Description |
---|---|
StateManagerInternal |
PersistenceManagerInternal.findStateManager(javax.jdo.spi.PersistenceCapable pc)
Finds a StateManagerInternal for the given PersistenceCapable object.
|
StateManagerInternal |
PersistenceManagerInternal.getStateManager(java.lang.Object oid,
java.lang.Class pcClass)
Provides a StateManagerInternal for the given Object Id.
|
Modifier and Type | Method and Description |
---|---|
void |
PersistenceManagerInternal.deregisterTransient(StateManagerInternal sm)
Removes transient object from the transient cache.
|
void |
PersistenceManagerInternal.hereIsStateManager(StateManagerInternal sm,
javax.jdo.spi.PersistenceCapable pc)
A helper method called from the StateManager inside getPersistenceManager()
to identify StateManager associated with this PC instance
|
void |
PersistenceManagerInternal.markAsFlushed(StateManagerInternal sm)
Called by StateManagerInternal#markAsFlushed() to adjust transactional cache(s)
if necessary after successful flush to the data store.
|
void |
PersistenceManagerInternal.register(StateManagerInternal sm,
java.lang.Object oid,
boolean transactional,
boolean throwDuplicateException)
Adds persistent object to the cache.
|
void |
PersistenceManagerInternal.registerTransient(StateManagerInternal sm)
Adds transient object to the transient cache.
|
Modifier and Type | Method and Description |
---|---|
void |
StoreManager.copyKeyFieldsFromObjectId(StateManagerInternal sm,
java.lang.Class pcClass)
This method copies PK field values from internal Object Id into the
Hollow instance.
|
java.lang.Object |
StoreManager.createObjectId(StateManagerInternal sm,
PersistenceManagerInternal pm)
Creates a new Object Id for the given StateManagerInternal.
|
int |
StoreManager.delete(java.util.BitSet loadedFields,
java.util.BitSet dirtyFields,
StateManagerInternal sm)
Causes the object managed by the given state manager to be deleted
in the database.
|
void |
StoreManager.fetch(StateManagerInternal sm,
int[] fieldNums)
Causes values for fields required by the state manager's object to
be retrieved from the store and supplied to the state manager.
|
int |
StoreManager.insert(java.util.BitSet loadedFields,
java.util.BitSet dirtyFields,
StateManagerInternal sm)
Causes the object managed by the given state manager's object to be
inserted into the database.
|
int |
StoreManager.update(java.util.BitSet loadedFields,
java.util.BitSet dirtyFields,
StateManagerInternal sm)
Causes the object managed by the given state manager to be updated
in the database.
|
int |
StoreManager.verifyFields(java.util.BitSet loadedFields,
java.util.BitSet dirtyFields,
StateManagerInternal sm)
Causes the object managed by the given state manager to be verified
in the database.
|
Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.