## org.codehaus.groovy.grails.orm.hibernate.events
Class SaveOrUpdateEventListener

    java.lang.Object
      org.hibernate.event.def.AbstractReassociateEventListener
          org.hibernate.event.def.AbstractSaveEventListener
              org.hibernate.event.def.DefaultSaveOrUpdateEventListener
                  org.codehaus.groovy.grails.orm.hibernate.events.SaveOrUpdateEventListener

All Implemented Interfaces:
  Serializable, org.hibernate.event.SaveOrUpdateEventListener

Direct Known Subclasses:
  ClosureEventTriggeringInterceptor

    public class SaveOrUpdateEventListener

extends org.hibernate.event.def.DefaultSaveOrUpdateEventListener

Intermediary class, because def in package name is blocking IntelliJ from compiling. Seems to be an intellij bug not a Groovy one

Since:
  1.1

  Created: Oct 13, 2008
Author:
  Graeme Rocher
See Also:
  Serialized Form

Field Summary

Fields inherited from class org.hibernate.event.def.AbstractSaveEventListener
`DELETED, DETACHED, PERSISTENT, TRANSIENT`

Constructor Summary
`SaveOrUpdateEventListener()`

Method Summary

Methods inherited from class org.hibernate.event.def.DefaultSaveOrUpdateEventListener
`entityIsDetached, entityIsPersistent, entityIsTransient, getCascadeAction, getUpdateId, invokeUpdateLifecycle, onSaveOrUpdate, performSaveOrUpdate, performUpdate, reassociateIfUninitializedProxy, saveWithGeneratedOrRequestedId`

Methods inherited from class org.hibernate.event.def.AbstractSaveEventListener
`cascadeAfterSave, cascadeBeforeSave, getAssumedUnsaved, getEntityState, getLoggableName, getMergeMap, invokeSaveLifecycle, isVersionIncrementDisabled, performSave, performSaveOrReplicate, saveWithGeneratedId, saveWithRequestedId, substituteValuesIfNecessary, validate, visitCollectionsBeforeSave`

Methods inherited from class org.hibernate.event.def.AbstractReassociateEventListener
`reassociate`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### SaveOrUpdateEventListener

    public SaveOrUpdateEventListener()

Copyright (c) 2005-2009 The Grails project