| Modifier and Type | Method and Description |
|---|---|
void |
CacheInstance.copyTo(CacheImpl cache,
ManagedInstance<?> managedInstance)
Copies the instance state to the given managed instance.
|
Collection<?> |
CacheInstance.getCollection(ManagedInstance<?> managedInstance,
PluralAssociationMapping<?,?,?> mapping) |
void |
CacheImpl.put(ManagedInstance<?> instance)
Puts the instance to cache.
|
| Constructor and Description |
|---|
CacheInstance(CacheImpl cache,
ManagedInstance<?> managedInstance) |
| Modifier and Type | Method and Description |
|---|---|
ManagedInstance<?> |
ManagedCollection.getManagedInstance()
Returns the managed instance of the managed collection.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
ManagedMap.addChild(EntryImpl<Object,ManagedInstance<?>> child)
Adds the child to the managed list without initialize checks.
|
boolean |
ManagedList.addChild(EntryImpl<Object,ManagedInstance<?>> child)
Adds the child to the managed list without initialize checks.
|
boolean |
ManagedSet.addChild(EntryImpl<Object,ManagedInstance<?>> child)
Adds the child to the managed list without initialize checks.
|
abstract boolean |
ManagedCollection.addChild(EntryImpl<Object,ManagedInstance<?>> child)
Adds the child to the managed list without initialize checks.
|
| Constructor and Description |
|---|
ManagedCollection(PluralMapping<?,?,E> mapping,
ManagedInstance<?> managedInstance) |
ManagedList(PluralMapping<?,?,E> mapping,
ManagedInstance<?> managedInstance,
boolean lazy)
Constructor for lazy initialization.
|
ManagedList(PluralMapping<?,?,E> mapping,
ManagedInstance<?> managedInstance,
Collection<? extends E> values)
Default constructor.
|
ManagedMap(PluralMapping<?,?,V> mapping,
ManagedInstance<?> managedInstance,
boolean lazy)
Constructor for lazy initialization.
|
ManagedMap(PluralMapping<?,?,V> mapping,
ManagedInstance<?> managedInstance,
Map<? extends K,? extends V> values)
Default constructor.
|
ManagedSet(PluralMapping<?,?,E> mapping,
ManagedInstance<?> managedInstance,
boolean lazy)
Constructor for lazy initialization.
|
ManagedSet(PluralMapping<?,?,E> mapping,
ManagedInstance<?> managedInstance,
Collection<? extends E> values)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
EntryImpl<Object,ManagedInstance<?>> |
FetchParentImpl.handle(SessionImpl session,
ResultSet row,
MapJoinImpl.MapSelectType selectType)
Handles the row.
|
EntryImpl<Object,ManagedInstance<?>> |
FetchParentImpl.handleFetch(SessionImpl session,
ResultSet row,
MapJoinImpl.MapSelectType selectType)
Handles the row.
|
| Modifier and Type | Method and Description |
|---|---|
ManagedInstance<?> |
Enhanced.__enhanced__$$__getManagedInstance() |
ManagedInstance<?> |
EnhancedInstance.__enhanced__$$__getManagedInstance()
Returns the managed instance of the instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Enhanced.__enhanced__$$__setManagedInstance(ManagedInstance<?> instance) |
void |
EnhancedInstance.__enhanced__$$__setManagedInstance(ManagedInstance<?> instance)
Sets the managed instance of the instance.
|
static void |
Prioritizer.sort(ArrayList<ManagedInstance<?>> updates,
ArrayList<ManagedInstance<?>> removals,
ManagedInstance<?>[] sortedUpdates,
ManagedInstance<?>[] sortedRemovals,
CallbackAvailability callbackAvailability)
Sorts the managed instances based on their dependencies.
|
static void |
Prioritizer.sort(ArrayList<ManagedInstance<?>> updates,
ArrayList<ManagedInstance<?>> removals,
ManagedInstance<?>[] sortedUpdates,
ManagedInstance<?>[] sortedRemovals,
CallbackAvailability callbackAvailability)
Sorts the managed instances based on their dependencies.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
Prioritizer.sort(ArrayList<ManagedInstance<?>> updates,
ArrayList<ManagedInstance<?>> removals,
ManagedInstance<?>[] sortedUpdates,
ManagedInstance<?>[] sortedRemovals,
CallbackAvailability callbackAvailability)
Sorts the managed instances based on their dependencies.
|
static void |
Prioritizer.sort(ArrayList<ManagedInstance<?>> updates,
ArrayList<ManagedInstance<?>> removals,
ManagedInstance<?>[] sortedUpdates,
ManagedInstance<?>[] sortedRemovals,
CallbackAvailability callbackAvailability)
Sorts the managed instances based on their dependencies.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ForeignKey.performAttachChild(ConnectionImpl connection,
ManagedInstance<?> instance,
Object key,
Object child,
int index)
Attaches the child to the managed instance.
|
void |
ForeignKey.performDetachAll(ConnectionImpl connection,
ManagedInstance<?> instance)
Detaches the instance from all the children.
|
void |
EntityTable.performInsert(ConnectionImpl connection,
ManagedInstance<?> managedInstance)
Performs inserts to the table for the managed instance or joins.
|
void |
EntityTable.performRemove(ConnectionImpl connection,
ManagedInstance<?> managedInstance)
Performs removes from the table for the managed instance or joins.
|
Object |
EntityTable.performSelectVersion(ConnectionImpl connection,
ManagedInstance<?> managedInstance)
Selects the version from the table.
|
void |
EntityTable.performUpdate(ConnectionImpl connection,
ManagedInstance<?> managedInstance)
Performs update to the table for the managed instance or joins.
|
boolean |
EntityTable.performUpdateWithUpdatability(ConnectionImpl connection,
ManagedInstance<?> managedInstance)
Performs update to the table for the managed instance or joins.
|
void |
EntityTable.performVersionUpdate(ConnectionImpl connection,
ManagedInstance<?> managedInstance)
Performs version update to the table.
|
| Modifier and Type | Method and Description |
|---|---|
<Y,X> ManagedInstance<Y> |
SessionImpl.get(ManagedId<X> id)
Returns the managed instance instance in the session
|
<X> ManagedInstance<X> |
SessionImpl.get(X entity)
Returns the managed instance instance in the session
|
ManagedInstance<?> |
SessionImpl.remove(Object entity)
Removes the instance from the session.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SessionImpl.lazyInstanceLoading(ManagedInstance<?> instance)
Notifies the session that the lazy instance is loading
|
void |
EntityManagerImpl.lock(ManagedInstance<?> instance,
LockModeType lockMode,
Map<String,Object> properties)
Locks the entity.
|
<X> void |
SessionImpl.put(ManagedInstance<X> instance)
Puts the instance into the session.
|
<X> void |
SessionImpl.putExternal(ManagedInstance<X> instance)
Puts the new instance into the session.
|
void |
SessionImpl.setChanged(ManagedInstance<?> instance)
Marks the instance as changed.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
BasicAttribute.fillValue(EntityTypeImpl<?> type,
ManagedInstance<?> managedInstance,
Object instance)
Fills the sequence / table generated value.
|
abstract C |
PluralAttributeImpl.newCollection(PluralMapping<?,C,E> mapping,
ManagedInstance<?> managedInstance,
boolean lazy)
Creates a new lazy initialized managed collection to track changes.
|
abstract C |
PluralAttributeImpl.newCollection(PluralMapping<?,C,E> mapping,
ManagedInstance<?> managedInstance,
Object values)
Creates a new managed collection to track changes.
|
Collection<E> |
CollectionAttributeImpl.newCollection(PluralMapping<?,Collection<E>,E> mapping,
ManagedInstance<?> managedInstance,
boolean lazy)
Creates a new lazy initialized managed collection to track changes.
|
Collection<E> |
CollectionAttributeImpl.newCollection(PluralMapping<?,Collection<E>,E> mapping,
ManagedInstance<?> managedInstance,
Object values)
Creates a new managed collection to track changes.
|
List<E> |
ListAttributeImpl.newCollection(PluralMapping<?,List<E>,E> mapping,
ManagedInstance<?> managedInstance,
boolean lazy)
Creates a new lazy initialized managed collection to track changes.
|
List<E> |
ListAttributeImpl.newCollection(PluralMapping<?,List<E>,E> mapping,
ManagedInstance<?> managedInstance,
Object values)
Creates a new managed collection to track changes.
|
Map<K,V> |
MapAttributeImpl.newCollection(PluralMapping<?,Map<K,V>,V> mapping,
ManagedInstance<?> managedInstance,
boolean lazy)
Creates a new lazy initialized managed collection to track changes.
|
Map<K,V> |
MapAttributeImpl.newCollection(PluralMapping<?,Map<K,V>,V> mapping,
ManagedInstance<?> managedInstance,
Object values)
Creates a new managed collection to track changes.
|
Set<E> |
SetAttributeImpl.newCollection(PluralMapping<?,Set<E>,E> mapping,
ManagedInstance<?> managedInstance,
boolean lazy)
Creates a new lazy initialized managed collection to track changes.
|
Set<E> |
SetAttributeImpl.newCollection(PluralMapping<?,Set<E>,E> mapping,
ManagedInstance<?> managedInstance,
Object values)
Creates a new managed collection to track changes.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PluralAssociationMapping.attach(ConnectionImpl connection,
ManagedInstance<?> instance,
Object key,
Object child,
int index)
Attaches the child.
|
void |
PluralMapping.attach(ConnectionImpl connection,
ManagedInstance<?> instance,
Object key,
Object child,
int index)
Attaches the child.
|
void |
ElementCollectionMapping.attach(ConnectionImpl connection,
ManagedInstance<?> instance,
Object key,
Object child,
int index)
Attaches the child.
|
void |
PluralAssociationMapping.checkTransient(ManagedInstance<?> managedInstance)
Checks that the association references not a transient instance
|
abstract void |
AssociationMapping.checkTransient(ManagedInstance<?> managedInstance)
Checks that the association references not a transient instance
|
void |
SingularAssociationMapping.checkTransient(ManagedInstance<?> managedInstance)
Checks that the association references not a transient instance
|
void |
PluralAssociationMapping.detach(ConnectionImpl connection,
ManagedInstance<?> instance,
Object key,
Object child)
detaches the child.
|
void |
PluralMapping.detach(ConnectionImpl connection,
ManagedInstance<?> instance,
Object key,
Object child)
detaches the child.
|
void |
ElementCollectionMapping.detach(ConnectionImpl connection,
ManagedInstance<?> instance,
Object key,
Object child)
detaches the child.
|
void |
PluralAssociationMapping.detachAll(ConnectionImpl connection,
ManagedInstance<?> instance)
Details all the children.
|
void |
PluralMapping.detachAll(ConnectionImpl connection,
ManagedInstance<?> instance)
Details all the children.
|
void |
ElementCollectionMapping.detachAll(ConnectionImpl connection,
ManagedInstance<?> instance)
Details all the children.
|
void |
PluralAssociationMapping.enhance(ManagedInstance<?> instance)
Enhances the collection to the managed collection
|
void |
PluralMapping.enhance(ManagedInstance<?> instance)
Enhances the collection to the managed collection
|
void |
ElementCollectionMapping.enhance(ManagedInstance<?> instance)
Enhances the collection to the managed collection
|
boolean |
SingularMapping.fillValue(EntityTypeImpl<?> type,
ManagedInstance<?> managedInstance,
Object instance)
Fills the sequence / table generated value.
|
boolean |
BasicMapping.fillValue(EntityTypeImpl<?> type,
ManagedInstance<?> managedInstance,
Object instance)
Fills the sequence / table generated value.
|
boolean |
EmbeddedMapping.fillValue(EntityTypeImpl<?> type,
ManagedInstance<?> managedInstance,
Object instance)
Fills the sequence / table generated value.
|
void |
PluralAssociationMapping.flush(ConnectionImpl connection,
ManagedInstance<?> managedInstance,
boolean removals,
boolean force)
Flushes the associates.
|
void |
JoinedMapping.flush(ConnectionImpl connection,
ManagedInstance<?> managedInstance,
boolean removals,
boolean force)
Flushes the associates.
|
void |
ElementCollectionMapping.flush(ConnectionImpl connection,
ManagedInstance<?> managedInstance,
boolean removals,
boolean force)
Flushes the associates.
|
void |
SingularAssociationMapping.flush(ConnectionImpl connection,
ManagedInstance<?> managedInstance,
boolean removals,
boolean force)
Flushes the associates.
|
void |
EmbeddedMapping.flush(ConnectionImpl connection,
ManagedInstance<?> managedInstance,
boolean removals,
boolean force)
Flushes the associates.
|
void |
PluralAssociationMapping.initialize(ManagedInstance<?> instance)
Initializes the mapping.
|
void |
JoinedMapping.initialize(ManagedInstance<?> instance)
Initializes the mapping.
|
void |
ElementCollectionMapping.initialize(ManagedInstance<?> instance)
Initializes the mapping.
|
void |
SingularAssociationMapping.initialize(ManagedInstance<?> managedInstance)
Initializes the mapping.
|
void |
EmbeddedMapping.initialize(ManagedInstance<?> instance)
Initializes the mapping.
|
void |
PluralAssociationMapping.load(ManagedInstance<?> instance)
Loads the collection eagerly.
|
void |
PluralMapping.load(ManagedInstance<?> instance)
Loads the collection eagerly.
|
void |
ElementCollectionMapping.load(ManagedInstance<?> instance)
Loads the collection eagerly.
|
Collection<? extends E> |
PluralAssociationMapping.loadCollection(ManagedInstance<?> managedInstance)
Loads and returns the collection.
|
Collection<? extends E> |
PluralMapping.loadCollection(ManagedInstance<?> instance)
Loads and returns the collection.
|
Collection<? extends E> |
ElementCollectionMapping.loadCollection(ManagedInstance<?> instance)
Loads and returns the collection.
|
<K> Map<? extends K,? extends E> |
PluralAssociationMapping.loadMap(ManagedInstance<?> instance)
Loads and returns the map
|
<K> Map<? extends K,? extends E> |
PluralMapping.loadMap(ManagedInstance<?> instance)
Loads and returns the map
|
<K> Map<? extends K,? extends E> |
ElementCollectionMapping.loadMap(ManagedInstance<?> instance)
Loads and returns the map
|
void |
PluralAssociationMapping.mergeWith(EntityManagerImpl entityManager,
ManagedInstance<?> instance,
Object entity,
org.apache.commons.lang.mutable.MutableBoolean requiresFlush,
IdentityHashMap<Object,Object> processed)
Merges the association of the instance with the entity.
|
abstract void |
AssociationMapping.mergeWith(EntityManagerImpl entityManager,
ManagedInstance<?> instance,
Object entity,
org.apache.commons.lang.mutable.MutableBoolean requiresFlush,
IdentityHashMap<Object,Object> processed)
Merges the association of the instance with the entity.
|
void |
SingularAssociationMapping.mergeWith(EntityManagerImpl entityManager,
ManagedInstance<?> instance,
Object entity,
org.apache.commons.lang.mutable.MutableBoolean requiresFlush,
IdentityHashMap<Object,Object> processed)
Merges the association of the instance with the entity.
|
void |
PluralAssociationMapping.persistAdditions(EntityManagerImpl entityManager,
ManagedInstance<?> instance)
Persists the children that have been added to the managed collection
|
void |
PluralAssociationMapping.refreshCollection(EntityManagerImpl entityManager,
ManagedInstance<?> instance)
Refreshes the collection.
|
void |
PluralAssociationMapping.removeOrphans(EntityManagerImpl entityManager,
ManagedInstance<?> instance)
Removes the children that have been orphaned due to removal from the managed collection
|
void |
PluralAssociationMapping.setCollection(ManagedInstance<?> instance,
Collection<? extends E> children)
Sets the collection manually for the mapping.
|
void |
PluralMapping.setCollection(ManagedInstance<?> instance,
Collection<? extends E> children)
Sets the collection manually for the mapping.
|
void |
ElementCollectionMapping.setCollection(ManagedInstance<?> instance,
Collection<? extends E> children)
Sets the collection manually for the mapping.
|
void |
PluralAssociationMapping.setLazy(ManagedInstance<?> instance)
Sets the lazy instance for the collection
|
void |
PluralMapping.setLazy(ManagedInstance<?> instance)
Sets the lazy instance for the collection
|
void |
ElementCollectionMapping.setLazy(ManagedInstance<?> instance)
Sets the lazy instance for the collection
|
| Modifier and Type | Method and Description |
|---|---|
ManagedInstance<X> |
EntityTypeImpl.getManagedInstance(SessionImpl session,
X instance)
Returns the managed instance for the instance.
|
ManagedInstance<X> |
EntityTypeImpl.getManagedInstanceById(SessionImpl session,
ManagedId<X> id,
boolean lazy)
Creates a new managed instance with the id.
|
| Modifier and Type | Method and Description |
|---|---|
void |
EntityTypeImpl.performInsert(ConnectionImpl connection,
ManagedInstance<X> instance)
Performs inserts to each table for the managed instance.
|
void |
EntityTypeImpl.performRefresh(ConnectionImpl connection,
ManagedInstance<X> instance,
LockModeType lockMode)
Performs refresh for the instance
|
void |
EntityTypeImpl.performRemove(ConnectionImpl connection,
ManagedInstance<X> instance) |
Object |
EntityTypeImpl.performSelectVersion(ConnectionImpl connection,
ManagedInstance<? extends X> instance)
Selects the version for the instance.
|
void |
EntityTypeImpl.performUpdate(ConnectionImpl connection,
ManagedInstance<X> instance)
Performs the update for the instance.
|
void |
EntityTypeImpl.performVersionUpdate(ConnectionImpl connection,
ManagedInstance<? extends X> instance)
Performs the version update for the instance.
|
void |
EntityTypeImpl.runValidators(EntityManagerFactoryImpl entityManagerFactory,
ManagedInstance<?> instance)
Runs the validators for the instance
|
Copyright © 2012 Batoo Software & Consultancy. All Rights Reserved.