public class TermDeletionConfigurator extends DeleteConfiguratorBase
ITermService#delete(eu.etaxonomy.cdm.common.DefinedTermBase)
,
Serialized FormConstructor and Description |
---|
TermDeletionConfigurator() |
Modifier and Type | Method and Description |
---|---|
boolean |
isDeleteGeneralizationOfRelations()
If
true more specific terms will be detached from this term prior to
deletion. |
boolean |
isDeleteIncludedRelations()
If
true included terms will be attached to the parent
of this term. |
boolean |
isDeleteKindOfRelations()
If
true this term will be detached from the general term. |
boolean |
isDeletePartOfRelations()
If
true this term will be detached from its parent
term. |
void |
setDeleteGeneralizationOfRelations(boolean deleteGeneralizationOfRelations) |
void |
setDeleteIncludedRelations(boolean deleteIncludedRelations) |
void |
setDeleteKindOfRelations(boolean deleteKindOfRelations) |
void |
setDeletePartOfRelations(boolean deletePartOfRelations) |
isCheck, setCheck
public boolean isDeleteIncludedRelations()
true
included terms will be attached to the parent
of this
term. If this
term has no parent, included terms
will become top level terms. false
.public void setDeleteIncludedRelations(boolean deleteIncludedRelations)
public boolean isDeletePartOfRelations()
true
this
term will be detached from its parent
term. If false
the deletion will be aborted if this
term is part of another term.true
.public void setDeletePartOfRelations(boolean deletePartOfRelations)
public boolean isDeleteGeneralizationOfRelations()
true
more specific terms will be detached from this term prior to
deletion. If this
term has a generalization itself the specific terms will be
attached to this generalization.false
deletion will be aborted if this
term is a generalization of any another term.
false
.public void setDeleteGeneralizationOfRelations(boolean deleteGeneralizationOfRelations)
public boolean isDeleteKindOfRelations()
true
this
term will be detached from the general term.
If false
the deletion will be aborted if this
term is kind of another term.true
.public void setDeleteKindOfRelations(boolean deleteKindOfRelations)
Copyright © 2007-2020 EDIT. All Rights Reserved.