Fix issues with merge conflicts
[taxeditor.git] / eu.etaxonomy.taxeditor.editor / src / main / java / eu / etaxonomy / taxeditor / editor / view / dataimport / transientServices / TransientClassificationService.java
index 89116165b5973eff378cb68cb553ec010b99373d..3279e09ffa7a8fcd504354cbd89a69d26df2d3cd 100644 (file)
@@ -22,17 +22,20 @@ import org.hibernate.envers.query.criteria.AuditCriterion;
 
 import eu.etaxonomy.cdm.api.service.DeleteResult;
 import eu.etaxonomy.cdm.api.service.IClassificationService;
+import eu.etaxonomy.cdm.api.service.UpdateResult;
+import eu.etaxonomy.cdm.api.service.config.CreateHierarchyForClassificationConfigurator;
 import eu.etaxonomy.cdm.api.service.config.DeleteConfiguratorBase;
 import eu.etaxonomy.cdm.api.service.config.IIdentifiableEntityServiceConfigurator;
+import eu.etaxonomy.cdm.api.service.dto.FindByIdentifierDTO;
 import eu.etaxonomy.cdm.api.service.pager.Pager;
 import eu.etaxonomy.cdm.common.monitor.IProgressMonitor;
 import eu.etaxonomy.cdm.model.common.Annotation;
+import eu.etaxonomy.cdm.model.common.DefinedTerm;
 import eu.etaxonomy.cdm.model.common.ISourceable;
 import eu.etaxonomy.cdm.model.common.IdentifiableSource;
 import eu.etaxonomy.cdm.model.common.LSID;
 import eu.etaxonomy.cdm.model.common.Marker;
 import eu.etaxonomy.cdm.model.common.MarkerType;
-import eu.etaxonomy.cdm.model.common.UuidAndTitleCache;
 import eu.etaxonomy.cdm.model.media.MediaRepresentation;
 import eu.etaxonomy.cdm.model.media.Rights;
 import eu.etaxonomy.cdm.model.name.Rank;
@@ -43,6 +46,7 @@ import eu.etaxonomy.cdm.model.taxon.TaxonNode;
 import eu.etaxonomy.cdm.model.view.AuditEvent;
 import eu.etaxonomy.cdm.model.view.AuditEventRecord;
 import eu.etaxonomy.cdm.persistence.dao.common.AuditEventSort;
+import eu.etaxonomy.cdm.persistence.dto.UuidAndTitleCache;
 import eu.etaxonomy.cdm.persistence.query.Grouping;
 import eu.etaxonomy.cdm.persistence.query.MatchMode;
 import eu.etaxonomy.cdm.persistence.query.OrderHint;
