Uses of Interface org.hibernate.event.spi.EventSource (Hibernate JavaDocs)
Date: 2012-04-05

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Interface
org.hibernate.event.spi.EventSource

Packages that use EventSource
org.hibernate.action.internal |
org.hibernate.cache.spi.entry | This package defines formats for disassembled state kept in the second level cache.
org.hibernate.ejb.event |
org.hibernate.engine.internal |
org.hibernate.engine.query.spi |
org.hibernate.engine.spi |
org.hibernate.envers.synchronization |
org.hibernate.event.internal | This package defines a default set of event listeners that implements the default behaviors of Hibernate.
org.hibernate.event.spi |
org.hibernate.hql.internal.ast | An ANTLR-based parser for Hibernate Query Language.
org.hibernate.hql.internal.classic | This package contains the Hibernate 2.x query parser which is being end-of-lifed.
org.hibernate.hql.spi |
org.hibernate.internal | An internal package containing mostly implementations of central Hibernate APIs.
org.hibernate.loader.hql | This package defines a loader for the AST-based query parser

Uses of EventSource in org.hibernate.action.internal

Methods in org.hibernate.action.internal that return EventSource
`protected EventSource` | `EntityAction.eventSource()`
`protected EventSource` | `CollectionAction.eventSource()`

Uses of EventSource in org.hibernate.cache.spi.entry

Methods in org.hibernate.cache.spi.entry with parameters of type EventSource
`Object[]` | `CacheEntry.assemble(Object instance, Serializable id, EntityPersister persister, Interceptor interceptor, EventSource session)`

Uses of EventSource in org.hibernate.ejb.event

Methods in org.hibernate.ejb.event with parameters of type EventSource
`protected boolean` | `EJB3DeleteEventListener.invokeDeleteLifecycle(EventSource session, Object entity, EntityPersister persister)`
`protected Serializable` | `EJB3PersistEventListener.saveWithGeneratedId(Object entity, String entityName, Object anything, EventSource source, boolean requiresImmediateIdAccess)`
`protected Serializable` | `EJB3SaveOrUpdateEventListener.saveWithGeneratedId(Object entity, String entityName, Object anything, EventSource source, boolean requiresImmediateIdAccess)`
`protected Serializable` | `EJB3MergeEventListener.saveWithGeneratedId(Object entity, String entityName, Object anything, EventSource source, boolean requiresImmediateIdAccess)`
`protected Serializable` | `EJB3SaveEventListener.saveWithGeneratedId(Object entity, String entityName, Object anything, EventSource source, boolean requiresImmediateIdAccess)`
`protected Serializable` | `EJB3PersistEventListener.saveWithRequestedId(Object entity, Serializable requestedId, String entityName, Object anything, EventSource source)`
`protected Serializable` | `EJB3SaveOrUpdateEventListener.saveWithRequestedId(Object entity, Serializable requestedId, String entityName, Object anything, EventSource source)`
`protected Serializable` | `EJB3MergeEventListener.saveWithRequestedId(Object entity, Serializable requestedId, String entityName, Object anything, EventSource source)`
`protected Serializable` | `EJB3SaveEventListener.saveWithRequestedId(Object entity, Serializable requestedId, String entityName, Object anything, EventSource source)`

Uses of EventSource in org.hibernate.engine.internal

Constructors in org.hibernate.engine.internal with parameters of type EventSource
`Cascade(CascadingAction action, int cascadeTo, EventSource eventSource)`

Uses of EventSource in org.hibernate.engine.query.spi

Methods in org.hibernate.engine.query.spi with parameters of type EventSource
`Iterator` | `HQLQueryPlan.performIterate(QueryParameters queryParameters, EventSource session)`

Uses of EventSource in org.hibernate.engine.spi

