public class TaxonDeletionConfigurator extends TaxonBaseDeletionConfigurator
NameDeletionConfigurator
TaxonNodeDeletionConfigurator
ITaxonService#deleteTaxon(eu.etaxonomy.cdm.model.taxon.Taxon)
,
Serialized FormConstructor and Description |
---|
TaxonDeletionConfigurator() |
Modifier and Type | Method and Description |
---|---|
java.util.UUID |
getClassificationUuid() |
TaxonNodeDeletionConfigurator |
getTaxonNodeConfig()
The configurator for node deletion.
|
boolean |
isDeleteConceptRelationships() |
boolean |
isDeleteDescriptions()
If
true all taxon descriptions linked to
the taxon are deleted. |
boolean |
isDeleteInAllClassifications() |
boolean |
isDeleteMisappliedNamesAndInvalidDesignations()
If
true related taxa with TaxonRelationshipType misappliedName or invalidDesignation will be removed if possible
It is possible to remove a related taxon if it is not used in any other context, e.g. |
boolean |
isDeleteSynonymsIfPossible()
If
true synonyms will be removed if possible but only if TaxonBaseDeletionConfigurator.isDeleteSynonymRelations()
is also true . |
boolean |
isDeleteTaxonNodes()
If
true all taxon nodes this taxon belongs to
are deleted. |
boolean |
isDeleteTaxonRelationships()
If
true all taxon relationships linked to
the taxon are removed. |
void |
setClassificationUuid(java.util.UUID classificationUuid) |
void |
setDeleteConceptRelationships(boolean deleteConceptRelationships) |
void |
setDeleteDescriptions(boolean deleteDescriptions) |
void |
setDeleteInAllClassifications(boolean deleteInAllClassifications) |
void |
setDeleteMisappliedNamesAndInvalidDesignations(boolean deleteMisappliedNamesAndInvalidDesignations) |
void |
setDeleteSynonymsIfPossible(boolean deleteSynonymsIfPossible) |
void |
setDeleteTaxonNodes(boolean deleteTaxonNodes) |
void |
setDeleteTaxonRelationships(boolean deleteTaxonRelationships) |
void |
setTaxonNodeConfig(TaxonNodeDeletionConfigurator taxonNodeConfig) |
getNameDeletionConfig, isDeleteNameIfPossible, isDeleteSynonymRelations, setDeleteNameIfPossible, setDeleteSynonymRelations, setNameDeletionConfig
isCheck, setCheck
public boolean isDeleteInAllClassifications()
public void setDeleteInAllClassifications(boolean deleteInAllClassifications)
public boolean isDeleteMisappliedNamesAndInvalidDesignations()
true
related taxa with TaxonRelationshipType
misappliedName or invalidDesignation will be removed if possible
It is possible to remove a related taxon if it is not used in any other context, e.g. any
other @link TaxonRelationship
or in another @link Classification
public void setDeleteMisappliedNamesAndInvalidDesignations(boolean deleteMisappliedNamesAndInvalidDesignations)
public TaxonNodeDeletionConfigurator getTaxonNodeConfig()
#isDeleteNode()
is true
.TaxonNodeDeletionConfigurator
,
#isDeleteNode()
,
isDeleteSynonymsIfPossible()
public void setTaxonNodeConfig(TaxonNodeDeletionConfigurator taxonNodeConfig)
public boolean isDeleteSynonymsIfPossible()
true
synonyms will be removed if possible but only if TaxonBaseDeletionConfigurator.isDeleteSynonymRelations()
is also true
.
It is possible to remove a synonym if it is not used in any other contextpublic void setDeleteSynonymsIfPossible(boolean deleteSynonymsIfPossible)
public boolean isDeleteTaxonNodes()
true
all taxon nodes
this taxon belongs to
are deleted. If false
an exception is thrown if this taxon belongs
to a taxon node.public void setDeleteTaxonNodes(boolean deleteTaxonNodes)
public boolean isDeleteTaxonRelationships()
true
all taxon relationships
linked to
the taxon are removed.public void setDeleteTaxonRelationships(boolean deleteTaxonRelationships)
public boolean isDeleteDescriptions()
true
all taxon descriptions
linked to
the taxon are deleted.public void setDeleteDescriptions(boolean deleteDescriptions)
public boolean isDeleteConceptRelationships()
public void setDeleteConceptRelationships(boolean deleteConceptRelationships)
deleteConceptRelationships
- the deleteConceptRelationships to setpublic java.util.UUID getClassificationUuid()
public void setClassificationUuid(java.util.UUID classificationUuid)
Copyright © 2007-2020 EDIT. All Rights Reserved.