ColdBox Platform Version 2.6.4

coldbox.system.orm.hibernate
Class EventHandler

WEB-INF.cftags.component
        extended by coldbox.system.remote.ColdboxProxy
            extended by coldbox.system.orm.hibernate.EventHandler
All Implemented Interfaces:
CFIDE.orm.IEventHandler

public class EventHandler
extends ColdboxProxy

******************************************************************************* Copyright Since 2005 ColdBox Framework by Luis Majano and Ortus Solutions, Corp www.coldbox.org | www.luismajano.com | www.ortussolutions.com ******************************************************************************* Author : Luis Majano Date : 10/16/2007 Description : Generic Hibernate Event Handler that ties to the ColdBox proxy for ColdBox Operations. This is just a base class you can inherit from to give you access to your ColdBox Application and the CF9 ORM event handler methods. Then you just need to use a la carte.


Method Summary
 void postDelete([any entity])
 void postInsert([any entity])
 void postLoad([any entity])
          Whenever entities are loaded I get fired and can do some funky ColdBox wiring
 void postUpdate([any entity])
 void preDelete([any entity])
 void preInsert([any entity])
 void preLoad([any entity])
 void preUpdate([any entity], [Struct oldData])
 
Methods inherited from class coldbox.system.remote.ColdboxProxy
announceInterception, getBean, getColdboxOCM, getController, getInterceptor, getIoCFactory, getLogBox, getLogger, getModel, getPlugin, getRootLogger, getUtil, handleException, loadColdbox, process, pushTimers, setCOLDBOX_APP_KEY, tracer, verifyColdBox
 
Methods inherited from class WEB-INF.cftags.component
 

Method Detail

postDelete

public void postDelete([any entity])

Specified by:
postDelete in interface CFIDE.orm.IEventHandler
Parameters:
entity

postInsert

public void postInsert([any entity])

Specified by:
postInsert in interface CFIDE.orm.IEventHandler
Parameters:
entity

postLoad

public void postLoad([any entity])
Whenever entities are loaded I get fired and can do some funky ColdBox wiring

Specified by:
postLoad in interface CFIDE.orm.IEventHandler
Parameters:
entity

postUpdate

public void postUpdate([any entity])

Specified by:
postUpdate in interface CFIDE.orm.IEventHandler
Parameters:
entity

preDelete

public void preDelete([any entity])

Specified by:
preDelete in interface CFIDE.orm.IEventHandler
Parameters:
entity

preInsert

public void preInsert([any entity])

Specified by:
preInsert in interface CFIDE.orm.IEventHandler
Parameters:
entity

preLoad

public void preLoad([any entity])

Specified by:
preLoad in interface CFIDE.orm.IEventHandler
Parameters:
entity

preUpdate

public void preUpdate([any entity], [Struct oldData])

Specified by:
preUpdate in interface CFIDE.orm.IEventHandler
Parameters:
entity
oldData

ColdBox Platform Version 2.6.4