Merge branch 'hotfix/5.45.1'
[taxeditor.git] / eu.etaxonomy.taxeditor.cdmlib / src / main / java / eu / etaxonomy / taxeditor / session / ICdmEntitySessionEnabled.java
index ba70991e03de8387da864a74a464154e9838abca..b817ac00fbbc8a08cc2db135534d4f7c3e395a3e 100644 (file)
@@ -1,14 +1,24 @@
+/**
+* Copyright (C) 2015 EDIT
+* European Distributed Institute of Taxonomy
+* http://www.e-taxonomy.eu
+*
+* The contents of this file are subject to the Mozilla Public License Version 1.1
+* See LICENSE.TXT at the top of this package for the full license terms.
+*/
 package eu.etaxonomy.taxeditor.session;
 
+import java.util.Collection;
 import java.util.List;
+import java.util.Map;
 
-import eu.etaxonomy.cdm.model.common.CdmBase;
-import eu.etaxonomy.cdm.persistence.hibernate.ICdmPostDataChangeObserver;
+import eu.etaxonomy.cdm.model.common.ICdmBase;
 
-public interface ICdmEntitySessionEnabled extends ICdmPostDataChangeObserver {
+public interface ICdmEntitySessionEnabled<T extends ICdmBase> {
 
     public ICdmEntitySession getCdmEntitySession();
 
-    public <T extends CdmBase> List<T> getRootEntities();
+    public Collection<T> getRootEntities();
 
-}
+    public Map<Object, List<String>> getPropertyPathsMap();
+}
\ No newline at end of file