Methods in org.hibernate.engine.spi with parameters of type EventSource
`abstract void` | `CascadingAction.cascade(EventSource session, Object child, String entityName, Object anything, boolean isCascadeDeleteEnabled)` Cascade the action to the child object.
`abstract Iterator` | `CascadingAction.getCascadableChildrenIterator(EventSource session, CollectionType collectionType, Object collection)` Given a collection, get an iterator of the children upon which the current cascading action should be visited.
`void` | `CascadingAction.noCascade(EventSource session, Object child, Object parent, EntityPersister persister, int propertyIndex)` Called (in the case of `CascadingAction.requiresNoCascadeChecking()` returning true) to validate that no cascade on the given property is considered a valid semantic.

Uses of EventSource in org.hibernate.envers.synchronization

Methods in org.hibernate.envers.synchronization with parameters of type EventSource
`AuditProcess` | `AuditProcessManager.get(EventSource session)`

Uses of EventSource in org.hibernate.event.internal

Methods in org.hibernate.event.internal with parameters of type EventSource
`protected void` | `DefaultDeleteEventListener.cascadeAfterDelete(EventSource session, EntityPersister persister, Object entity, Set transientEntities)`
`protected void` | `DefaultMergeEventListener.cascadeAfterSave(EventSource source, EntityPersister persister, Object entity, Object anything)` Cascade behavior is redefined by this subclass, disable superclass behavior
`protected void` | `AbstractSaveEventListener.cascadeAfterSave(EventSource source, EntityPersister persister, Object entity, Object anything)` Handles to calls needed to perform post-save cascades.
`protected void` | `DefaultDeleteEventListener.cascadeBeforeDelete(EventSource session, EntityPersister persister, Object entity, EntityEntry entityEntry, Set transientEntities)`
`protected void` | `DefaultMergeEventListener.cascadeBeforeSave(EventSource source, EntityPersister persister, Object entity, Object anything)` Cascade behavior is redefined by this subclass, disable superclass behavior
`protected void` | `AbstractSaveEventListener.cascadeBeforeSave(EventSource source, EntityPersister persister, Object entity, Object anything)` Handles the calls needed to perform pre-save cascades for the given entity.
`protected void` | `DefaultMergeEventListener.cascadeOnMerge(EventSource source, EntityPersister persister, Object entity, Map copyCache)` Perform any cascades needed as part of this copy event.
`protected void` | `DefaultDeleteEventListener.deleteEntity(EventSource session, Object entity, EntityEntry entityEntry, boolean isCascadeDeleteEnabled, EntityPersister persister, Set transientEntities)` Perform the entity deletion.
`protected void` | `DefaultDeleteEventListener.deleteTransientEntity(EventSource session, Object entity, boolean cascadeDeleteEnabled, EntityPersister persister, Set transientEntities)` We encountered a delete request on a transient instance.
`protected void` | `DefaultEvictEventListener.doEvict(Object object, EntityKey key, EntityPersister persister, EventSource session)`
`protected boolean` | `DefaultDeleteEventListener.invokeDeleteLifecycle(EventSource session, Object entity, EntityPersister persister)`
`protected boolean` | `AbstractSaveEventListener.invokeSaveLifecycle(Object entity, EntityPersister persister, EventSource source)`
`protected boolean` | `DefaultSaveOrUpdateEventListener.invokeUpdateLifecycle(Object entity, EntityPersister persister, EventSource source)`
`protected void` | `AbstractFlushingEventListener.performExecutions(EventSource session)` Execute all SQL (and second-level cache updates) in a special order so that foreign-key constraints cannot be violated: Inserts, in the order they were performed Updates Deletion of collection elements Insertion of collection elements Deletes, in the order they were performed
`protected Serializable` | `AbstractSaveEventListener.performSave(Object entity, Serializable id, EntityPersister persister, boolean useIdentityColumn, Object anything, EventSource source, boolean requiresImmediateIdAccess)` Prepares the save call by checking the session caches for a pre-existing entity and performing any lifecycle callbacks.
`protected Serializable` | `AbstractSaveEventListener.performSaveOrReplicate(Object entity, EntityKey key, EntityPersister persister, boolean useIdentityColumn, Object anything, EventSource source, boolean requiresImmediateIdAccess)` Performs all the actual work needed to save an entity (well to get the save moved to the execution queue).
`protected Serializable` | `AbstractSaveEventListener.saveWithGeneratedId(Object entity, String entityName, Object anything, EventSource source, boolean requiresImmediateIdAccess)` Prepares the save call using a newly generated id.
`protected Serializable` | `AbstractSaveEventListener.saveWithRequestedId(Object entity, Serializable requestedId, String entityName, Object anything, EventSource source)` Prepares the save call using the given requested id.
`protected void` | `AbstractLockUpgradeEventListener.upgradeLock(Object object, EntityEntry entry, LockOptions lockOptions, EventSource source)` Performs a pessimistic lock upgrade on a given entity, if needed.
`protected boolean` | `DefaultReplicateEventListener.visitCollectionsBeforeSave(Object entity, Serializable id, Object[] values, Type[] types, EventSource source)`
`protected boolean` | `AbstractSaveEventListener.visitCollectionsBeforeSave(Object entity, Serializable id, Object[] values, Type[] types, EventSource source)`

