@Repository public class StatisticsDaoHibernateImpl extends DaoBase implements IStatisticsDao
Criteria
and methods like prepareQueryINCLUDE_UNPUBLISHED, NO_UNPUBLISHED
Constructor and Description |
---|
StatisticsDaoHibernateImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.Long |
countDescriptive(java.lang.Boolean sourceRef,
Classification classification)
count all references that are attached to any description in the given classification
|
java.lang.Long |
countDescriptiveSourceReferences()
count all references that are attached to any description in the data base
|
java.lang.Long |
countNomenclaturalReferences()
counts all NomenclaturalReferences in the data base
|
java.lang.Long |
countNomenclaturalReferences(Classification classification)
counts all NomenclaturalReference items attached to the given classification
|
java.lang.Long |
countReferencesInClassification(Classification classification)
count all Reference items attached to the given classification
but not nomenclatural references
|
java.lang.Long |
countReferencesInClassificationWithUuids(Classification classification) |
java.lang.Long |
countTaxaInClassification(java.lang.Class<? extends TaxonBase> clazz,
Classification classification)
counts items of the type Taxon, Synonym or TaxonBase (Taxon & Synonym)
|
java.lang.Long |
countTaxonNames(Classification classification)
counts all TaxonNames that are attached to the given classification
|
java.util.List<java.util.UUID> |
getAllChildNodeIds(java.util.UUID rootUuid) |
void |
getAllTaxonIds() |
java.util.List<java.util.UUID> |
getTaxonTree(IdentifiableEntity filter) |
addCriteria, addFieldPredicate, addLimitAndStart, addLimitAndStart, addLimitAndStart, addOrder, addOrder, addOrder, addPageSizeAndNumber, addPageSizeAndNumber, addPageSizeAndNumber, addPageSizeAndNumber, flush, getSession, getSessionFactory, orderByClause, setSessionFactory, splitCollection
public java.lang.Long countDescriptiveSourceReferences()
IStatisticsDao
countDescriptiveSourceReferences
in interface IStatisticsDao
public java.lang.Long countDescriptive(java.lang.Boolean sourceRef, Classification classification)
IStatisticsDao
countDescriptive
in interface IStatisticsDao
public java.lang.Long countTaxaInClassification(java.lang.Class<? extends TaxonBase> clazz, Classification classification)
IStatisticsDao
countTaxaInClassification
in interface IStatisticsDao
clazz
- - the Type that will be countedclassification
- - only items in this classification will be countedpublic java.lang.Long countTaxonNames(Classification classification)
IStatisticsDao
countTaxonNames
in interface IStatisticsDao
public java.lang.Long countNomenclaturalReferences()
IStatisticsDao
countNomenclaturalReferences
in interface IStatisticsDao
public java.lang.Long countNomenclaturalReferences(Classification classification)
IStatisticsDao
countNomenclaturalReferences
in interface IStatisticsDao
public java.lang.Long countReferencesInClassificationWithUuids(Classification classification)
countReferencesInClassificationWithUuids
in interface IStatisticsDao
public java.lang.Long countReferencesInClassification(Classification classification)
IStatisticsDao
countReferencesInClassification
in interface IStatisticsDao
public java.util.List<java.util.UUID> getTaxonTree(IdentifiableEntity filter)
getTaxonTree
in interface IStatisticsDao
public java.util.List<java.util.UUID> getAllChildNodeIds(java.util.UUID rootUuid)
getAllChildNodeIds
in interface IStatisticsDao
public void getAllTaxonIds()
getAllTaxonIds
in interface IStatisticsDao
Copyright © 2007-2020 EDIT. All Rights Reserved.