org.compass.gps.device.hibernate.dep
Interface HibernateMirrorFilter


public interface HibernateMirrorFilter

Allows to hook filtering of object during the mirroring process.

Author:
kimchy

Method Summary
 boolean shouldFilterDelete(PostDeleteEvent postDeleteEvent)
          Should the post delete hibernate event be filtered or not
 boolean shouldFilterInsert(PostInsertEvent postInsertEvent)
          Should the post insert hibernate event be filtered or not
 boolean shouldFilterUpdate(PostUpdateEvent postUpdateEvent)
          Should the post update hibernate event be filtered or not
 

Method Detail

shouldFilterInsert

boolean shouldFilterInsert(PostInsertEvent postInsertEvent)
Should the post insert hibernate event be filtered or not

Parameters:
postInsertEvent - The Hibernate post insert event
Returns:
true if the event should be filtered, false otherwise

shouldFilterUpdate

boolean shouldFilterUpdate(PostUpdateEvent postUpdateEvent)
Should the post update hibernate event be filtered or not

Parameters:
postUpdateEvent - The Hibernate post update event
Returns:
true if the event should be filtered, false otherwise

shouldFilterDelete

boolean shouldFilterDelete(PostDeleteEvent postDeleteEvent)
Should the post delete hibernate event be filtered or not

Parameters:
postDeleteEvent - The Hibernate post delete event
Returns:
true if the event should be filtered, false otherwise


Copyright (c) 2004-2009 The Compass Project.