wt.graph.service
Class StandardObjectGraphService.PreCRUDCallback

java.lang.Object
  extended bywt.services.ServiceEventListenerAdapter
      extended bywt.graph.service.StandardObjectGraphService.PreCRUDCallback
All Implemented Interfaces:
KeyedEventListener
Enclosing class:
StandardObjectGraphService

public class StandardObjectGraphService.PreCRUDCallback
extends ServiceEventListenerAdapter


Field Summary
 
Fields inherited from class wt.services.ServiceEventListenerAdapter
 
Fields inherited from interface wt.events.KeyedEventListener
KEYED_EVENT_BRANCH
 
Constructor Summary
private StandardObjectGraphService.PreCRUDCallback()
           
  StandardObjectGraphService.PreCRUDCallback(String serviceName)
           
 
Method Summary
 void notifyVetoableEvent(Object event)
          Notify the listener that a single-object event has occurred.
 
Methods inherited from class wt.services.ServiceEventListenerAdapter
getKeyedEventBranch, getServiceId, logException, logException, logNotification, notifyEvent, notifyMultiObjectEvent, notifyVetoableMultiObjectEvent, setKeyedEventBranch
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StandardObjectGraphService.PreCRUDCallback

private StandardObjectGraphService.PreCRUDCallback()

StandardObjectGraphService.PreCRUDCallback

public StandardObjectGraphService.PreCRUDCallback(String serviceName)
Method Detail

notifyVetoableEvent

public void notifyVetoableEvent(Object event)
                         throws WTException,
                                WTPropertyVetoException
Description copied from class: ServiceEventListenerAdapter
Notify the listener that a single-object event has occurred. Sometimes the listener may object to the event by throwing an exception. Whether the exception will be honored depends on the object which generated the event.

Supported API: true

Specified by:
notifyVetoableEvent in interface KeyedEventListener
Overrides:
notifyVetoableEvent in class ServiceEventListenerAdapter
Parameters:
event -
Throws:
WTException
WTPropertyVetoException