Package org.hibernate.event

Examples of org.hibernate.event.PreCollectionRemoveEvent


  private void preRemove() {
    PreCollectionRemoveEventListener[] preListeners = getSession().getListeners()
        .getPreCollectionRemoveEventListeners();
    if (preListeners.length>0) {
      PreCollectionRemoveEvent preEvent = new PreCollectionRemoveEvent(
          getPersister(), getCollection(), ( EventSource ) getSession(), affectedOwner );
      for ( int i = 0; i < preListeners.length; i++ ) {
        preListeners[i].onPreRemoveCollection(preEvent);
      }
    }
View Full Code Here


  private void preRemove() {
    PreCollectionRemoveEventListener[] preListeners = getSession().getListeners()
        .getPreCollectionRemoveEventListeners();
    if (preListeners.length>0) {
      PreCollectionRemoveEvent preEvent = new PreCollectionRemoveEvent(
          getPersister(), getCollection(), ( EventSource ) getSession(), affectedOwner );
      for ( int i = 0; i < preListeners.length; i++ ) {
        preListeners[i].onPreRemoveCollection(preEvent);
      }
    }
View Full Code Here

  private void preRemove() {
    PreCollectionRemoveEventListener[] preListeners = getSession().getListeners()
        .getPreCollectionRemoveEventListeners();
    if (preListeners.length>0) {
      PreCollectionRemoveEvent preEvent = new PreCollectionRemoveEvent(
          getPersister(), getCollection(), ( EventSource ) getSession(), affectedOwner );
      for ( int i = 0; i < preListeners.length; i++ ) {
        preListeners[i].onPreRemoveCollection(preEvent);
      }
    }
View Full Code Here

  private void preRemove() {
    PreCollectionRemoveEventListener[] preListeners = getSession().getListeners()
        .getPreCollectionRemoveEventListeners();
    if (preListeners.length>0) {
      PreCollectionRemoveEvent preEvent = new PreCollectionRemoveEvent(
          getPersister(), getCollection(), ( EventSource ) getSession(), affectedOwner );
      for ( int i = 0; i < preListeners.length; i++ ) {
        preListeners[i].onPreRemoveCollection(preEvent);
      }
    }
View Full Code Here

  private void preRemove() {
    EventListenerGroup<PreCollectionRemoveEventListener> listenerGroup = listenerGroup( EventType.PRE_COLLECTION_REMOVE );
    if ( listenerGroup.isEmpty() ) {
      return;
    }
    final PreCollectionRemoveEvent event = new PreCollectionRemoveEvent(
        getPersister(),
        getCollection(),
        eventSource(),
        affectedOwner
    );
View Full Code Here

  private void preRemove() {
    PreCollectionRemoveEventListener[] preListeners = getSession().getListeners()
        .getPreCollectionRemoveEventListeners();
    if (preListeners.length>0) {
      PreCollectionRemoveEvent preEvent = new PreCollectionRemoveEvent(
          getPersister(), getCollection(), ( EventSource ) getSession(), affectedOwner );
      for ( int i = 0; i < preListeners.length; i++ ) {
        preListeners[i].onPreRemoveCollection(preEvent);
      }
    }
View Full Code Here

TOP

Related Classes of org.hibernate.event.PreCollectionRemoveEvent

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.