avoiding excessive session log entries at INFO level
[cdmlib.git] / cdmlib-services / src / main / java / eu / etaxonomy / cdm / api / conversation / IConversationEnabled.java
index 3ce6b76360bbfbb8b7991e863bf4bd3941700009..166a402da533f535374bb8b07f27b6cf5cc1d246 100644 (file)
@@ -9,25 +9,20 @@
 
 package eu.etaxonomy.cdm.api.conversation;
 
+import eu.etaxonomy.cdm.persistence.hibernate.ICdmPostDataChangeObserver;
+
 
 /**
- * Objects implementing this class hold a conversation. 
+ * Objects implementing this class should hold a conversation. 
  * 
  * @author n.hoffmann
  * @created 17.03.2009
  * @version 1.0
  */
-public interface IConversationEnabled {
+public interface IConversationEnabled extends ICdmPostDataChangeObserver {
        
        /** 
         * @return the conversation holder
         */
        public ConversationHolder getConversationHolder();
-       
-       /**
-        * A mediation event might have changed the persistence context (the ConversationHolder) of this 
-        * IConversationEnabled instance. Any actions that have to be taken to cope with these changes 
-        * should take place here, as it gets called automatically by the mediator.
-        */
-       public void updateAfterEvent(ConversationMediationEvent event);
 }