Constructors in org.hibernate.event.internal with parameters of type EventSource
`OnLockVisitor(EventSource session, Serializable key, Object owner)`
`ProxyVisitor(EventSource session)`
`ReattachVisitor(EventSource session, Serializable ownerIdentifier, Object owner)`

Uses of EventSource in org.hibernate.event.spi

Methods in org.hibernate.event.spi that return EventSource
`EventSource` | `AbstractEvent.getSession()` Returns the session event source for this event.
`EventSource` | `AbstractPreDatabaseOperationEvent.getSource()` Deprecated. Use `AbstractEvent.getSession()` instead

Methods in org.hibernate.event.spi with parameters of type EventSource
`protected static String` | `AbstractCollectionEvent.getAffectedOwnerEntityName(CollectionPersister collectionPersister, Object affectedOwner, EventSource source)`
`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)`
`protected static Serializable` | `AbstractCollectionEvent.getOwnerIdOrNull(Object owner, EventSource source)`

Constructors in org.hibernate.event.spi with parameters of type EventSource
`AbstractCollectionEvent(CollectionPersister collectionPersister, PersistentCollection collection, EventSource source, Object affectedOwner, Serializable affectedOwnerId)` Constructs an AbstractCollectionEvent object.
`AbstractEvent(EventSource source)` Constructs an event from the given event session.
`AbstractPreDatabaseOperationEvent(EventSource source, Object entity, Serializable id, EntityPersister persister)` Constructs an event containing the pertinent information.
`AutoFlushEvent(Set querySpaces, EventSource source)`
`DeleteEvent(Object object, EventSource source)` Constructs a new DeleteEvent instance.
`DeleteEvent(String entityName, Object object, boolean isCascadeDeleteEnabled, EventSource source)`
`DeleteEvent(String entityName, Object object, EventSource source)`
`DirtyCheckEvent(EventSource source)`
`EvictEvent(Object object, EventSource source)`
`FlushEntityEvent(EventSource source, Object entity, EntityEntry entry)`
`FlushEvent(EventSource source)`
`InitializeCollectionEvent(PersistentCollection collection, EventSource source)`
`LoadEvent(Serializable entityId, Object instanceToLoad, EventSource source)`
`LoadEvent(Serializable entityId, String entityClassName, boolean isAssociationFetch, EventSource source)`
`LoadEvent(Serializable entityId, String entityClassName, LockMode lockMode, EventSource source)`
`LoadEvent(Serializable entityId, String entityClassName, LockOptions lockOptions, EventSource source)`
`LockEvent(Object object, LockMode lockMode, EventSource source)`
`LockEvent(Object object, LockOptions lockOptions, EventSource source)`
`LockEvent(String entityName, Object original, LockMode lockMode, EventSource source)`
`LockEvent(String entityName, Object original, LockOptions lockOptions, EventSource source)`
`MergeEvent(Object object, EventSource source)`
`MergeEvent(String entityName, Object original, EventSource source)`
`MergeEvent(String entityName, Object original, Serializable id, EventSource source)`
`PersistEvent(Object object, EventSource source)`
`PersistEvent(String entityName, Object original, 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)`
`PostDeleteEvent(Object entity, Serializable id, Object[] deletedState, EntityPersister persister, EventSource source)`
`PostInsertEvent(Object entity, Serializable id, Object[] state, EntityPersister persister, EventSource source)`
`PostLoadEvent(EventSource session)`
`PostUpdateEvent(Object entity, Serializable id, Object[] state, Object[] oldState, int[] dirtyProperties, EntityPersister persister, 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)`
`PreDeleteEvent(Object entity, Serializable id, Object[] deletedState, EntityPersister persister, EventSource source)` Constructs an event containing the pertinent information.
`PreInsertEvent(Object entity, Serializable id, Object[] state, EntityPersister persister, EventSource source)` Constructs an event containing the pertinent information.
`PreLoadEvent(EventSource session)`
`PreUpdateEvent(Object entity, Serializable id, Object[] state, Object[] oldState, EntityPersister persister, EventSource source)` Constructs an event containing the pertinent information.
`RefreshEvent(Object object, EventSource source)`
`RefreshEvent(Object object, LockMode lockMode, EventSource source)`
`RefreshEvent(Object object, LockOptions lockOptions, EventSource source)`
`RefreshEvent(String entityName, Object object, EventSource source)`
`RefreshEvent(String entityName, Object object, LockOptions lockOptions, EventSource source)`
`ReplicateEvent(Object object, ReplicationMode replicationMode, EventSource source)`
`ReplicateEvent(String entityName, Object object, ReplicationMode replicationMode, EventSource source)`
`ResolveNaturalIdEvent(Map<String,Object> naturalIdValues, EntityPersister entityPersister, EventSource source)`
`ResolveNaturalIdEvent(Map<String,Object> naturalIdValues, EntityPersister entityPersister, LockOptions lockOptions, EventSource source)`
`SaveOrUpdateEvent(Object object, EventSource source)`
`SaveOrUpdateEvent(String entityName, Object original, EventSource source)`
`SaveOrUpdateEvent(String entityName, Object original, Serializable id, EventSource source)`

