adapting to new use new ICdmPermissionEvaluator
authorAndreas Kohlbecker <a.kohlbecker@bgbm.org>
Mon, 3 Feb 2014 15:52:39 +0000 (15:52 +0000)
committerAndreas Kohlbecker <a.kohlbecker@bgbm.org>
Mon, 3 Feb 2014 15:52:39 +0000 (15:52 +0000)
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/store/CdmStore.java

index 0c1235fa4f869f8e9aeea85c6f314347b00df985..4730a4fc440a27a950c73ef2c9e7589244eb98a0 100644 (file)
@@ -34,6 +34,9 @@ import eu.etaxonomy.cdm.ext.geo.IEditGeoService;
 import eu.etaxonomy.cdm.model.common.CdmBase;
 import eu.etaxonomy.cdm.model.common.Language;
 import eu.etaxonomy.cdm.persistence.hibernate.permission.CRUD;
+import eu.etaxonomy.cdm.persistence.hibernate.permission.CdmPermissionEvaluator;
+import eu.etaxonomy.cdm.persistence.hibernate.permission.ICdmPermissionEvaluator;
+import eu.etaxonomy.cdm.persistence.hibernate.permission.Role;
 import eu.etaxonomy.taxeditor.datasource.CdmDataSourceRepository;
 import eu.etaxonomy.taxeditor.io.ExportManager;
 import eu.etaxonomy.taxeditor.io.ImportManager;
@@ -302,9 +305,9 @@ public class CdmStore {
         * </p>
         * 
         * @return a
-        *         {@link PermissionEvaluator} object.
+        *         {@link ICdmPermissionEvaluator} object.
         */
-       public static PermissionEvaluator getPermissionEvaluator() {
+       public static ICdmPermissionEvaluator getPermissionEvaluator() {
                return getCurrentApplicationConfiguration().getPermissionEvaluator();
        }
 
@@ -349,6 +352,8 @@ public class CdmStore {
                return getPermissionEvaluator().hasPermission(context.getAuthentication(), null, targetType.getName(), permission);
        }
        
+
+       
        /*
         * LANGUAGE
         */