import eu.etaxonomy.cdm.api.service.pager.Pager;\r
import eu.etaxonomy.cdm.api.service.search.SearchResult;\r
import eu.etaxonomy.cdm.api.service.util.TaxonRelationshipEdge;\r
-import eu.etaxonomy.cdm.model.common.CdmBase;\r
import eu.etaxonomy.cdm.model.common.ICdmBase;\r
import eu.etaxonomy.cdm.model.common.Language;\r
import eu.etaxonomy.cdm.model.description.DescriptionBase;\r
import eu.etaxonomy.cdm.model.description.TaxonDescription;\r
import eu.etaxonomy.cdm.model.location.Country;\r
import eu.etaxonomy.cdm.model.media.Media;\r
-import eu.etaxonomy.cdm.model.molecular.AmplificationResult;\r
import eu.etaxonomy.cdm.model.molecular.DnaSample;\r
import eu.etaxonomy.cdm.model.molecular.Sequence;\r
-import eu.etaxonomy.cdm.model.molecular.SingleRead;\r
import eu.etaxonomy.cdm.model.name.HomotypicalGroup;\r
import eu.etaxonomy.cdm.model.name.SpecimenTypeDesignation;\r
import eu.etaxonomy.cdm.model.occurrence.DerivationEvent;\r
*/\r
public DeleteResult delete(SpecimenOrObservationBase<?> specimen, SpecimenDeleteConfigurator config);\r
\r
- /**\r
- * Deletes the specified specimen and all sub derivates.<br>\r
- * <b>Note:</b> Be sure to allow child deletion in the config.\r
- * @param from the specimen which should be deleted with all its sub derivates\r
- * @param config the {@link SpecimenDeleteConfigurator} to specify how the deletion should be handled\r
- * @return the {@link DeleteResult} which holds information about the outcome of this operation\r
- */\r
- public DeleteResult deleteDerivateHierarchy(CdmBase from, SpecimenDeleteConfigurator config);\r
-\r
- /**\r
- * Deletes the specified specimen and all sub derivates by first loading the corresponding uuids\r
- * and then calling {@link #deleteDerivateHierarchy(CdmBase, SpecimenDeleteConfigurator) deleteDerivateHierarchy}\r
- * @param fromUuid uuid of the specimen which should be deleted with all its sub derivates\r
- * @param config the {@link SpecimenDeleteConfigurator} to specify how the deletion should be handled\r
- * @return {@link DeleteResult} which holds information about the outcome of this operation\r
- */\r
- public DeleteResult deleteDerivateHierarchy(UUID fromUuid, SpecimenDeleteConfigurator config);\r
-\r
/**\r
* Retrieves all {@link IndividualsAssociation} with the given specimen.<br>\r
* @param specimen the specimen for which the associations are retrieved\r
*/\r
public List<DerivedUnit> getAllChildDerivatives(SpecimenOrObservationBase<?> specimen);\r
\r
- /**\r
- * Deletes a {@link SingleRead} from the given {@link Sequence} and its {@link AmplificationResult}.\r
- * @param singleRead the single read to delete\r
- * @param sequence the sequence to which the single read belongs\r
- * @return the {@link DeleteResult} which holds information about the outcome of this operation\r
- */\r
- public DeleteResult deleteSingleRead(SingleRead singleRead, Sequence sequence);\r
-\r
- /**\r
- * Deletes a {@link SingleRead} from the given {@link Sequence} and its {@link AmplificationResult},\r
- * by first loading the corresponding uuids and then calling {@link #deleteSingleRead(SingleRead, Sequence) deleteSingleRead}\r
- * @param singleReadUuid uuid of the single read to delete\r
- * @param sequenceUuid uuid of the sequence to which the single read belongs\r
- * @return the {@link DeleteResult} which holds information about the outcome of this operation\r
- */\r
- public DeleteResult deleteSingleRead(UUID singleReadUuid, UUID sequenceUuid);\r
-\r
}\r