Uses of Interface
org.hibernate.collection.PersistentCollection

Packages that use PersistentCollection
org.hibernate.action This package defines "actions" that are scheduled for asycnchronous execution by the event listeners. 
org.hibernate.cache.entry This package defines formats for disassembled state kept in the second level cache. 
org.hibernate.collection This package defines a framework for collection wrappers. 
org.hibernate.engine This package contains classes that are "shared" by other packages, and implementations of some key algorithms. 
org.hibernate.engine.loading   
org.hibernate.envers.entities.mapper   
org.hibernate.envers.entities.mapper.relation   
org.hibernate.envers.entities.mapper.relation.lazy   
org.hibernate.envers.synchronization.work   
org.hibernate.event This package defines an event framework for Hibernate. 
org.hibernate.event.def This package defines a default set of event listeners that implements the default behaviors of Hibernate. 
org.hibernate.impl This package contains implementations of the central Hibernate APIs, especially the Hibernate session. 
org.hibernate.persister.collection This package abstracts the persistence mechanism for collections. 
org.hibernate.type A Hibernate Type is a strategy for mapping a Java property type to a JDBC type or types. 
org.hibernate.usertype Interfaces for user-defined custom types. 
 

Uses of PersistentCollection in org.hibernate.action
 

Methods in org.hibernate.action that return PersistentCollection
protected  PersistentCollection CollectionAction.getCollection()
           
 

Constructors in org.hibernate.action with parameters of type PersistentCollection
CollectionAction(CollectionPersister persister, PersistentCollection collection, Serializable key, SessionImplementor session)
           
CollectionRecreateAction(PersistentCollection collection, CollectionPersister persister, Serializable id, SessionImplementor session)
           
CollectionRemoveAction(PersistentCollection collection, CollectionPersister persister, Serializable id, boolean emptySnapshot, SessionImplementor session)
          Removes a persistent collection from its loaded owner.
CollectionUpdateAction(PersistentCollection collection, CollectionPersister persister, Serializable id, boolean emptySnapshot, SessionImplementor session)
           
 

Uses of PersistentCollection in org.hibernate.cache.entry
 

Methods in org.hibernate.cache.entry with parameters of type PersistentCollection
 void CollectionCacheEntry.assemble(PersistentCollection collection, CollectionPersister persister, Object owner)
           
 

Constructors in org.hibernate.cache.entry with parameters of type PersistentCollection
CollectionCacheEntry(PersistentCollection collection, CollectionPersister persister)
           
 

Uses of PersistentCollection in org.hibernate.collection
 

Classes in org.hibernate.collection that implement PersistentCollection
 class AbstractPersistentCollection
          Base class implementing PersistentCollection
 class PersistentArrayHolder
          A persistent wrapper for an array.
 class PersistentBag
          An unordered, unkeyed collection that can contain the same element multiple times.
 class PersistentElementHolder
          A persistent wrapper for an XML element
 class PersistentIdentifierBag
          An IdentifierBag implements "bag" semantics more efficiently than a regular Bag by adding a synthetic identifier column to the table.
 class PersistentIndexedElementHolder
          A persistent wrapper for an XML element
 class PersistentList
          A persistent wrapper for a java.util.List.
 class PersistentListElementHolder
           
 class PersistentMap
          A persistent wrapper for a java.util.Map.
 class PersistentMapElementHolder
           
 class PersistentSet
          A persistent wrapper for a java.util.Set.
 class PersistentSortedMap
          A persistent wrapper for a java.util.SortedMap.
 class PersistentSortedSet
          A persistent wrapper for a java.util.SortedSet.
 

Uses of PersistentCollection in org.hibernate.engine
 

