railo.runtime.orm.hibernate.event
Class EventListener

java.lang.Object
  extended by railo.runtime.orm.hibernate.event.EventListener
Direct Known Subclasses:
AllEventListener, PostDeleteEventListenerImpl, PostInsertEventListenerImpl, PostLoadEventListenerImpl, PostUpdateEventListenerImpl, PreDeleteEventListenerImpl, PreInsertEventListenerImpl, PreLoadEventListenerImpl, PreUpdateEventListenerImpl

public abstract class EventListener
extends Object


Field Summary
static Collection.Key POST_DELETE
           
static Collection.Key POST_INSERT
           
static Collection.Key POST_LOAD
           
static Collection.Key POST_UPDATE
           
static Collection.Key PRE_DELETE
           
static Collection.Key PRE_INSERT
           
static Collection.Key PRE_LOAD
           
static Collection.Key PRE_UPDATE
           
 
Constructor Summary
EventListener(Component component, Collection.Key eventType, boolean allEvents)
           
 
Method Summary
 Component getCFC()
           
static boolean hasEventType(Component cfc, Collection.Key eventType)
           
static void invoke(Collection.Key name, Component cfc, Struct data, Object arg)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

POST_INSERT

public static final Collection.Key POST_INSERT

POST_UPDATE

public static final Collection.Key POST_UPDATE

PRE_DELETE

public static final Collection.Key PRE_DELETE

POST_DELETE

public static final Collection.Key POST_DELETE

PRE_LOAD

public static final Collection.Key PRE_LOAD

POST_LOAD

public static final Collection.Key POST_LOAD

PRE_UPDATE

public static final Collection.Key PRE_UPDATE

PRE_INSERT

public static final Collection.Key PRE_INSERT
Constructor Detail

EventListener

public EventListener(Component component,
                     Collection.Key eventType,
                     boolean allEvents)
Method Detail

getCFC

public Component getCFC()

invoke

public static void invoke(Collection.Key name,
                          Component cfc,
                          Struct data,
                          Object arg)

hasEventType

public static boolean hasEventType(Component cfc,
                                   Collection.Key eventType)


Copyright © 2012 Railo