org.compass.core.events
Interface PreDeleteResourceEventListener

All Known Implementing Classes:
CompassEventManager

public interface PreDeleteResourceEventListener

An event called before an object is deleted and accepts the Resource that represents it. Maps to the delete opeation on the session.

The listener can implement CompassAware, CompassMappingAware, or CompassConfigurable in order to be injected with other relevant instances of Compass.

Author:
kimchy

Method Summary
 FilterOperation onPreDelete(Resource resource)
          An event called before an object is deleted and accepts the Resource that represents it.
 

Method Detail

onPreDelete

FilterOperation onPreDelete(Resource resource)
An event called before an object is deleted and accepts the Resource that represents it. Maps to the delete opeation on the session. Returns if this operation should be filtered or not.



Copyright (c) 2004-2008 The Compass Project.