@Repository @Qualifier(value="referenceDaoHibernateImpl") public class ReferenceDaoHibernateImpl extends IdentifiableDaoBase<Reference> implements IReferenceDao
defaultField, indexedClasses
defaultBeanInitializer, flushAfterNo, LEFTOUTER_OPS, type
INCLUDE_UNPUBLISHED, NO_UNPUBLISHED
Constructor and Description |
---|
ReferenceDaoHibernateImpl() |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.Object[]> |
findByIdentifierAbbrev(java.lang.String identifier,
DefinedTermBase identifierType,
MatchMode matchmode,
java.lang.Integer limit) |
java.util.List<Reference> |
findByTitleAndAbbrevTitle(java.lang.Class clazz,
java.lang.String queryString,
MatchMode matchmode,
java.util.List<org.hibernate.criterion.Criterion> criterion,
java.lang.Integer pageSize,
java.lang.Integer pageNumber,
java.util.List<OrderHint> orderHints,
java.util.List<java.lang.String> propertyPaths) |
java.util.List<Reference> |
getAllNomenclaturalReferences()
TODO candidate for harmonization: rename to listNomenclaturalReferences
|
java.util.List<Reference> |
getAllNotNomenclaturalReferencesForPublishing()
TODO candidate for harmonization: rename to listAllNotNomenclaturalReferencesForPublishing
|
java.util.List<Reference> |
getAllReferencesForPublishing()
TODO candidate for harmonization: rename to listAllReferencesForPublishing
|
java.util.List<Reference> |
getSubordinateReferences(Reference reference)
recursively finds all references where the
referenceBase given as parameter
is the inReference . |
java.util.List<UuidAndTitleCache<Reference>> |
getUuidAndAbbrevTitleCache(java.lang.Integer limit,
java.lang.String pattern,
ReferenceType refType) |
java.util.List<UuidAndTitleCache<Reference>> |
getUuidAndAbbrevTitleCacheForAuthor(java.lang.Integer limit,
java.lang.String pattern,
ReferenceType refType) |
java.util.List<UuidAndTitleCache<Reference>> |
getUuidAndTitle() |
java.util.List<UuidAndTitleCache<Reference>> |
getUuidAndTitle(java.util.Set<java.util.UUID> uuids) |
java.util.List<UuidAndTitleCache<Reference>> |
getUuidAndTitle(java.util.Set<java.util.UUID> uuids,
ReferenceType refType) |
java.util.List<UuidAndTitleCache<Reference>> |
getUuidAndTitleCache(java.lang.Integer limit,
java.lang.String pattern,
ReferenceType refType) |
java.util.List<TaxonBase> |
listCoveredTaxa(Reference reference,
boolean includeSubordinateReferences,
java.util.List<OrderHint> orderHints,
java.util.List<java.lang.String> propertyPaths)
searches for taxa using the following relations:
taxon.name.nomenclaturalreference
taxon.descriptions.descriptionElement.sources.citation
taxon.descriptions.descriptionSources
taxon.name.descriptions.descriptionElement.sources
taxon.name.descriptions.descriptionSources
|
void |
rebuildIndex()
Index all T entities currently in the database (useful in concert with purgeIndex() to (re-)create
indexes or in the case of corrupt indexes / mismatch between
the database and the free-text indices)
|
count, countByIdentifier, countByMarker, countByReferenceTitle, countByReferenceTitleWithRestrictions, countByTitle, countByTitle, countByTitle, countByTitle, countByTitleWithRestrictions, countRights, countSources, countTitleCache, find, findByIdentifier, findByMarker, findByReferenceTitle, findByReferenceTitleWithRestrictions, findByTitle, findByTitle, findByTitle, findByTitle, findByTitleWithRestrictions, findOriginalSourceByIdInSource, findTitleCache, getCredits, getRights, getSources, getTitleCache, getUuidAndAbbrevTitleCache, getUuidAndTitleCache, getUuidAndTitleCache, getUuidAndTitleCache, getUuidAndTitleCache, getUuidAndTitleCacheByMarker, optimizeIndex, purgeIndex, search, suggestQuery
countAnnotations, countMarkers, countMarkers, getAnnotations, getMarkers, groupMarkers
addCriteria, addOrder, checkNotInPriorView, count, count, count, countAuditEvents, countAuditEvents, countByParam, exists, findByParam, findByParamWithRestrictions, findByUuid, getAuditEventFromContext, getAuditEvents, getAuditEvents, getNextAuditEvent, getPreviousAuditEvent, list, list, list, list, load, load, load
addExample, addGroups, clear, count, countByParamWithRestrictions, countGroups, createCriteria, delete, entityType, findById, findByParam, findByUuid, findByUuidWithoutFlush, getAuditReader, getCriteria, getSession, getType, group, list, list, list, list, list, list, load, loadList, lock, makeAuditQuery, merge, merge, refresh, refresh, replace, save, saveAll, saveCdmObj, saveOrUpdate, saveOrUpdateAll, setDefaultBeanInitializer, setPagingParameter, setPagingParameter, update
addCriteria, addFieldPredicate, addLimitAndStart, addLimitAndStart, addLimitAndStart, addOrder, addOrder, addOrder, addPageSizeAndNumber, addPageSizeAndNumber, addPageSizeAndNumber, addPageSizeAndNumber, flush, getSessionFactory, orderByClause, setSessionFactory, splitCollection
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
countByIdentifier, countByMarker, countByReferenceTitle, countByReferenceTitleWithRestrictions, countByTitle, countByTitleWithRestrictions, countRights, countSources, countTitleCache, find, findByIdentifier, findByMarker, findByReferenceTitle, findByReferenceTitleWithRestrictions, findByTitle, findByTitleWithRestrictions, findOriginalSourceByIdInSource, findTitleCache, getRights, getSources, getTitleCache, getUuidAndTitleCache, getUuidAndTitleCache, getUuidAndTitleCache, getUuidAndTitleCacheByMarker
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
countByTitle, countByTitle, countByTitle, findByTitle, findByTitle, findByTitle
count, optimizeIndex, purgeIndex, search, suggestQuery
public void rebuildIndex()
ISearchableDao
rebuildIndex
in interface ISearchableDao<Reference>
rebuildIndex
in class IdentifiableDaoBase<Reference>
public java.util.List<UuidAndTitleCache<Reference>> getUuidAndTitle()
getUuidAndTitle
in interface IReferenceDao
public java.util.List<UuidAndTitleCache<Reference>> getUuidAndTitle(java.util.Set<java.util.UUID> uuids)
getUuidAndTitle
in interface IReferenceDao
public java.util.List<UuidAndTitleCache<Reference>> getUuidAndTitle(java.util.Set<java.util.UUID> uuids, ReferenceType refType)
getUuidAndTitle
in interface IReferenceDao
public java.util.List<UuidAndTitleCache<Reference>> getUuidAndTitleCache(java.lang.Integer limit, java.lang.String pattern, ReferenceType refType)
getUuidAndTitleCache
in interface IReferenceDao
public java.util.List<java.lang.Object[]> findByIdentifierAbbrev(java.lang.String identifier, DefinedTermBase identifierType, MatchMode matchmode, java.lang.Integer limit)
findByIdentifierAbbrev
in interface IReferenceDao
public java.util.List<Reference> getAllReferencesForPublishing()
IReferenceDao
getAllReferencesForPublishing
in interface IReferenceDao
public java.util.List<Reference> getAllNotNomenclaturalReferencesForPublishing()
IReferenceDao
getAllNotNomenclaturalReferencesForPublishing
in interface IReferenceDao
public java.util.List<Reference> getAllNomenclaturalReferences()
IReferenceDao
getAllNomenclaturalReferences
in interface IReferenceDao
public java.util.List<Reference> getSubordinateReferences(Reference reference)
IReferenceDao
referenceBase
given as parameter
is the inReference
.getSubordinateReferences
in interface IReferenceDao
public java.util.List<TaxonBase> listCoveredTaxa(Reference reference, boolean includeSubordinateReferences, java.util.List<OrderHint> orderHints, java.util.List<java.lang.String> propertyPaths)
IReferenceDao
listCoveredTaxa
in interface IReferenceDao
orderHints
- TODOpropertyPaths
- TODOpublic java.util.List<UuidAndTitleCache<Reference>> getUuidAndAbbrevTitleCache(java.lang.Integer limit, java.lang.String pattern, ReferenceType refType)
getUuidAndAbbrevTitleCache
in interface IReferenceDao
public java.util.List<UuidAndTitleCache<Reference>> getUuidAndAbbrevTitleCacheForAuthor(java.lang.Integer limit, java.lang.String pattern, ReferenceType refType)
getUuidAndAbbrevTitleCacheForAuthor
in interface IReferenceDao
public java.util.List<Reference> findByTitleAndAbbrevTitle(java.lang.Class clazz, java.lang.String queryString, MatchMode matchmode, java.util.List<org.hibernate.criterion.Criterion> criterion, java.lang.Integer pageSize, java.lang.Integer pageNumber, java.util.List<OrderHint> orderHints, java.util.List<java.lang.String> propertyPaths)
findByTitleAndAbbrevTitle
in interface IReferenceDao
Copyright © 2007-2020 EDIT. All Rights Reserved.