lucee.Componentcoldbox.system.remote.ColdboxProxy
cborm.models.EventHandler
contentbox.models.system.EventHandler
ContentBox - A Modular Content Platform Copyright 2012 by Luis Majano and Ortus Solutions, Corp www.ortussolutions.com Apache License, Version 2.0 Copyright Since [2012] [Luis Majano and Ortus Solutions,Corp] Licensed under the Apache License, Version 2.0 (the "License" ); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. 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 : A ColdBox Enabled Hibernate Event Handler that ties to the ColdBox proxy for ColdBox Operations.
Method Summary | |
---|---|
any
|
getEventManager()
Get the system Event Manager. |
void
|
postDelete([any entity])
postDelete called by hibernate which in turn announces a coldbox interception: ORMPostDelete. |
void
|
postFlush([any entities])
Called after the session is flushed. |
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
|
preFlush([any entities])
Called before the session is flushed. |
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. |
any
|
processEntityInjection(any entityName, any entity)
process entity injection. |
Methods inherited from class cborm.models.EventHandler |
---|
None |
Methods inherited from class coldbox.system.remote.ColdboxProxy |
---|
announce, announceInterception, getCOLDBOX_APP_KEY, getCache, getCacheBox, getColdboxAppKey, getController, getInstance, getInterceptor, getLogBox, getLogger, getRemotingUtil, getRootLogger, getUtil, getWireBox, handleException, loadColdbox, process, selfAutoWire, setCOLDBOX_APP_KEY, verifyColdBox |
Methods inherited from class lucee.Component |
---|
None |
Method Detail |
---|
Get the system Event Manager
getEventManager
in class
cborm.models.EventHandler
postDelete called by hibernate which in turn announces a coldbox interception: ORMPostDelete
postDelete
in class
cborm.models.EventHandler
entity
Called after the session is flushed.
postFlush
in class
cborm.models.EventHandler
entities
postInsert called by hibernate which in turn announces a coldbox interception: ORMPostInsert
postInsert
in class
cborm.models.EventHandler
entity
postLoad called by hibernate which in turn announces a coldbox interception: ORMPostLoad
postLoad
in class
cborm.models.EventHandler
entity
postNew called by ColdBox which in turn announces a coldbox interception: ORMPostNew
postNew
in class
cborm.models.EventHandler
entity
entityName
postSave called by ColdBox Base service after transaction commit or rollback via the save() method
postSave
in class
cborm.models.EventHandler
entity
postUpdate called by hibernate which in turn announces a coldbox interception: ORMPostUpdate
postUpdate
in class
cborm.models.EventHandler
entity
preDelete called by hibernate which in turn announces a coldbox interception: ORMPreDelete
preDelete
in class
cborm.models.EventHandler
entity
Called before the session is flushed.
preFlush
in class
cborm.models.EventHandler
entities
preInsert called by hibernate which in turn announces a coldbox interception: ORMPreInsert
preInsert
in class
cborm.models.EventHandler
entity
preLoad called by hibernate which in turn announces a coldbox interception: ORMPreLoad
preLoad
in class
cborm.models.EventHandler
entity
preSave called by ColdBox Base service before save() calls
preSave
in class
cborm.models.EventHandler
entity
preUpdate called by hibernate which in turn announces a coldbox interception: ORMPreUpdate
preUpdate
in class
cborm.models.EventHandler
entity
oldData
process entity injection
processEntityInjection
in class
cborm.models.EventHandler
entityName
- the entity to process, we use hash codes to identify buildersentity
- The entity object