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.fieldmanager |
Package providing managers for fields which give a mechanism for navigating through fields of a class and
performing operations based on the type of the field.
|
org.datanucleus.store.types |
Package providing basic java type handling for DataNucleus.
|
org.datanucleus.store.types.wrappers |
Provides implementations of the "simple" wrappers for the mutable Second Class Objects (SCO's) supported by DataNucleus, so
that we can intercept calls that will mutate the object.
|
Modifier and Type | Method and Description |
---|---|
void |
ExecutionContext.detachObject(Object pc,
FetchPlanState state)
Method to detach the passed object.
|
void |
ExecutionContextThreadedImpl.detachObject(Object obj,
FetchPlanState state) |
void |
ExecutionContextImpl.detachObject(Object obj,
FetchPlanState state)
Method to detach a persistent object without making a copy.
|
Object |
ExecutionContextThreadedImpl.detachObjectCopy(Object pc,
FetchPlanState state) |
<T> T |
ExecutionContext.detachObjectCopy(T pc,
FetchPlanState state)
Method to detach a copy of the passed object using the provided state.
|
<T> T |
ExecutionContextImpl.detachObjectCopy(T pc,
FetchPlanState state)
Detach a copy of the passed persistent object using the provided detach state.
|
void |
ExecutionContext.makeObjectTransient(Object pc,
FetchPlanState state)
Method to make transient the passed object.
|
void |
ExecutionContextThreadedImpl.makeObjectTransient(Object obj,
FetchPlanState state) |
void |
ExecutionContextImpl.makeObjectTransient(Object obj,
FetchPlanState state)
Method to migrate an object to transient state.
|
Modifier and Type | Class and Description |
---|---|
class |
DetachState
Holder for the detachment state control for the detachment process.
|
Modifier and Type | Method and Description |
---|---|
void |
ObjectProvider.detach(FetchPlanState state)
Method to detach the persistable object.
|
void |
StateManagerImpl.detach(FetchPlanState state)
Method to detach this object.
|
T |
ObjectProvider.detachCopy(FetchPlanState state)
Method to make detached copy of this instance
|
Persistable |
StateManagerImpl.detachCopy(FetchPlanState state)
Method to make detached copy of this instance
If the object is detachable then the copy will be migrated to DETACHED state, otherwise will migrate
the copy to TRANSIENT.
|
void |
ObjectProvider.loadFieldsInFetchPlan(FetchPlanState state)
Method to load all unloaded fields in the FetchPlan.
|
void |
AbstractStateManager.loadFieldsInFetchPlan(FetchPlanState state)
Method to load all unloaded fields in the FetchPlan.
|
void |
ObjectProvider.makeTransient(FetchPlanState state)
Method to make the managed object transient.
|
void |
StateManagerImpl.makeTransient(FetchPlanState state)
Method to change the object state to transient.
|
Modifier and Type | Field and Description |
---|---|
protected FetchPlanState |
AbstractFetchDepthFieldManager.state
State for the fetch process.
|
Constructor and Description |
---|
AbstractFetchDepthFieldManager(ObjectProvider op,
boolean[] secondClassMutableFields,
FetchPlanForClass fpClass,
FetchPlanState state)
Constructor for a field manager for fetch plan processing.
|
DetachFieldManager(ObjectProvider op,
boolean[] secondClassMutableFields,
FetchPlanForClass fpClass,
FetchPlanState state,
boolean copy)
Constructor for a field manager for detachment.
|
LoadFieldManager(ObjectProvider sm,
boolean[] secondClassMutableFields,
FetchPlanForClass fpClass,
FetchPlanState state)
Constructor for a field manager for make transient process.
|
MakeTransientFieldManager(ObjectProvider sm,
boolean[] secondClassMutableFields,
FetchPlanForClass fpClass,
FetchPlanState state)
Constructor for a field manager for make transient process.
|
Modifier and Type | Method and Description |
---|---|
T |
SCO.detachCopy(FetchPlanState state)
Method to return a detached copy of this object.
|
static void |
SCOUtils.detachCopyForCollection(ObjectProvider ownerOP,
Object[] elements,
FetchPlanState state,
Collection detached)
Convenience method to detach copies (recursively) of all elements for a collection field.
|
static void |
SCOUtils.detachCopyForMap(ObjectProvider ownerOP,
Set entries,
FetchPlanState state,
Map detached)
Convenience method to detach copies (recursively) of all elements for a map field.
|
static void |
SCOUtils.detachForCollection(ObjectProvider ownerOP,
Object[] elements,
FetchPlanState state)
Convenience method to detach (recursively) all elements for a collection field.
|
static void |
SCOUtils.detachForMap(ObjectProvider ownerOP,
Set entries,
FetchPlanState state)
Convenience method to detach (recursively) all elements for a map field.
|
Modifier and Type | Method and Description |
---|---|
Queue |
Queue.detachCopy(FetchPlanState state)
Method to return a detached copy of the container.
|
BitSet |
BitSet.detachCopy(FetchPlanState state)
Method to detach a copy.
|
Properties |
Properties.detachCopy(FetchPlanState state)
Method to return a detached copy of the container.
|
GregorianCalendar |
GregorianCalendar.detachCopy(FetchPlanState state)
Method to return a detached copy of the value object.
|
ArrayList |
ArrayList.detachCopy(FetchPlanState state)
Method to return a detached copy of the container.
|
SortedSet |
SortedSet.detachCopy(FetchPlanState state)
Method to return a detached copy of the container.
|
LinkedHashSet |
LinkedHashSet.detachCopy(FetchPlanState state)
Method to return a detached copy of the container.
|
PriorityQueue |
PriorityQueue.detachCopy(FetchPlanState state)
Method to return a detached copy of the container.
|
Map |
Map.detachCopy(FetchPlanState state)
Method to return a detached copy of the container.
|
Collection |
Collection.detachCopy(FetchPlanState state)
Method to return a detached copy of the container.
|
Hashtable |
Hashtable.detachCopy(FetchPlanState state)
Method to return a detached copy of the container.
|
LinkedHashMap |
LinkedHashMap.detachCopy(FetchPlanState state)
Method to return a detached copy of the container.
|
TreeMap |
TreeMap.detachCopy(FetchPlanState state)
Method to return a detached copy of the container.
|
Vector |
Vector.detachCopy(FetchPlanState state)
Method to return a detached copy of the container.
|
HashMap |
HashMap.detachCopy(FetchPlanState state)
Method to return a detached copy of the container.
|
Stack |
Stack.detachCopy(FetchPlanState state)
Method to return a detached copy of the container.
|
TreeSet |
TreeSet.detachCopy(FetchPlanState state)
Method to return a detached copy of the container.
|
List |
List.detachCopy(FetchPlanState state)
Method to return a detached copy of the container.
|
HashSet |
HashSet.detachCopy(FetchPlanState state)
Method to return a detached copy of the container.
|
Date |
Date.detachCopy(FetchPlanState state)
Method to detach a copy of this object.
|
Time |
SqlTime.detachCopy(FetchPlanState state)
Method to detach a copy of this object.
|
SortedMap |
SortedMap.detachCopy(FetchPlanState state)
Method to return a detached copy of the container.
|
LinkedList |
LinkedList.detachCopy(FetchPlanState state)
Method to return a detached copy of the container.
|
Timestamp |
SqlTimestamp.detachCopy(FetchPlanState state)
Method to detach a copy of this object.
|
Date |
SqlDate.detachCopy(FetchPlanState state)
Method to detach a copy of this object.
|
Set |
Set.detachCopy(FetchPlanState state)
Method to return a detached copy of the container.
|
Copyright © 2017. All rights reserved.