fix new methods in agent service for transient services
authorAndreas Müller <a.mueller@bgbm.org>
Wed, 1 Apr 2015 03:36:56 +0000 (03:36 +0000)
committerAndreas Müller <a.mueller@bgbm.org>
Wed, 1 Apr 2015 03:36:56 +0000 (03:36 +0000)
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/dataimport/transientServices/TransientAgentService.java

index da4a8451c8e851594fdc55779f42623f5f529a1c..1e2cf107f3c7c8c4d1adcf10ee3728d503a91c33 100644 (file)
@@ -51,6 +51,7 @@ import eu.etaxonomy.cdm.persistence.query.OrderHint;
 import eu.etaxonomy.cdm.strategy.cache.common.IIdentifiableEntityCacheStrategy;
 import eu.etaxonomy.cdm.strategy.match.IMatchStrategy;
 import eu.etaxonomy.cdm.strategy.merge.IMergeStrategy;
 import eu.etaxonomy.cdm.strategy.cache.common.IIdentifiableEntityCacheStrategy;
 import eu.etaxonomy.cdm.strategy.match.IMatchStrategy;
 import eu.etaxonomy.cdm.strategy.merge.IMergeStrategy;
+import eu.etaxonomy.cdm.strategy.merge.MergeException;
 
 /**
  * @author pplitzner
 
 /**
  * @author pplitzner
@@ -757,4 +758,16 @@ public class TransientAgentService implements IAgentService {
                return defaultService.findByIdentifier(clazz, identifier, identifierType, matchmode, includeEntity, pageSize, pageNumber, propertyPaths);
        }
 
                return defaultService.findByIdentifier(clazz, identifier, identifierType, matchmode, includeEntity, pageSize, pageNumber, propertyPaths);
        }
 
+       @Override
+       public Team convertPerson2Team(Person arg0) throws MergeException,
+                       IllegalArgumentException {
+               return defaultService.convertPerson2Team(arg0);
+       }
+
+       @Override
+       public Person convertTeam2Person(Team arg0) throws MergeException,
+                       IllegalArgumentException {
+               return defaultService.convertTeam2Person(arg0);
+       }
+
 }
 }