public interface ITaxonNodeDao extends IAnnotatableDao<TaxonNode>
Modifier and Type | Method and Description |
---|---|
long |
count(java.lang.Class<? extends TaxonNode> type,
java.util.List<Restriction<?>> restrictions,
boolean includePublished) |
java.lang.Long |
countChildrenOf(TaxonNode node,
Classification classification,
boolean recursive,
boolean includeUnpublished) |
int |
countPublishForSubtreeAcceptedTaxa(TreeIndex subTreeIndex,
boolean publish,
boolean includeSharedTaxa,
boolean includeHybrids) |
int |
countPublishForSubtreeRelatedTaxa(TreeIndex subTreeIndex,
boolean publish,
boolean includeSharedTaxa,
boolean includeHybrids) |
int |
countPublishForSubtreeSynonyms(TreeIndex subTreeIndex,
boolean publish,
boolean includeSharedTaxa,
boolean includeHybrids) |
int |
countSecundumForSubtreeAcceptedTaxa(TreeIndex subTreeIndex,
Reference newSec,
boolean overwriteExistingAccepted,
boolean includeSharedTaxa,
boolean emptySecundumDetail) |
int |
countSecundumForSubtreeSynonyms(TreeIndex subTreeIndex,
Reference newSec,
boolean overwriteExistingSynonyms,
boolean includeSharedTaxa,
boolean emptySecundumDetail) |
long |
countTaxonNodeAgentRelations(java.util.UUID taxonUuid,
java.util.UUID classificationUuid,
java.util.UUID agentUuid,
java.util.UUID rankUuid,
java.util.UUID relTypeUuid)
Returns the number of TaxonNodeAgentRelation entities which are associated with the TaxonNode for the
given TaxonUuid in the specified Classification.
|
int |
countTaxonOfAcceptedTaxaByClassification(Classification classification) |
java.util.UUID |
delete(TaxonNode persistentObject,
boolean deleteChildren) |
java.util.List<TaxonNodeDto> |
getParentTaxonNodeDtoForRank(Classification classification,
Rank rank,
TaxonBase<?> taxonBase) |
java.util.List<TaxonNodeDto> |
getParentTaxonNodeDtoForRank(Classification classification,
Rank rank,
TaxonName name) |
TaxonNodeDto |
getParentUuidAndTitleCache(TaxonNodeDto child)
Retrieves the parent node of the
TaxonNode represented by the given UuidAndTitleCache . |
java.util.List<TaxonNodeDto> |
getTaxonNodeDto(java.lang.Integer limit,
java.lang.String pattern,
java.util.UUID classificationUuid) |
java.util.List<UuidAndTitleCache<TaxonNode>> |
getTaxonNodeUuidAndTitleCacheOfAcceptedTaxaByClassification(Classification classification,
java.lang.Integer limit,
java.lang.String pattern,
boolean searchForClassifications) |
java.util.List<TaxonNode> |
getTaxonOfAcceptedTaxaByClassification(Classification classification,
java.lang.Integer start,
java.lang.Integer end) |
java.util.List<TaxonNodeDto> |
getUuidAndTitleCache(java.lang.Integer limit,
java.lang.String pattern,
java.util.UUID classificationUuid)
Retrieves a list of
UuidAndTitleCache objects that have a matching titleCache |
<S extends TaxonNode> |
list(java.lang.Class<S> type,
java.util.List<Restriction<?>> restrictions,
java.lang.Integer limit,
java.lang.Integer start,
java.util.List<OrderHint> orderHints,
java.util.List<java.lang.String> propertyPaths,
boolean includePublished) |
java.util.List<TaxonNodeDto> |
listChildNodesAsTaxonNodeDto(TaxonNodeDto parent) |
java.util.List<TaxonNodeDto> |
listChildNodesAsUuidAndTitleCache(TaxonNodeDto parent)
Lists all direct child nodes of the given
UuidAndTitleCache which
represents the parent TaxonNode |
java.util.List<TaxonNode> |
listChildrenOf(TaxonNode node,
java.lang.Integer pageSize,
java.lang.Integer pageIndex,
boolean recursive,
boolean includeUnpublished,
java.util.List<java.lang.String> propertyPaths) |
java.util.List<TaxonNodeAgentRelation> |
listTaxonNodeAgentRelations(java.util.UUID taxonUuid,
java.util.UUID classificationUuid,
java.util.UUID agentUuid,
java.util.UUID rankUuid,
java.util.UUID relTypeUuid,
java.lang.Integer start,
java.lang.Integer limit,
java.util.List<java.lang.String> propertyPaths)
Returns the of TaxonNodeAgentRelation entities which are associated with the TaxonNode for the
given TaxonUuid in the specified Classification.
|
java.util.Map<TreeIndex,java.lang.Integer> |
rankOrderIndexForTreeIndex(java.util.List<TreeIndex> treeIndex,
java.lang.Integer minRankOrderIndex,
java.lang.Integer maxRankOrderIndex)
Computes a map treeIndex->rank(sortIndex) for each given taxon node treeIndex.
|
java.util.Set<TaxonBase> |
setPublishForSubtreeAcceptedTaxa(TreeIndex subTreeIndex,
boolean publish,
boolean includeSharedTaxa,
boolean includeHybrids,
IProgressMonitor monitor) |
java.util.Set<TaxonBase> |
setPublishForSubtreeRelatedTaxa(TreeIndex subTreeIndex,
boolean publish,
java.util.Set<java.util.UUID> relationTypes,
boolean includeSharedTaxa,
boolean includeHybrids,
IProgressMonitor monitor) |
java.util.Set<TaxonBase> |
setPublishForSubtreeSynonyms(TreeIndex subTreeIndex,
boolean publish,
boolean includeSharedTaxa,
boolean includeHybrids,
IProgressMonitor monitor) |
java.util.Set<TaxonBase> |
setSecundumForSubtreeAcceptedTaxa(TreeIndex subTreeIndex,
Reference newSec,
boolean overwriteExisting,
boolean includeSharedTaxa,
boolean emptyDetail,
IProgressMonitor monitor) |
java.util.Set<TaxonBase> |
setSecundumForSubtreeSynonyms(TreeIndex subTreeIndex,
Reference newSec,
boolean overwriteExisting,
boolean includeSharedTaxa,
boolean emptyDetail,
IProgressMonitor monitor) |
java.util.Map<TreeIndex,UuidAndTitleCache<?>> |
taxonUuidsForTreeIndexes(java.util.Collection<TreeIndex> treeIndexSet)
For a given set of taxon node tree indexes the uuid and title cache of the taxon represented
by this treeindex is returned.
|
countAnnotations, countMarkers, countMarkers, getAnnotations, getMarkers, groupMarkers
countAuditEvents, countAuditEvents, getAuditEvents, getAuditEvents, getNextAuditEvent, getPreviousAuditEvent
clear, count, count, count, count, countByParam, countByParamWithRestrictions, delete, exists, findById, findByParam, findByParam, findByParamWithRestrictions, findByUuid, findByUuidWithoutFlush, flush, getSession, getType, group, list, list, list, list, list, list, list, list, list, load, load, load, loadList, lock, merge, merge, refresh, refresh, replace, save, saveAll, saveOrUpdate, saveOrUpdateAll, update
java.util.UUID delete(TaxonNode persistentObject, boolean deleteChildren)
java.util.List<TaxonNode> getTaxonOfAcceptedTaxaByClassification(Classification classification, java.lang.Integer start, java.lang.Integer end)
int countTaxonOfAcceptedTaxaByClassification(Classification classification)
classification
- java.util.List<TaxonNodeDto> listChildNodesAsUuidAndTitleCache(TaxonNodeDto parent)
UuidAndTitleCache
which
represents the parent TaxonNode
parent
- a UuidAndTitleCache object which represents a parent TaxonNode
TaxonNodeDto getParentUuidAndTitleCache(TaxonNodeDto child)
TaxonNode
represented by the given UuidAndTitleCache
.child
- the child for which the parent should be retrievedjava.util.List<TaxonNodeDto> getUuidAndTitleCache(java.lang.Integer limit, java.lang.String pattern, java.util.UUID classificationUuid)
UuidAndTitleCache
objects that have a matching titleCachelimit
- the maximum resultspattern
- the titleCache that is searched forclassificationUuid
- if specified only nodes of this classification are retrievedjava.util.List<TaxonNode> listChildrenOf(TaxonNode node, java.lang.Integer pageSize, java.lang.Integer pageIndex, boolean recursive, boolean includeUnpublished, java.util.List<java.lang.String> propertyPaths)
java.lang.Long countChildrenOf(TaxonNode node, Classification classification, boolean recursive, boolean includeUnpublished)
java.util.List<TaxonNodeAgentRelation> listTaxonNodeAgentRelations(java.util.UUID taxonUuid, java.util.UUID classificationUuid, java.util.UUID agentUuid, java.util.UUID rankUuid, java.util.UUID relTypeUuid, java.lang.Integer start, java.lang.Integer limit, java.util.List<java.lang.String> propertyPaths)
taxonUuid
- agentUuid
- TODOrelTypeUuid
- TODOstart
- limit
- propertyPaths
- rankId
- TODOclassification
- long countTaxonNodeAgentRelations(java.util.UUID taxonUuid, java.util.UUID classificationUuid, java.util.UUID agentUuid, java.util.UUID rankUuid, java.util.UUID relTypeUuid)
taxonUuid
- agentUuid
- TODOrelTypeUuid
- TODOrankId
- TODOclassification
- java.util.Map<TreeIndex,java.lang.Integer> rankOrderIndexForTreeIndex(java.util.List<TreeIndex> treeIndex, java.lang.Integer minRankOrderIndex, java.lang.Integer maxRankOrderIndex)
treeIndex
- the list of treeIndexesminRankOrderIndex
- min rankmaxRankOrderIndex
- max rankjava.util.Map<TreeIndex,UuidAndTitleCache<?>> taxonUuidsForTreeIndexes(java.util.Collection<TreeIndex> treeIndexSet)
treeIndexSet
- set of taxon node tree indexesint countSecundumForSubtreeAcceptedTaxa(TreeIndex subTreeIndex, Reference newSec, boolean overwriteExistingAccepted, boolean includeSharedTaxa, boolean emptySecundumDetail)
int countSecundumForSubtreeSynonyms(TreeIndex subTreeIndex, Reference newSec, boolean overwriteExistingSynonyms, boolean includeSharedTaxa, boolean emptySecundumDetail)
java.util.Set<TaxonBase> setSecundumForSubtreeAcceptedTaxa(TreeIndex subTreeIndex, Reference newSec, boolean overwriteExisting, boolean includeSharedTaxa, boolean emptyDetail, IProgressMonitor monitor)
java.util.Set<TaxonBase> setSecundumForSubtreeSynonyms(TreeIndex subTreeIndex, Reference newSec, boolean overwriteExisting, boolean includeSharedTaxa, boolean emptyDetail, IProgressMonitor monitor)
int countPublishForSubtreeAcceptedTaxa(TreeIndex subTreeIndex, boolean publish, boolean includeSharedTaxa, boolean includeHybrids)
java.util.Set<TaxonBase> setPublishForSubtreeAcceptedTaxa(TreeIndex subTreeIndex, boolean publish, boolean includeSharedTaxa, boolean includeHybrids, IProgressMonitor monitor)
int countPublishForSubtreeSynonyms(TreeIndex subTreeIndex, boolean publish, boolean includeSharedTaxa, boolean includeHybrids)
java.util.Set<TaxonBase> setPublishForSubtreeSynonyms(TreeIndex subTreeIndex, boolean publish, boolean includeSharedTaxa, boolean includeHybrids, IProgressMonitor monitor)
int countPublishForSubtreeRelatedTaxa(TreeIndex subTreeIndex, boolean publish, boolean includeSharedTaxa, boolean includeHybrids)
java.util.Set<TaxonBase> setPublishForSubtreeRelatedTaxa(TreeIndex subTreeIndex, boolean publish, java.util.Set<java.util.UUID> relationTypes, boolean includeSharedTaxa, boolean includeHybrids, IProgressMonitor monitor)
java.util.List<TaxonNodeDto> listChildNodesAsTaxonNodeDto(TaxonNodeDto parent)
java.util.List<UuidAndTitleCache<TaxonNode>> getTaxonNodeUuidAndTitleCacheOfAcceptedTaxaByClassification(Classification classification, java.lang.Integer limit, java.lang.String pattern, boolean searchForClassifications)
<S extends TaxonNode> java.util.List<S> list(java.lang.Class<S> type, java.util.List<Restriction<?>> restrictions, java.lang.Integer limit, java.lang.Integer start, java.util.List<OrderHint> orderHints, java.util.List<java.lang.String> propertyPaths, boolean includePublished)
long count(java.lang.Class<? extends TaxonNode> type, java.util.List<Restriction<?>> restrictions, boolean includePublished)
java.util.List<TaxonNodeDto> getParentTaxonNodeDtoForRank(Classification classification, Rank rank, TaxonName name)
java.util.List<TaxonNodeDto> getParentTaxonNodeDtoForRank(Classification classification, Rank rank, TaxonBase<?> taxonBase)
java.util.List<TaxonNodeDto> getTaxonNodeDto(java.lang.Integer limit, java.lang.String pattern, java.util.UUID classificationUuid)
Copyright © 2007-2020 EDIT. All Rights Reserved.