remove deprecated method
authorAndreas Müller <a.mueller@bgbm.org>
Fri, 6 Jun 2014 21:06:39 +0000 (21:06 +0000)
committerAndreas Müller <a.mueller@bgbm.org>
Fri, 6 Jun 2014 21:06:39 +0000 (21:06 +0000)
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/dataimport/transientServices/TransientTermService.java
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/store/TermStore.java
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/dialog/selection/FeatureSelectionDialog.java

index e4a80d30d05beea9f8ef9f6ccef273408ee0a4d4..87cef5ce00052153a4c57c35a9d4313d09e76fc0 100644 (file)
@@ -585,20 +585,6 @@ public class TransientTermService implements ITermService {
         return defaultTermService.list(type, limit, start, orderHints, propertyPaths);
     }
 
-    /**
-     * @param clazz
-     * @param limit
-     * @param start
-     * @param orderHints
-     * @param propertyPaths
-     * @return
-     * @see eu.etaxonomy.cdm.api.service.ITermService#listByTermClass(java.lang.Class, java.lang.Integer, java.lang.Integer, java.util.List, java.util.List)
-     */
-    @Override
-    public <TERM extends DefinedTermBase> List<TERM> listByTermClass(Class<TERM> clazz, Integer limit, Integer start, List<OrderHint> orderHints, List<String> propertyPaths) {
-        return defaultTermService.listByTermClass(clazz, limit, start, orderHints, propertyPaths);
-    }
-
     /**
      * @param term
      * @param config
index d7e1c2cf146eaa721ef82870f6e0b96280b24bc5..59c34cda11075d7dc06118250cf7c8902976c3a1 100644 (file)
@@ -88,7 +88,7 @@ public class TermStore {
                        comparator = new DefaultTermComparator<T>();
                }
                
-               List<T> terms = CdmStore.getService(ITermService.class).listByTermClass(termClass, null, null, null, null);
+               List<T> terms = CdmStore.getService(ITermService.class).list(termClass, null, null, null, null);
                Collections.sort(terms, comparator);
                return terms;
        }
index 9314066a7dda010dd162605c31a694ae85d5fdf8..240982f87e86c1b711ca9b28f0f4a2dd622278cb 100644 (file)
@@ -72,7 +72,7 @@ public class FeatureSelectionDialog extends
         */
        @Override
        protected void initModel() {
-               List<Feature> features = CdmStore.getService(ITermService.class).listByTermClass(Feature.class, null, null, null, null);
+               List<Feature> features = CdmStore.getService(ITermService.class).list(Feature.class, null, null, null, null);
                
                List<UuidAndTitleCache<Feature>> featureUuidAndTitleCache = new ArrayList<UuidAndTitleCache<Feature>>();