Methods in org.hibernate.engine that return PersistentCollection
 PersistentCollection StatefulPersistenceContext.getCollection(CollectionKey collectionKey)
          Get the collection instance associated with the CollectionKey
 PersistentCollection PersistenceContext.getCollection(CollectionKey collectionKey)
          Get the collection instance associated with the CollectionKey
 PersistentCollection StatefulPersistenceContext.getCollectionHolder(Object array)
          Get the PersistentCollection object for an array
 PersistentCollection PersistenceContext.getCollectionHolder(Object array)
          Get the PersistentCollection object for an array
 PersistentCollection StatefulPersistenceContext.removeCollectionHolder(Object array)
           
 PersistentCollection PersistenceContext.removeCollectionHolder(Object array)
          Remove the mapping of collection to holder during eviction of the owning entity
 PersistentCollection StatefulPersistenceContext.useUnownedCollection(CollectionKey key)
           
 PersistentCollection PersistenceContext.useUnownedCollection(CollectionKey key)
          Get and remove a collection whose owner is not yet loaded, when its owner is being loaded
 

Methods in org.hibernate.engine with parameters of type PersistentCollection
 void StatefulPersistenceContext.addCollectionHolder(PersistentCollection holder)
          Register a PersistentCollection object for an array.
 void PersistenceContext.addCollectionHolder(PersistentCollection holder)
          Register a PersistentCollection object for an array.
 CollectionEntry StatefulPersistenceContext.addInitializedCollection(CollectionPersister persister, PersistentCollection collection, Serializable id)
          add a collection we just pulled out of the cache (does not need initializing)
 CollectionEntry PersistenceContext.addInitializedCollection(CollectionPersister persister, PersistentCollection collection, Serializable id)
          add a collection we just pulled out of the cache (does not need initializing)
 void StatefulPersistenceContext.addInitializedDetachedCollection(CollectionPersister collectionPersister, PersistentCollection collection)
          add an (initialized) collection that was created by another session and passed into update() (ie.
 void PersistenceContext.addInitializedDetachedCollection(CollectionPersister collectionPersister, PersistentCollection collection)
          add an (initialized) collection that was created by another session and passed into update() (ie.
 void StatefulPersistenceContext.addNewCollection(CollectionPersister persister, PersistentCollection collection)
          Add a new collection (ie.
 void PersistenceContext.addNewCollection(CollectionPersister persister, PersistentCollection collection)
          Add a new collection (ie.
 void StatefulPersistenceContext.addNonLazyCollection(PersistentCollection collection)
          Register a collection for non-lazy loading at the end of the two-phase load
 void PersistenceContext.addNonLazyCollection(PersistentCollection collection)
          Register a collection for non-lazy loading at the end of the two-phase load
 void StatefulPersistenceContext.addUninitializedCollection(CollectionPersister persister, PersistentCollection collection, Serializable id)
          add a collection we just loaded up (still needs initializing)
 void PersistenceContext.addUninitializedCollection(CollectionPersister persister, PersistentCollection collection, Serializable id)
          add a collection we just loaded up (still needs initializing)
 void StatefulPersistenceContext.addUninitializedDetachedCollection(CollectionPersister persister, PersistentCollection collection)
          add a detached uninitialized collection
 void PersistenceContext.addUninitializedDetachedCollection(CollectionPersister persister, PersistentCollection collection)
          add a detached uninitialized collection
 void StatefulPersistenceContext.addUnownedCollection(CollectionKey key, PersistentCollection collection)
           
 void PersistenceContext.addUnownedCollection(CollectionKey key, PersistentCollection collection)
          Add a collection which has no owner loaded
 void CollectionEntry.afterAction(PersistentCollection collection)
          Called after execution of an action
 boolean StatefulPersistenceContext.containsCollection(PersistentCollection collection)
           
 boolean PersistenceContext.containsCollection(PersistentCollection collection)
          Is the given collection associated with this persistence context?
 CollectionEntry StatefulPersistenceContext.getCollectionEntry(PersistentCollection coll)
          Get the collection entry for a persistent collection
 CollectionEntry PersistenceContext.getCollectionEntry(PersistentCollection coll)
          Get the collection entry for a persistent collection
 Serializable StatefulPersistenceContext.getLoadedCollectionOwnerIdOrNull(PersistentCollection collection)
          Get the ID for the entity that owned this persistent collection when it was loaded
 Serializable PersistenceContext.getLoadedCollectionOwnerIdOrNull(PersistentCollection collection)
          Get the ID for the entity that owned this persistent collection when it was loaded
 Object StatefulPersistenceContext.getLoadedCollectionOwnerOrNull(PersistentCollection collection)
          Get the entity that owned this persistent collection when it was loaded
 Object PersistenceContext.getLoadedCollectionOwnerOrNull(PersistentCollection collection)
          Get the entity that owned this persistent collection when it was loaded
 Collection CollectionEntry.getOrphans(String entityName, PersistentCollection collection)
          Get the collection orphans (entities which were removed from the collection)
 Serializable StatefulPersistenceContext.getSnapshot(PersistentCollection coll)
          Get the snapshot of the pre-flush collection state
 Serializable PersistenceContext.getSnapshot(PersistentCollection coll)
          Get the snapshot of the pre-flush collection state
 void SessionImplementor.initializeCollection(PersistentCollection collection, boolean writing)
          Initialize the collection (if not already initialized)
 boolean CollectionEntry.isSnapshotEmpty(PersistentCollection collection)
           
 void CollectionEntry.postFlush(PersistentCollection collection)
          Called after a successful flush
 void CollectionEntry.postInitialize(PersistentCollection collection)
           
 void CollectionEntry.preFlush(PersistentCollection collection)
           
static void Collections.processReachableCollection(PersistentCollection collection, CollectionType type, Object entity, SessionImplementor session)
          Initialize the role of the collection.
static void Collections.processUnreachableCollection(PersistentCollection coll, SessionImplementor session)
          record the fact that this collection was dereferenced
 

Constructors in org.hibernate.engine with parameters of type PersistentCollection
CollectionEntry(CollectionPersister persister, PersistentCollection collection)
          For newly wrapped collections, or dereferenced collection wrappers
CollectionEntry(PersistentCollection collection, CollectionPersister loadedPersister, Serializable loadedKey, boolean ignore)
          For collections just loaded from the database
 

Uses of PersistentCollection in org.hibernate.engine.loading
 

Methods in org.hibernate.engine.loading that return PersistentCollection
 PersistentCollection LoadingCollectionEntry.getCollection()
           
 PersistentCollection CollectionLoadContext.getLoadingCollection(CollectionPersister persister, Serializable key)
          Retrieve the collection that is being loaded as part of processing this result set.
 PersistentCollection LoadContexts.locateLoadingCollection(CollectionPersister persister, Serializable ownerKey)
          Attempt to locate the loading collection given the owner's key.
 

Constructors in org.hibernate.engine.loading with parameters of type PersistentCollection
LoadingCollectionEntry(ResultSet resultSet, CollectionPersister persister, Serializable key, PersistentCollection collection)
           
 

Uses of PersistentCollection in org.hibernate.envers.entities.mapper
 

Methods in org.hibernate.envers.entities.mapper with parameters of type PersistentCollection
 List<PersistentCollectionChangeData> SubclassPropertyMapper.mapCollectionChanges(String referencingPropertyName, PersistentCollection newColl, Serializable oldColl, Serializable id)
           
 List<PersistentCollectionChangeData> SinglePropertyMapper.mapCollectionChanges(String referencingPropertyName, PersistentCollection newColl, Serializable oldColl, Serializable id)
           
 List<PersistentCollectionChangeData> PropertyMapper.mapCollectionChanges(String referencingPropertyName, PersistentCollection newColl, Serializable oldColl, Serializable id)
          Maps collection changes
 List<PersistentCollectionChangeData> MultiPropertyMapper.mapCollectionChanges(String referencingPropertyName, PersistentCollection newColl, Serializable oldColl, Serializable id)
           
 List<PersistentCollectionChangeData> ComponentPropertyMapper.mapCollectionChanges(String referencingPropertyName, PersistentCollection newColl, Serializable oldColl, Serializable id)
           
 

Uses of PersistentCollection in org.hibernate.envers.entities.mapper.relation
 

Methods in org.hibernate.envers.entities.mapper.relation with parameters of type PersistentCollection
protected  Collection MapCollectionMapper.getNewCollectionContent(PersistentCollection newCollection)
           
protected  Collection ListCollectionMapper.getNewCollectionContent(PersistentCollection newCollection)
           
protected  Collection BasicCollectionMapper.getNewCollectionContent(PersistentCollection newCollection)
           
protected abstract  Collection AbstractCollectionMapper.getNewCollectionContent(PersistentCollection newCollection)
           
 List<PersistentCollectionChangeData> ToOneIdMapper.mapCollectionChanges(String referencingPropertyName, PersistentCollection newColl, Serializable oldColl, Serializable id)
           
 List<PersistentCollectionChangeData> OneToOneNotOwningMapper.mapCollectionChanges(String referencingPropertyName, PersistentCollection newColl, Serializable oldColl, Serializable id)
           
 List<PersistentCollectionChangeData> AbstractCollectionMapper.mapCollectionChanges(String referencingPropertyName, PersistentCollection newColl, Serializable oldColl, Serializable id)
           
 

Uses of PersistentCollection in org.hibernate.envers.entities.mapper.relation.lazy
 

Methods in org.hibernate.envers.entities.mapper.relation.lazy with parameters of type PersistentCollection
 void AbstractDelegateSessionImplementor.initializeCollection(PersistentCollection collection, boolean writing)
           
 

Uses of PersistentCollection in org.hibernate.envers.synchronization.work
 

Constructors in org.hibernate.envers.synchronization.work with parameters of type PersistentCollection
PersistentCollectionChangeWorkUnit(SessionImplementor sessionImplementor, String entityName, AuditConfiguration auditCfg, PersistentCollection collection, CollectionEntry collectionEntry, Serializable snapshot, Serializable id, String referencingPropertyName)
           
 

Uses of PersistentCollection in org.hibernate.event
 

Methods in org.hibernate.event that return PersistentCollection
 PersistentCollection AbstractCollectionEvent.getCollection()
           
 

Methods in org.hibernate.event with parameters of type PersistentCollection
protected static CollectionPersister AbstractCollectionEvent.getLoadedCollectionPersister(PersistentCollection collection, EventSource source)
           
protected static Serializable AbstractCollectionEvent.getLoadedOwnerIdOrNull(PersistentCollection collection, EventSource source)
           
protected static Object AbstractCollectionEvent.getLoadedOwnerOrNull(PersistentCollection collection, EventSource source)
           
 

Constructors in org.hibernate.event with parameters of type PersistentCollection
AbstractCollectionEvent(CollectionPersister collectionPersister, PersistentCollection collection, EventSource source, Object affectedOwner, Serializable affectedOwnerId)
          Constructs an AbstractCollectionEvent object.
InitializeCollectionEvent(PersistentCollection collection, EventSource source)
           
PostCollectionRecreateEvent(CollectionPersister collectionPersister, PersistentCollection collection, EventSource source)
           
PostCollectionRemoveEvent(CollectionPersister collectionPersister, PersistentCollection collection, EventSource source, Object loadedOwner)
           
PostCollectionUpdateEvent(CollectionPersister collectionPersister, PersistentCollection collection, EventSource source)
           
PreCollectionRecreateEvent(CollectionPersister collectionPersister, PersistentCollection collection, EventSource source)
           
PreCollectionRemoveEvent(CollectionPersister collectionPersister, PersistentCollection collection, EventSource source, Object loadedOwner)
           
PreCollectionUpdateEvent(CollectionPersister collectionPersister, PersistentCollection collection, EventSource source)
           
 

Uses of PersistentCollection in org.hibernate.event.def
 

Methods in org.hibernate.event.def with parameters of type PersistentCollection
protected static boolean ProxyVisitor.isOwnerUnchanged(PersistentCollection snapshot, CollectionPersister persister, Serializable id)
          Has the owner of the collection changed since the collection was snapshotted and detached?
protected  void ProxyVisitor.reattachCollection(PersistentCollection collection, CollectionType type)
          Reattach a detached (disassociated) initialized or uninitialized collection wrapper, using a snapshot carried with the collection wrapper
 

Uses of PersistentCollection in org.hibernate.impl
 

Methods in org.hibernate.impl with parameters of type PersistentCollection
 void StatelessSessionImpl.initializeCollection(PersistentCollection collection, boolean writing)
           
 void SessionImpl.initializeCollection(PersistentCollection collection, boolean writing)
           
 

Uses of PersistentCollection in org.hibernate.persister.collection
 

Methods in org.hibernate.persister.collection with parameters of type PersistentCollection
 void CollectionPersister.deleteRows(PersistentCollection collection, Serializable key, SessionImplementor session)
          Delete the persistent state of any elements that were removed from the collection
 void AbstractCollectionPersister.deleteRows(PersistentCollection collection, Serializable id, SessionImplementor session)
           
protected  int OneToManyPersister.doUpdateRows(Serializable id, PersistentCollection collection, SessionImplementor session)
           
protected  int BasicCollectionPersister.doUpdateRows(Serializable id, PersistentCollection collection, SessionImplementor session)
           
protected abstract  int AbstractCollectionPersister.doUpdateRows(Serializable key, PersistentCollection collection, SessionImplementor session)
           
 void CollectionPersister.insertRows(PersistentCollection collection, Serializable key, SessionImplementor session)
          Insert the persistent state of any new collection elements
 void AbstractCollectionPersister.insertRows(PersistentCollection collection, Serializable id, SessionImplementor session)
           
 void CollectionPersister.recreate(PersistentCollection collection, Serializable key, SessionImplementor session)
          (Re)create the collection's persistent state
 void AbstractCollectionPersister.recreate(PersistentCollection collection, Serializable id, SessionImplementor session)
           
 void CollectionPersister.updateRows(PersistentCollection collection, Serializable key, SessionImplementor session)
          Update the persistent state of any elements that were modified
 void AbstractCollectionPersister.updateRows(PersistentCollection collection, Serializable id, SessionImplementor session)
           
 

Uses of PersistentCollection in org.hibernate.type
 

Methods in org.hibernate.type that return PersistentCollection
 PersistentCollection SortedSetType.instantiate(SessionImplementor session, CollectionPersister persister, Serializable key)
           
 PersistentCollection SortedMapType.instantiate(SessionImplementor session, CollectionPersister persister, Serializable key)
           
 PersistentCollection SetType.instantiate(SessionImplementor session, CollectionPersister persister, Serializable key)
           
 PersistentCollection MapType.instantiate(SessionImplementor session, CollectionPersister persister, Serializable key)
           
 PersistentCollection ListType.instantiate(SessionImplementor session, CollectionPersister persister, Serializable key)
           
 PersistentCollection IdentifierBagType.instantiate(SessionImplementor session, CollectionPersister persister, Serializable key)
           
 PersistentCollection CustomCollectionType.instantiate(SessionImplementor session, CollectionPersister persister, Serializable key)
           
abstract  PersistentCollection CollectionType.instantiate(SessionImplementor session, CollectionPersister persister, Serializable key)
          Instantiate an uninitialized collection wrapper or holder.
 PersistentCollection BagType.instantiate(SessionImplementor session, CollectionPersister persister, Serializable key)
           
 PersistentCollection ArrayType.instantiate(SessionImplementor session, CollectionPersister persister, Serializable key)
           
 PersistentCollection SortedSetType.wrap(SessionImplementor session, Object collection)
           
 PersistentCollection SortedMapType.wrap(SessionImplementor session, Object collection)
           
 PersistentCollection SetType.wrap(SessionImplementor session, Object collection)
           
 PersistentCollection MapType.wrap(SessionImplementor session, Object collection)
           
 PersistentCollection ListType.wrap(SessionImplementor session, Object collection)
           
 PersistentCollection IdentifierBagType.wrap(SessionImplementor session, Object collection)
           
 PersistentCollection CustomCollectionType.wrap(SessionImplementor session, Object collection)
           
abstract  PersistentCollection CollectionType.wrap(SessionImplementor session, Object collection)
          Wrap the naked collection instance in a wrapper, or instantiate a holder.
 PersistentCollection BagType.wrap(SessionImplementor session, Object collection)
           
 PersistentCollection ArrayType.wrap(SessionImplementor session, Object array)
           
 

Uses of PersistentCollection in org.hibernate.usertype
 

Methods in org.hibernate.usertype that return PersistentCollection
 PersistentCollection UserCollectionType.instantiate(SessionImplementor session, CollectionPersister persister)
          Instantiate an uninitialized instance of the collection wrapper
 PersistentCollection UserCollectionType.wrap(SessionImplementor session, Object collection)
          Wrap an instance of a collection
 



Copyright © 2001-2010 Red Hat, Inc. All Rights Reserved.