org.compass.core.cascade
Interface CompassCascadeFilter


public interface CompassCascadeFilter

Allows filtering of create/save/delete cascade operations.


Method Summary
 boolean shouldFilterCreate(Object obj)
          Should the create cascade operation be filtered or not
 boolean shouldFilterDelete(Object obj)
          Should the delete cascade operation be filtered or not
 boolean shouldFilterSave(Object obj)
          Should the save cascade operation be filtered or not
 

Method Detail

shouldFilterCreate

boolean shouldFilterCreate(Object obj)
Should the create cascade operation be filtered or not

Parameters:
obj - The object being cascade-created
Returns:
true if the event should be filtered, false otherwise

shouldFilterSave

boolean shouldFilterSave(Object obj)
Should the save cascade operation be filtered or not

Parameters:
obj - The object being cascade-saved
Returns:
true if the event should be filtered, false otherwise

shouldFilterDelete

boolean shouldFilterDelete(Object obj)
Should the delete cascade operation be filtered or not

Parameters:
obj - The object being cascade-deleted
Returns:
true if the event should be filtered, false otherwise


Copyright (c) 2004-2009 The Compass Project.