implement list find method for user and group services (#2283 and #2284). Tests are...
[cdmlib.git] / cdmlib-services / src / main / java / eu / etaxonomy / cdm / api / service / IFeatureTreeService.java
index 79a54d4ae98ccf217e847ece802ba4cc4959a65f..18393ea8f2dc3eec65e5a035ac1237e64fd5d820 100644 (file)
@@ -1,6 +1,17 @@
+/**\r
+* Copyright (C) 2009 EDIT\r
+* European Distributed Institute of Taxonomy\r
+* http://www.e-taxonomy.eu\r
+*\r
+* The contents of this file are subject to the Mozilla Public License Version 1.1\r
+* See LICENSE.TXT at the top of this package for the full license terms.\r
+*/ \r
+\r
 package eu.etaxonomy.cdm.api.service;\r
 \r
+import java.util.Collection;\r
 import java.util.List;\r
+import java.util.Map;\r
 import java.util.UUID;\r
 \r
 import eu.etaxonomy.cdm.model.description.FeatureNode;\r
@@ -21,4 +32,9 @@ public interface IFeatureTreeService extends IIdentifiableEntityService<FeatureT
         */\r
        public FeatureTree loadWithNodes(UUID uuid, List<String> propertyPaths, List<String> nodePaths);\r
 \r
+       public Map<UUID, FeatureNode> saveFeatureNodesAll(Collection<FeatureNode> featureNodeCollection);\r
+       \r
+       public Map<UUID, FeatureNode> saveOrUpdateFeatureNodesAll(Collection<FeatureNode> featureNodeCollection);\r
+       \r
+       public FeatureTree createTransientDefaultFeatureTree();\r
 }\r