@@ -57,13 +61,13 @@ import eu.etaxonomy.cdm.strategy.merge.IMergeStrategy;
  */
 public class TransientClassificationService implements IClassificationService {
 
-    private final IClassificationService defaultClassificationService;
+    private final IClassificationService defaultService;
 
     /**
      * @param defaultClassificationService
      */
     public TransientClassificationService(IClassificationService defaultClassificationService) {
-        this.defaultClassificationService = defaultClassificationService;
+        this.defaultService = defaultClassificationService;
     }
 
     /**
@@ -77,7 +81,7 @@ public class TransientClassificationService implements IClassificationService {
      */
     @Override
     public Pager<AuditEventRecord<Classification>> pageAuditEvents(Classification t, Integer pageSize, Integer pageNumber, AuditEventSort sort, List<String> propertyPaths) {
-        return defaultClassificationService.pageAuditEvents(t, pageSize, pageNumber, sort, propertyPaths);
+        return defaultService.pageAuditEvents(t, pageSize, pageNumber, sort, propertyPaths);
     }
 
     /**
@@ -92,7 +96,7 @@ public class TransientClassificationService implements IClassificationService {
      */
     @Override
     public Pager<Annotation> getAnnotations(Classification annotatedObj, MarkerType status, Integer pageSize, Integer pageNumber, List<OrderHint> orderHints, List<String> propertyPaths) {
-        return defaultClassificationService.getAnnotations(annotatedObj, status, pageSize, pageNumber, orderHints, propertyPaths);
+        return defaultService.getAnnotations(annotatedObj, status, pageSize, pageNumber, orderHints, propertyPaths);
     }
 
     /**
@@ -102,7 +106,7 @@ public class TransientClassificationService implements IClassificationService {
      */
     @Override
     public TaxonNode getTaxonNodeByUuid(UUID uuid) {
-        return defaultClassificationService.getTaxonNodeByUuid(uuid);
+        return defaultService.getTaxonNodeByUuid(uuid);
     }
 
     /**
@@ -112,7 +116,7 @@ public class TransientClassificationService implements IClassificationService {
      */
     @Override
     public ITaxonTreeNode getTreeNodeByUuid(UUID uuid) {
-        return defaultClassificationService.getTreeNodeByUuid(uuid);
+        return defaultService.getTreeNodeByUuid(uuid);
     }
 
     /**
@@ -121,7 +125,7 @@ public class TransientClassificationService implements IClassificationService {
      */
     @Override
     public void clear() {
-        defaultClassificationService.clear();
+        defaultService.clear();
     }
 
     /**
@@ -134,7 +138,7 @@ public class TransientClassificationService implements IClassificationService {
      */
     @Override
     public List<Classification> listClassifications(Integer limit, Integer start, List<OrderHint> orderHints, List<String> propertyPaths) {
-        return defaultClassificationService.listClassifications(limit, start, orderHints, propertyPaths);
+        return defaultService.listClassifications(limit, start, orderHints, propertyPaths);
     }
 
     /**
@@ -144,7 +148,7 @@ public class TransientClassificationService implements IClassificationService {
      */
     @Override
     public void lock(Classification t, LockOptions lockOptions) {
-        defaultClassificationService.lock(t, lockOptions);
+        defaultService.lock(t, lockOptions);
     }
 
     /**
@@ -155,7 +159,7 @@ public class TransientClassificationService implements IClassificationService {
      */
     @Override
     public void refresh(Classification t, LockOptions lockOptions, List<String> propertyPaths) {
-        defaultClassificationService.refresh(t, lockOptions, propertyPaths);
+        defaultService.refresh(t, lockOptions, propertyPaths);
     }
 
     /**
@@ -169,7 +173,7 @@ public class TransientClassificationService implements IClassificationService {
     @Deprecated
     @Override
     public TaxonNode loadTaxonNodeByTaxon(Taxon taxon, UUID classificationUuid, List<String> propertyPaths) {
-        return defaultClassificationService.loadTaxonNodeByTaxon(taxon, classificationUuid, propertyPaths);
+        return defaultService.loadTaxonNodeByTaxon(taxon, classificationUuid, propertyPaths);
     }
 
     /**
@@ -178,7 +182,7 @@ public class TransientClassificationService implements IClassificationService {
      */
     @Override
     public void updateTitleCache() {
-        defaultClassificationService.updateTitleCache();
+        defaultService.updateTitleCache();
     }
 
     /**
@@ -188,7 +192,7 @@ public class TransientClassificationService implements IClassificationService {
      */
     @Override
     public AuditEventRecord<Classification> getNextAuditEvent(Classification t) {
-        return defaultClassificationService.getNextAuditEvent(t);
+        return defaultService.getNextAuditEvent(t);
     }
 
     /**
@@ -203,7 +207,7 @@ public class TransientClassificationService implements IClassificationService {
      */
     @Override
     public Pager<Marker> getMarkers(Classification annotatableEntity, Boolean technical, Integer pageSize, Integer pageNumber, List<OrderHint> orderHints, List<String> propertyPaths) {
-        return defaultClassificationService.getMarkers(annotatableEntity, technical, pageSize, pageNumber, orderHints, propertyPaths);
+        return defaultService.getMarkers(annotatableEntity, technical, pageSize, pageNumber, orderHints, propertyPaths);
     }
 
     /**
@@ -215,7 +219,7 @@ public class TransientClassificationService implements IClassificationService {
      */
     @Override
     public void updateTitleCache(Class<? extends Classification> clazz, Integer stepSize, IIdentifiableEntityCacheStrategy<Classification> cacheStrategy, IProgressMonitor monitor) {
-        defaultClassificationService.updateTitleCache(clazz, stepSize, cacheStrategy, monitor);
+        defaultService.updateTitleCache(clazz, stepSize, cacheStrategy, monitor);
     }
 
     /**
@@ -228,7 +232,7 @@ public class TransientClassificationService implements IClassificationService {
     @Deprecated
     @Override
     public TaxonNode loadTaxonNode(TaxonNode taxonNode, List<String> propertyPaths) {
-        return defaultClassificationService.loadTaxonNode(taxonNode, propertyPaths);
+        return defaultService.loadTaxonNode(taxonNode, propertyPaths);
     }
 
     /**
@@ -238,7 +242,7 @@ public class TransientClassificationService implements IClassificationService {
      */
     @Override
     public AuditEventRecord<Classification> getPreviousAuditEvent(Classification t) {
-        return defaultClassificationService.getPreviousAuditEvent(t);
+        return defaultService.getPreviousAuditEvent(t);
     }
 
     /**
@@ -254,7 +258,7 @@ public class TransientClassificationService implements IClassificationService {
     @Deprecated
     @Override
     public List<TaxonNode> loadRankSpecificRootNodes(Classification classification, Rank rank, Integer limit, Integer start, List<String> propertyPaths) {
-        return defaultClassificationService.loadRankSpecificRootNodes(classification, rank, limit, start, propertyPaths);
+        return defaultService.loadRankSpecificRootNodes(classification, rank, limit, start, propertyPaths);
     }
 
     /**
@@ -264,7 +268,7 @@ public class TransientClassificationService implements IClassificationService {
      */
     @Override
     public int count(Class<? extends Classification> clazz) {
-        return defaultClassificationService.count(clazz);
+        return defaultService.count(clazz);
     }
 
     /**
@@ -281,7 +285,7 @@ public class TransientClassificationService implements IClassificationService {
      */
     @Override
     public Pager<AuditEventRecord<Classification>> pageAuditEvents(Class<? extends Classification> clazz, AuditEvent from, AuditEvent to, List<AuditCriterion> criteria, Integer pageSize, Integer pageValue, AuditEventSort sort, List<String> propertyPaths) {
-        return defaultClassificationService.pageAuditEvents(clazz, from, to, criteria, pageSize, pageValue, sort, propertyPaths);
+        return defaultService.pageAuditEvents(clazz, from, to, criteria, pageSize, pageValue, sort, propertyPaths);
     }
 
     /**
@@ -291,7 +295,7 @@ public class TransientClassificationService implements IClassificationService {
      */
     @Override
     public Classification find(LSID lsid) {
-        return defaultClassificationService.find(lsid);
+        return defaultService.find(lsid);
     }
 
     /**
@@ -301,7 +305,7 @@ public class TransientClassificationService implements IClassificationService {
      */
     @Override
     public DeleteResult delete(Classification persistentObject) {
-        return defaultClassificationService.delete(persistentObject);
+        return defaultService.delete(persistentObject);
     }
 
     /**
@@ -315,7 +319,7 @@ public class TransientClassificationService implements IClassificationService {
      */
     @Override
     public List<Object[]> groupMarkers(Class<? extends Classification> clazz, Boolean technical, Integer pageSize, Integer pageNumber, List<String> propertyPaths) {
-        return defaultClassificationService.groupMarkers(clazz, technical, pageSize, pageNumber, propertyPaths);
+        return defaultService.groupMarkers(clazz, technical, pageSize, pageNumber, propertyPaths);
     }
 
     /**
@@ -325,7 +329,7 @@ public class TransientClassificationService implements IClassificationService {
      */
     @Override
     public boolean exists(UUID uuid) {
-        return defaultClassificationService.exists(uuid);
+        return defaultService.exists(uuid);
     }
 
     /**
@@ -336,7 +340,7 @@ public class TransientClassificationService implements IClassificationService {
      */
     @Override
     public Classification replace(Classification x, Classification y) {
-        return defaultClassificationService.replace(x, y);
+        return defaultService.replace(x, y);
     }
 
     /**
@@ -346,7 +350,7 @@ public class TransientClassificationService implements IClassificationService {
      */
     @Override
     public List<Classification> find(Set<UUID> uuidSet) {
-        return defaultClassificationService.find(uuidSet);
+        return defaultService.find(uuidSet);
     }
 
     /**
@@ -359,7 +363,7 @@ public class TransientClassificationService implements IClassificationService {
      */
     @Override
     public Pager<IdentifiableSource> getSources(Classification t, Integer pageSize, Integer pageNumber, List<String> propertyPaths) {
-        return defaultClassificationService.getSources(t, pageSize, pageNumber, propertyPaths);
+        return defaultService.getSources(t, pageSize, pageNumber, propertyPaths);
     }
 
     /**
@@ -373,7 +377,7 @@ public class TransientClassificationService implements IClassificationService {
      */
     @Override
     public List<TaxonNode> listRankSpecificRootNodes(Classification classification, Rank rank, Integer pageSize, Integer pageIndex, List<String> propertyPaths) {
-        return defaultClassificationService.listRankSpecificRootNodes(classification, rank, pageSize, pageIndex, propertyPaths);
+        return defaultService.listRankSpecificRootNodes(classification, rank, pageSize, pageIndex, propertyPaths);
     }
 
     /**
@@ -383,7 +387,7 @@ public class TransientClassificationService implements IClassificationService {
      */
     @Override
     public Classification find(UUID uuid) {
-        return defaultClassificationService.find(uuid);
+        return defaultService.find(uuid);
     }
 
     /**
@@ -393,7 +397,7 @@ public class TransientClassificationService implements IClassificationService {
      */
     @Override
     public Classification find(int id) {
-        return defaultClassificationService.find(id);
+        return defaultService.find(id);
     }
 
     /**
@@ -406,7 +410,7 @@ public class TransientClassificationService implements IClassificationService {
      */
     @Override
     public Pager<Rights> getRights(Classification t, Integer pageSize, Integer pageNumber, List<String> propertyPaths) {
-        return defaultClassificationService.getRights(t, pageSize, pageNumber, propertyPaths);
+        return defaultService.getRights(t, pageSize, pageNumber, propertyPaths);
     }
 
     /**
@@ -417,7 +421,7 @@ public class TransientClassificationService implements IClassificationService {
      */
     @Override
     public int countMarkers(Class<? extends Classification> clazz, Boolean technical) {
-        return defaultClassificationService.countMarkers(clazz, technical);
+        return defaultService.countMarkers(clazz, technical);
     }
 
     /**
@@ -427,7 +431,7 @@ public class TransientClassificationService implements IClassificationService {
      */
     @Override
     public List<Classification> findById(Set<Integer> idSet) {
-        return defaultClassificationService.findById(idSet);
+        return defaultService.findById(idSet);
     }
 
     /**
@@ -439,7 +443,7 @@ public class TransientClassificationService implements IClassificationService {
      */
     @Override
     public ISourceable getSourcedObjectByIdInSource(Class clazz, String idInSource, String idNamespace) {
-        return defaultClassificationService.getSourcedObjectByIdInSource(clazz, idInSource, idNamespace);
+        return defaultService.getSourcedObjectByIdInSource(clazz, idInSource, idNamespace);
     }
 
     /**
@@ -453,7 +457,7 @@ public class TransientClassificationService implements IClassificationService {
      */
     @Override
     public Pager<TaxonNode> pageRankSpecificRootNodes(Classification classification, Rank rank, Integer pageSize, Integer pageIndex, List<String> propertyPaths) {
-        return defaultClassificationService.pageRankSpecificRootNodes(classification, rank, pageSize, pageIndex, propertyPaths);
+        return defaultService.pageRankSpecificRootNodes(classification, rank, pageSize, pageIndex, propertyPaths);
     }
 
     /**
@@ -462,7 +466,7 @@ public class TransientClassificationService implements IClassificationService {
      */
     @Override
     public Session getSession() {
-        return defaultClassificationService.getSession();
+        return defaultService.getSession();
     }
 
     /**
@@ -471,7 +475,7 @@ public class TransientClassificationService implements IClassificationService {
      */
     @Override
     public List<UuidAndTitleCache<Classification>> getUuidAndTitleCache() {
-        return defaultClassificationService.getUuidAndTitleCache();
+        return defaultService.getUuidAndTitleCache();
     }
 
     /**
@@ -485,7 +489,7 @@ public class TransientClassificationService implements IClassificationService {
      */
     @Override
     public List<Object[]> group(Class<? extends Classification> clazz, Integer limit, Integer start, List<Grouping> groups, List<String> propertyPaths) {
-        return defaultClassificationService.group(clazz, limit, start, groups, propertyPaths);
+        return defaultService.group(clazz, limit, start, groups, propertyPaths);
     }
 
     /**
@@ -502,7 +506,7 @@ public class TransientClassificationService implements IClassificationService {
      */
     @Override
     public Pager<Classification> findByTitle(Class<? extends Classification> clazz, String queryString, MatchMode matchmode, List<Criterion> criteria, Integer pageSize, Integer pageNumber, List<OrderHint> orderHints, List<String> propertyPaths) {
-        return defaultClassificationService.findByTitle(clazz, queryString, matchmode, criteria, pageSize, pageNumber, orderHints, propertyPaths);
+        return defaultService.findByTitle(clazz, queryString, matchmode, criteria, pageSize, pageNumber, orderHints, propertyPaths);
     }
 
     /**
@@ -514,7 +518,7 @@ public class TransientClassificationService implements IClassificationService {
      */
     @Override
     public List<TaxonNode> loadTreeBranch(TaxonNode taxonNode, Rank baseRank, List<String> propertyPaths) {
-        return defaultClassificationService.loadTreeBranch(taxonNode, baseRank, propertyPaths);
+        return defaultService.loadTreeBranch(taxonNode, baseRank, propertyPaths);
     }
 
     /**
@@ -528,7 +532,7 @@ public class TransientClassificationService implements IClassificationService {
      */
     @Override
     public <S extends Classification> List<S> list(Class<S> type, Integer limit, Integer start, List<OrderHint> orderHints, List<String> propertyPaths) {
-        return defaultClassificationService.list(type, limit, start, orderHints, propertyPaths);
+        return defaultService.list(type, limit, start, orderHints, propertyPaths);
     }
 
     /**
@@ -541,7 +545,7 @@ public class TransientClassificationService implements IClassificationService {
      */
     @Override
     public List<TaxonNode> loadTreeBranchToTaxon(Taxon taxon, Classification classification, Rank baseRank, List<String> propertyPaths) {
-        return defaultClassificationService.loadTreeBranchToTaxon(taxon, classification, baseRank, propertyPaths);
+        return defaultService.loadTreeBranchToTaxon(taxon, classification, baseRank, propertyPaths);
     }
 
     /**
@@ -551,7 +555,7 @@ public class TransientClassificationService implements IClassificationService {
      */
     @Override
     public Pager<Classification> findByTitle(IIdentifiableEntityServiceConfigurator<Classification> configurator) {
-        return defaultClassificationService.findByTitle(configurator);
+        return defaultService.findByTitle(configurator);
     }
 
     /**
@@ -564,7 +568,7 @@ public class TransientClassificationService implements IClassificationService {
      */
     @Override
     public Integer countByTitle(Class<? extends Classification> clazz, String queryString, MatchMode matchmode, List<Criterion> criteria) {
-        return defaultClassificationService.countByTitle(clazz, queryString, matchmode, criteria);
+        return defaultService.countByTitle(clazz, queryString, matchmode, criteria);
     }
 
     /**
@@ -574,7 +578,7 @@ public class TransientClassificationService implements IClassificationService {
      */
     @Override
     public Classification load(UUID uuid) {
-        return defaultClassificationService.load(uuid);
+        return defaultService.load(uuid);
     }
 
     /**
@@ -585,7 +589,7 @@ public class TransientClassificationService implements IClassificationService {
      */
     @Override
     public Classification load(UUID uuid, List<String> propertyPaths) {
-        return defaultClassificationService.load(uuid, propertyPaths);
+        return defaultService.load(uuid, propertyPaths);
     }
 
     /**
@@ -595,7 +599,7 @@ public class TransientClassificationService implements IClassificationService {
      */
     @Override
     public Integer countByTitle(IIdentifiableEntityServiceConfigurator<Classification> configurator) {
-        return defaultClassificationService.countByTitle(configurator);
+        return defaultService.countByTitle(configurator);
     }
 
     /**
@@ -605,7 +609,7 @@ public class TransientClassificationService implements IClassificationService {
      */
     @Override
     public Classification merge(Classification transientObject) {
-        return defaultClassificationService.merge(transientObject);
+        return defaultService.merge(transientObject);
     }
 
     /**
@@ -622,7 +626,7 @@ public class TransientClassificationService implements IClassificationService {
      */
     @Override
     public List<Classification> listByTitle(Class<? extends Classification> clazz, String queryString, MatchMode matchmode, List<Criterion> criteria, Integer pageSize, Integer pageNumber, List<OrderHint> orderHints, List<String> propertyPaths) {
-        return defaultClassificationService.listByTitle(clazz, queryString, matchmode, criteria, pageSize, pageNumber, orderHints, propertyPaths);
+        return defaultService.listByTitle(clazz, queryString, matchmode, criteria, pageSize, pageNumber, orderHints, propertyPaths);
     }
 
     /**
@@ -636,7 +640,7 @@ public class TransientClassificationService implements IClassificationService {
      */
     @Override
     public <S extends Classification> Pager<S> page(Class<S> type, Integer pageSize, Integer pageNumber, List<OrderHint> orderHints, List<String> propertyPaths) {
-        return defaultClassificationService.page(type, pageSize, pageNumber, orderHints, propertyPaths);
+        return defaultService.page(type, pageSize, pageNumber, orderHints, propertyPaths);
     }
 
     /**
@@ -649,7 +653,7 @@ public class TransientClassificationService implements IClassificationService {
     @Deprecated
     @Override
     public List<TaxonNode> loadChildNodesOfTaxonNode(TaxonNode taxonNode, List<String> propertyPaths) {
-        return defaultClassificationService.loadChildNodesOfTaxonNode(taxonNode, propertyPaths);
+        return defaultService.loadChildNodesOfTaxonNode(taxonNode, propertyPaths);
     }
 
     /**
@@ -659,7 +663,7 @@ public class TransientClassificationService implements IClassificationService {
      */
     @Override
     public List<UuidAndTitleCache<TaxonNode>> getTaxonNodeUuidAndTitleCacheOfAcceptedTaxaByClassification(Classification classification) {
-        return defaultClassificationService.getTaxonNodeUuidAndTitleCacheOfAcceptedTaxaByClassification(classification);
+        return defaultService.getTaxonNodeUuidAndTitleCacheOfAcceptedTaxaByClassification(classification);
     }
 
     /**
@@ -677,7 +681,7 @@ public class TransientClassificationService implements IClassificationService {
     @Deprecated
     @Override
     public Map<UUID, List<MediaRepresentation>> getAllMediaForChildNodes(Taxon taxon, Classification taxTree, List<String> propertyPaths, int size, int height, int widthOrDuration, String[] mimeTypes) {
-        return defaultClassificationService.getAllMediaForChildNodes(taxon, taxTree, propertyPaths, size, height, widthOrDuration, mimeTypes);
+        return defaultService.getAllMediaForChildNodes(taxon, taxTree, propertyPaths, size, height, widthOrDuration, mimeTypes);
     }
 
     /**
@@ -687,7 +691,7 @@ public class TransientClassificationService implements IClassificationService {
      */
     @Override
     public UUID refresh(Classification persistentObject) {
-        return defaultClassificationService.refresh(persistentObject);
+        return defaultService.refresh(persistentObject);
     }
 
     /**
@@ -704,7 +708,7 @@ public class TransientClassificationService implements IClassificationService {
      */
     @Override
     public List<Classification> listByReferenceTitle(Class<? extends Classification> clazz, String queryString, MatchMode matchmode, List<Criterion> criteria, Integer pageSize, Integer pageNumber, List<OrderHint> orderHints, List<String> propertyPaths) {
-        return defaultClassificationService.listByReferenceTitle(clazz, queryString, matchmode, criteria, pageSize, pageNumber, orderHints, propertyPaths);
+        return defaultService.listByReferenceTitle(clazz, queryString, matchmode, criteria, pageSize, pageNumber, orderHints, propertyPaths);
     }
 
     /**
@@ -719,7 +723,7 @@ public class TransientClassificationService implements IClassificationService {
      */
     @Override
     public Map<UUID, List<MediaRepresentation>> getAllMediaForChildNodes(TaxonNode taxonNode, List<String> propertyPaths, int size, int height, int widthOrDuration, String[] mimeTypes) {
-        return defaultClassificationService.getAllMediaForChildNodes(taxonNode, propertyPaths, size, height, widthOrDuration, mimeTypes);
+        return defaultService.getAllMediaForChildNodes(taxonNode, propertyPaths, size, height, widthOrDuration, mimeTypes);
     }
 
     /**
@@ -731,7 +735,7 @@ public class TransientClassificationService implements IClassificationService {
      */
     @Override
     public List<Classification> rows(String tableName, int limit, int start) {
-        return defaultClassificationService.rows(tableName, limit, start);
+        return defaultService.rows(tableName, limit, start);
     }
 
     /**
@@ -753,7 +757,7 @@ public class TransientClassificationService implements IClassificationService {
     @Deprecated
     @Override
     public UUID removeTaxonNode(TaxonNode taxonNode) {
-        return defaultClassificationService.removeTaxonNode(taxonNode);
+        return defaultService.removeTaxonNode(taxonNode);
     }
 
     /**
@@ -807,7 +811,7 @@ public class TransientClassificationService implements IClassificationService {
      */
     @Override
     public UUID removeTreeNode(ITaxonTreeNode treeNode) {
-        return defaultClassificationService.removeTreeNode(treeNode);
+        return defaultService.removeTreeNode(treeNode);
     }
 
     /**
@@ -822,7 +826,7 @@ public class TransientClassificationService implements IClassificationService {
      */
     @Override
     public Pager<Classification> search(Class<? extends Classification> clazz, String queryString, Integer pageSize, Integer pageNumber, List<OrderHint> orderHints, List<String> propertyPaths) {
-        return defaultClassificationService.search(clazz, queryString, pageSize, pageNumber, orderHints, propertyPaths);
+        return defaultService.search(clazz, queryString, pageSize, pageNumber, orderHints, propertyPaths);
     }
 
     /**
@@ -851,7 +855,7 @@ public class TransientClassificationService implements IClassificationService {
      */
     @Override
     public List<TaxonNode> getAllNodes() {
-        return defaultClassificationService.getAllNodes();
+        return defaultService.getAllNodes();
     }
 
     /**
@@ -861,7 +865,7 @@ public class TransientClassificationService implements IClassificationService {
      */
     @Override
     public UUID update(Classification transientObject) {
-        return defaultClassificationService.update(transientObject);
+        return defaultService.update(transientObject);
     }
 
     /**
@@ -876,7 +880,7 @@ public class TransientClassificationService implements IClassificationService {
      */
     @Override
     public List<Classification> list(Classification example, Set<String> includeProperties, Integer limit, Integer start, List<OrderHint> orderHints, List<String> propertyPaths) {
-        return defaultClassificationService.list(example, includeProperties, limit, start, orderHints, propertyPaths);
+        return defaultService.list(example, includeProperties, limit, start, orderHints, propertyPaths);
     }
 
     /**
@@ -888,7 +892,7 @@ public class TransientClassificationService implements IClassificationService {
      */
     @Override
     public int deduplicate(Class<? extends Classification> clazz, IMatchStrategy matchStrategy, IMergeStrategy mergeStrategy) {
-        return defaultClassificationService.deduplicate(clazz, matchStrategy, mergeStrategy);
+        return defaultService.deduplicate(clazz, matchStrategy, mergeStrategy);
     }
 
     /**
@@ -903,7 +907,7 @@ public class TransientClassificationService implements IClassificationService {
      */
     @Override
     public Pager<Classification> findTitleCache(Class<? extends Classification> clazz, String queryString, Integer pageSize, Integer pageNumber, List<OrderHint> orderHints, MatchMode matchMode) {
-        return defaultClassificationService.findTitleCache(clazz, queryString, pageSize, pageNumber, orderHints, matchMode);
+        return defaultService.findTitleCache(clazz, queryString, pageSize, pageNumber, orderHints, matchMode);
     }
 
     /* (non-Javadoc)
@@ -912,11 +916,11 @@ public class TransientClassificationService implements IClassificationService {
     @Override
     public List<TaxonNode> listChildNodesOfTaxon(UUID taxonUuid, UUID classificationUuid, Integer pageSize,
             Integer pageIndex, List<String> propertyPaths) {
-        return defaultClassificationService.listChildNodesOfTaxon(taxonUuid, classificationUuid, pageSize, pageIndex, propertyPaths);
+        return defaultService.listChildNodesOfTaxon(taxonUuid, classificationUuid, pageSize, pageIndex, propertyPaths);
     }
 
        @Override
-       public List<String> isDeletable(Classification object,
+       public DeleteResult isDeletable(Classification object,
                        DeleteConfiguratorBase config) {
                // TODO Auto-generated method stub
                return null;
@@ -924,9 +928,27 @@ public class TransientClassificationService implements IClassificationService {
 
        @Override
        public Classification findWithoutFlush(UUID uuid) {
-               return defaultClassificationService.findWithoutFlush(uuid);
+               return defaultService.findWithoutFlush(uuid);
        }
 
 
+       @Override
+       public <S extends Classification>  Pager<FindByIdentifierDTO<S>> findByIdentifier(Class<S> clazz, String identifier, DefinedTerm identifierType, MatchMode matchmode, boolean includeEntity, Integer pageSize, Integer pageNumber, List<String> propertyPaths){
+               return defaultService.findByIdentifier(clazz, identifier, identifierType, matchmode, includeEntity, pageSize, pageNumber, propertyPaths);
+       }
+
+    @Override
+    public UpdateResult createHierarchyInClassification(Classification arg1, CreateHierarchyForClassificationConfigurator arg2) {
+       return defaultService.createHierarchyInClassification(arg1, arg2);
+    }
+
+    /* (non-Javadoc)
+     * @see eu.etaxonomy.cdm.api.service.IService#delete(java.util.UUID)
+     */
+    @Override
+    public DeleteResult delete(UUID arg0) {
+        return defaultService.delete(arg0);
+    }
+
 
 }