merge trunk into model change 3.6
[cdmlib.git] / cdmlib-services / src / main / java / eu / etaxonomy / cdm / api / service / molecular / IAmplificationService.java
index f7eeeb3d3210affbed4f8aafc94552e357f2f53e..4aed5c8cac1ef3898e63b336fde58bd026b03b69 100644 (file)
@@ -9,9 +9,12 @@
 */
 package eu.etaxonomy.cdm.api.service.molecular;
 
+import java.util.List;
+import java.util.UUID;
+
 import eu.etaxonomy.cdm.api.service.IAnnotatableService;
+import eu.etaxonomy.cdm.model.common.UuidAndTitleCache;
 import eu.etaxonomy.cdm.model.molecular.Amplification;
-import eu.etaxonomy.cdm.model.molecular.SingleRead;
 
 /**
  * @author pplitzner
@@ -21,12 +24,10 @@ import eu.etaxonomy.cdm.model.molecular.SingleRead;
 public interface IAmplificationService extends IAnnotatableService<Amplification>{
 
     /**
-     * Moves the given {@link SingleRead} from one {@link Amplification} to another.
-     * @param from the Amplification from which the SingleRead will be removed
-     * @param to the Amplification to which the SingleRead will be added
-     * @param singleRead the SingleRead to move
-     * @return <code>true</code> if successfully moved, <code>false</code> otherwise
+     * Retrieves the {@link UUID} and the string label of all
+     * {@link Amplification}s found in the data base.
+     * @return a list of {@link UuidAndTitleCache}
      */
-    public boolean moveSingleRead(Amplification from, Amplification to, SingleRead singleRead);
+    public List<UuidAndTitleCache<Amplification>> getAmplificationUuidAndLabelCache();
 
 }