org.compass.core.events
Interface PreDeleteQueryEventListener

All Known Implementing Classes:
CompassEventManager

public interface PreDeleteQueryEventListener

An event called before a query is executed to delete all its matching resources. 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(CompassQuery query)
          An event called before an a query is executed to delete all its matching resources.
 

Method Detail

onPreDelete

FilterOperation onPreDelete(CompassQuery query)
An event called before an a query is executed to delete all its matching resources. Maps to the delete opeation on the session. Returns if this operation should be filtered or not.



Copyright (c) 2004-2009 The Compass Project.