Uses of EventSource in org.hibernate.hql.internal.ast

Methods in org.hibernate.hql.internal.ast with parameters of type EventSource
`Iterator` | `QueryTranslatorImpl.iterate(QueryParameters queryParameters, EventSource session)` Return the query results as an iterator

Uses of EventSource in org.hibernate.hql.internal.classic

Methods in org.hibernate.hql.internal.classic with parameters of type EventSource
`Iterator` | `QueryTranslatorImpl.iterate(QueryParameters queryParameters, EventSource session)` Return the query results as an iterator

Uses of EventSource in org.hibernate.hql.spi

Methods in org.hibernate.hql.spi with parameters of type EventSource
`Iterator` | `QueryTranslator.iterate(QueryParameters queryParameters, EventSource session)` Perform an iterate operation given the underlying query definition.

Uses of EventSource in org.hibernate.internal

Classes in org.hibernate.internal that implement EventSource
`class` | `SessionImpl` Concrete implementation of a Session.

Constructors in org.hibernate.internal with parameters of type EventSource
`IteratorImpl(ResultSet rs, PreparedStatement ps, EventSource sess, boolean readOnly, Type[] types, String[][] columnNames, HolderInstantiator holderInstantiator)`
`NonFlushedChangesImpl(EventSource session)`

Uses of EventSource in org.hibernate.loader.hql

Methods in org.hibernate.loader.hql with parameters of type EventSource
`Iterator` | `QueryLoader.iterate(QueryParameters queryParameters, EventSource session)`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

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