org.compass.core.events
Interface PreSaveResourceEventListener

All Known Implementing Classes:
CompassEventManager

public interface PreSaveResourceEventListener

An event called before an object is saved and accepts the Resource that represents it. 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(Resource resource)
          An event called before an object is saved and accepts the Resource that represents it.
 

Method Detail

onPreSave

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



Copyright (c) 2004-2008 The Compass Project.