|
ColdBox Platform Version 3.5.3 | ||||
| FRAMES | |||||
WEB-INF.cftags.component
coldbox.system.remote.ColdboxProxy
coldbox.system.orm.hibernate.EventHandler
public class EventHandler
******************************************************************************* 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. We also execute interception points that match the ORM events so you can eaisly chain ORM interceptions.
| Method Summary | |
|---|---|
private any |
getORMUtil()
Get ORM Util |
void |
postDelete([any entity])
postDelete called by hibernate which in turn announces a coldbox interception: ORMPostDelete |
void |
postInsert([any entity])
postInsert called by hibernate which in turn announces a coldbox interception: ORMPostInsert |
void |
postLoad([any entity])
postLoad called by hibernate which in turn announces a coldbox interception: ORMPostLoad |
void |
postNew([any entity], [any entityName])
postNew called by ColdBox which in turn announces a coldbox interception: ORMPostNew |
void |
postSave([any entity])
postSave called by ColdBox Base service after transaction commit or rollback via the save() method |
void |
postUpdate([any entity])
postUpdate called by hibernate which in turn announces a coldbox interception: ORMPostUpdate |
void |
preDelete([any entity])
preDelete called by hibernate which in turn announces a coldbox interception: ORMPreDelete |
void |
preInsert([any entity])
preInsert called by hibernate which in turn announces a coldbox interception: ORMPreInsert |
void |
preLoad([any entity])
preLoad called by hibernate which in turn announces a coldbox interception: ORMPreLoad |
void |
preSave([any entity])
preSave called by ColdBox Base service before save() calls |
void |
preUpdate([any entity], [struct oldData='[runtime expression]'])
preUpdate called by hibernate which in turn announces a coldbox interception: ORMPreUpdate |
private any |
processEntityInjection(any entityName, any entity)
process entity injection |
| Methods inherited from class coldbox.system.remote.ColdboxProxy |
|---|
announceInterception, getBean, getCacheBox, getColdboxOCM, getController, getInstance, getInterceptor, getIoCFactory, getLogBox, getLogger, getModel, getPlugin, getRemotingUtil, getRootLogger, getUtil, getWireBox, handleException, loadColdbox, process, pushTimers, setCOLDBOX_APP_KEY, tracer, verifyColdBox
|
| Methods inherited from class WEB-INF.cftags.component |
|---|
|
| Method Detail |
|---|
private any getORMUtil()
public void postDelete([any entity])
postDelete
in interface
CFIDE.orm.IEventHandler
entitypublic void postInsert([any entity])
postInsert
in interface
CFIDE.orm.IEventHandler
entitypublic void postLoad([any entity])
postLoad
in interface
CFIDE.orm.IEventHandler
entitypublic void postNew([any entity], [any entityName])
entityentityNamepublic void postSave([any entity])
entitypublic void postUpdate([any entity])
postUpdate
in interface
CFIDE.orm.IEventHandler
entitypublic void preDelete([any entity])
preDelete
in interface
CFIDE.orm.IEventHandler
entitypublic void preInsert([any entity])
preInsert
in interface
CFIDE.orm.IEventHandler
entitypublic void preLoad([any entity])
preLoad
in interface
CFIDE.orm.IEventHandler
entitypublic void preSave([any entity])
entitypublic void preUpdate([any entity], [struct oldData='[runtime expression]'])
preUpdate
in interface
CFIDE.orm.IEventHandler
entityoldDataprivate any processEntityInjection(any entityName, any entity)
entityNameentity
|
ColdBox Platform Version 3.5.3 | ||||
| FRAMES | |||||