public static class TopiaFiresSupport.TopiaHibernateEvent extends Object implements org.hibernate.event.spi.PreInsertEventListener, org.hibernate.event.spi.PostInsertEventListener, org.hibernate.event.spi.PreLoadEventListener, org.hibernate.event.spi.PostLoadEventListener, org.hibernate.event.spi.PreUpdateEventListener, org.hibernate.event.spi.PostUpdateEventListener, org.hibernate.event.spi.PreDeleteEventListener, org.hibernate.event.spi.PostDeleteEventListener
Modifier and Type | Field and Description |
---|---|
protected TopiaContextImplementor |
rootContext |
Constructor and Description |
---|
TopiaHibernateEvent(TopiaContextImplementor rootContext) |
Modifier and Type | Method and Description |
---|---|
protected TopiaContextImplementor |
getContext(TopiaContextImplementor parent,
org.hibernate.Session hibernate)
Recherche le context utilisant la session hibernate passe en
parametre
|
void |
onPostDelete(org.hibernate.event.spi.PostDeleteEvent event) |
void |
onPostInsert(org.hibernate.event.spi.PostInsertEvent event) |
void |
onPostLoad(org.hibernate.event.spi.PostLoadEvent event) |
void |
onPostUpdate(org.hibernate.event.spi.PostUpdateEvent event) |
boolean |
onPreDelete(org.hibernate.event.spi.PreDeleteEvent event) |
boolean |
onPreInsert(org.hibernate.event.spi.PreInsertEvent event) |
void |
onPreLoad(org.hibernate.event.spi.PreLoadEvent event) |
boolean |
onPreUpdate(org.hibernate.event.spi.PreUpdateEvent event) |
boolean |
requiresPostCommitHanding(org.hibernate.persister.entity.EntityPersister persister) |
default boolean |
requiresPostCommitHandling(org.hibernate.persister.entity.EntityPersister arg0) |
protected TopiaContextImplementor rootContext
public TopiaHibernateEvent(TopiaContextImplementor rootContext)
public boolean requiresPostCommitHanding(org.hibernate.persister.entity.EntityPersister persister)
protected TopiaContextImplementor getContext(TopiaContextImplementor parent, org.hibernate.Session hibernate)
parent
- le context parenthibernate
- la session hibernate que doit utiliser le
TopiaContext pour etre retournepublic boolean onPreInsert(org.hibernate.event.spi.PreInsertEvent event)
onPreInsert
in interface org.hibernate.event.spi.PreInsertEventListener
public void onPostInsert(org.hibernate.event.spi.PostInsertEvent event)
onPostInsert
in interface org.hibernate.event.spi.PostInsertEventListener
public void onPreLoad(org.hibernate.event.spi.PreLoadEvent event)
onPreLoad
in interface org.hibernate.event.spi.PreLoadEventListener
public void onPostLoad(org.hibernate.event.spi.PostLoadEvent event)
onPostLoad
in interface org.hibernate.event.spi.PostLoadEventListener
public boolean onPreUpdate(org.hibernate.event.spi.PreUpdateEvent event)
onPreUpdate
in interface org.hibernate.event.spi.PreUpdateEventListener
public void onPostUpdate(org.hibernate.event.spi.PostUpdateEvent event)
onPostUpdate
in interface org.hibernate.event.spi.PostUpdateEventListener
public boolean onPreDelete(org.hibernate.event.spi.PreDeleteEvent event)
onPreDelete
in interface org.hibernate.event.spi.PreDeleteEventListener
public void onPostDelete(org.hibernate.event.spi.PostDeleteEvent event)
onPostDelete
in interface org.hibernate.event.spi.PostDeleteEventListener
public boolean requiresPostCommitHandling(org.hibernate.persister.entity.EntityPersister arg0)
Copyright © 2004–2022 Code Lutin. All rights reserved.