Package | Description |
---|---|
org.datanucleus |
This package provides classes that are typically externally called, whether that means by developers
or by other DataNucleus plugins.
|
org.datanucleus.state |
Provides classes relating to the life cycle state of a persistable object.
|
org.datanucleus.store.types |
Package providing basic java type handling for DataNucleus.
|
Modifier and Type | Method and Description |
---|---|
Object |
ExecutionContext.findObject(Object id,
FieldValues fv,
Class pcClass,
boolean ignoreCache,
boolean checkInheritance)
Accessor for an object given the object id.
|
Object |
ExecutionContextImpl.findObject(Object id,
FieldValues fv,
Class cls,
boolean ignoreCache,
boolean checkInheritance)
Accessor for an object given the object id and a set of field values to apply to it.
|
default <T> T |
ExecutionContext.persistObjectInternal(T pc,
FieldValues preInsertChanges,
int objectType)
Method to persist the passed object (internally).
|
<T> T |
ExecutionContext.persistObjectInternal(T pc,
FieldValues preInsertChanges,
ObjectProvider ownerOP,
int ownerFieldNum,
int objectType)
Method to persist the passed object (internally).
|
<T> T |
ExecutionContextImpl.persistObjectInternal(T obj,
FieldValues preInsertChanges,
ObjectProvider ownerOP,
int ownerFieldNum,
int objectType)
Method to make an object persistent which should be called from internal calls only.
|
Modifier and Type | Method and Description |
---|---|
void |
ObjectProvider.checkInheritance(FieldValues fv)
Deprecated.
Dont use this, to be removed
|
void |
StateManagerImpl.checkInheritance(FieldValues fv)
Deprecated.
Dont use this, to be removed
|
void |
StateManagerImpl.initialiseForHollow(Object id,
FieldValues fv,
Class pcClass)
Initialises a state manager to manage a hollow instance having the given object ID and the given (optional) field values.
|
void |
ObjectProvider.initialiseForHollow(Object id,
FieldValues fv,
Class<T> pcClass)
Initialises a state manager to manage a hollow instance having the given object ID and the given
(optional) field values.
|
void |
StateManagerImpl.initialiseForHollowAppId(FieldValues fv,
Class pcClass)
Deprecated.
Remove use of this and use initialiseForHollow
|
void |
ObjectProvider.initialiseForHollowAppId(FieldValues fv,
Class<T> pcClass)
Deprecated.
Remove use of this and use initialiseForHollow
|
void |
StateManagerImpl.initialiseForPersistentNew(Persistable pc,
FieldValues preInsertChanges)
Initialises a state manager to manage a transient instance that is becoming newly persistent.
|
void |
ObjectProvider.initialiseForPersistentNew(T pc,
FieldValues preInsertChanges)
Initialises a state manager to manage a transient instance that is becoming newly persistent.
|
void |
ObjectProvider.loadFieldValues(FieldValues fv)
Convenience method to load the passed field values.
|
void |
StateManagerImpl.loadFieldValues(FieldValues fv)
Convenience method to load the passed field values.
|
<T> ObjectProvider<T> |
ObjectProviderFactoryImpl.newForHollow(ExecutionContext ec,
Class<T> pcClass,
Object id,
FieldValues fv)
Constructs an ObjectProvider to manage a recently populated hollow instance having the
given object ID and the given field values.
|
<T> ObjectProvider<T> |
ObjectProviderFactory.newForHollow(ExecutionContext ec,
Class<T> pcClass,
Object id,
FieldValues fv)
Constructs an ObjectProvider to manage a recently populated hollow instance having the
given object ID and the given field values.
|
<T> ObjectProvider<T> |
ObjectProviderFactoryImpl.newForHollowPopulatedAppId(ExecutionContext ec,
Class<T> pcClass,
FieldValues fv)
Deprecated.
Use newForHollowPopulated instead
|
<T> ObjectProvider<T> |
ObjectProviderFactory.newForHollowPopulatedAppId(ExecutionContext ec,
Class<T> pcClass,
FieldValues fv)
Deprecated.
Use newForHollowPopulated instead
|
<T> ObjectProvider<T> |
ObjectProviderFactoryImpl.newForPersistentNew(ExecutionContext ec,
T pc,
FieldValues preInsertChanges)
Constructs an ObjectProvider to manage a transient instance that is becoming newly persistent.
|
<T> ObjectProvider<T> |
ObjectProviderFactory.newForPersistentNew(ExecutionContext ec,
T pc,
FieldValues fv)
Constructs an ObjectProvider to manage a transient instance that is becoming newly persistent.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
SCOUtils.validateObjectForWriting(ExecutionContext ec,
Object object,
FieldValues fieldValues)
Method to check if an object to be stored in a SCO container is already persistent, or is managed by a
different ExecutionContext.
|
Copyright © 2019. All rights reserved.