Merge branch 'hotfix/5.45.1'
[taxeditor.git] / eu.etaxonomy.taxeditor.cdmlib / src / main / java / eu / etaxonomy / taxeditor / session / ICdmEntitySessionEnabled.java
index be2e46c7c867f14f8a89b5851200c849ee6ab366..b817ac00fbbc8a08cc2db135534d4f7c3e395a3e 100644 (file)
@@ -1,17 +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.model.common.ICdmBase;
 
-public interface ICdmEntitySessionEnabled {
+public interface ICdmEntitySessionEnabled<T extends ICdmBase> {
 
     public ICdmEntitySession getCdmEntitySession();
 
-    public <T extends CdmBase> Collection<T> getRootEntities();
+    public Collection<T> getRootEntities();
 
     public Map<Object, List<String>> getPropertyPathsMap();
-
-}
+}
\ No newline at end of file