org.compass.core.events
Interface PreSaveEventListener

All Known Implementing Classes:
CompassEventManager

public interface PreSaveEventListener

An event called before an object is saved. Maps to the save 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 onPreSave(String alias, Object obj)
          An event called before an object is saved.
 

Method Detail

onPreSave

FilterOperation onPreSave(String alias,
                          Object obj)
An event called before an object is saved. Maps to the save opeation on the session. Returns if this operation should be filtered or not.



Copyright (c) 2004-2008 The Compass Project.