@Repository @Qualifier(value="taxonNameDaoHibernateImpl") public class TaxonNameDaoHibernateImpl extends IdentifiableDaoBase<TaxonName> implements ITaxonNameDao
defaultField, indexedClasses
defaultBeanInitializer, flushAfterNo, LEFTOUTER_OPS, type
INCLUDE_UNPUBLISHED, NO_UNPUBLISHED
Constructor and Description |
---|
TaxonNameDaoHibernateImpl() |
Modifier and Type | Method and Description |
---|---|
long |
count(java.lang.Class<? extends TaxonName> type,
java.util.List<Restriction<?>> restrictions)
Counts the Cdm entities matching the restrictions defined by
the
parameters propertyName , value and matchMode . |
long |
count(java.lang.Class<? extends TaxonName> type,
java.util.List<Restriction<?>> restrictions,
boolean includePublished) |
int |
countAllRelationships(java.lang.Class<? extends RelationshipBase> clazz)
TODO not yet in interface
|
long |
countByFullTitle(java.lang.Class<TaxonName> clazz,
java.lang.String queryString,
MatchMode matchmode,
java.util.List<org.hibernate.criterion.Criterion> criteria) |
long |
countByName(java.lang.Class<TaxonName> clazz,
java.lang.String queryString,
MatchMode matchmode,
java.util.List<org.hibernate.criterion.Criterion> criteria) |
java.lang.Integer |
countByName(java.lang.String queryString,
MatchMode matchmode,
java.util.List<org.hibernate.criterion.Criterion> criteria) |
int |
countHybridNames(INonViralName name,
HybridRelationshipType type)
Return a count of hybrids related to this name, optionally filtered by
hybrid relationship type
|
long |
countHybridRelationships(java.util.Set<HybridRelationshipType> types)
Returns the number of hybrid relationships of the given hybrid relationship types or
all types if types is
null . |
long |
countNameRelationships(java.util.Set<NameRelationshipType> types)
Returns the number of name relationships of the given name relationship types or
all types if types is
null . |
int |
countNameRelationships(TaxonName name,
RelationshipBase.Direction direction,
NameRelationshipType type)
Return a count of names related to or from this name, optionally filtered
by relationship type.
|
long |
countNames(java.lang.String queryString)
Returns a count of TaxonName instances which nameCache matches the
String queryString
|
long |
countNames(java.lang.String queryString,
MatchMode matchMode,
java.util.List<org.hibernate.criterion.Criterion> criteria)
Returns a count of TaxonName instances that match the properties passed
|
long |
countNames(java.lang.String genusOrUninomial,
java.lang.String infraGenericEpithet,
java.lang.String specificEpithet,
java.lang.String infraSpecificEpithet,
Rank rank)
Returns a count of TaxonName instances that match the properties
passed
|
long |
countTaxonNameParts(java.util.Optional<java.lang.String> genusOrUninomial,
java.util.Optional<java.lang.String> infraGenericEpithet,
java.util.Optional<java.lang.String> specificEpithet,
java.util.Optional<java.lang.String> infraSpecificEpithet,
Rank rank,
java.util.Collection<java.util.UUID> excludedNamesUUIDs)
Count method complementing
#findTaxonNameParts(Optional, Optional, Optional, Optional, Rank) |
long |
countTypeDesignations(TaxonName name,
SpecimenTypeDesignationStatus status)
Return a count of types related to this name, optionally filtered by type
designation status
|
java.util.UUID |
delete(TaxonName persistentObject) |
java.util.List<TaxonName> |
findByFullTitle(java.lang.String queryString,
MatchMode matchmode,
java.lang.Integer pageSize,
java.lang.Integer pageNumber,
java.util.List<org.hibernate.criterion.Criterion> criteria,
java.util.List<java.lang.String> propertyPaths) |
java.util.List<TaxonName> |
findByName(boolean doIncludeAuthors,
java.lang.String queryString,
MatchMode matchmode,
java.lang.Integer pageSize,
java.lang.Integer pageNumber,
java.util.List<org.hibernate.criterion.Criterion> criteria,
java.util.List<java.lang.String> propertyPaths) |
java.util.List<TaxonName> |
findByName(java.lang.Class<TaxonName> clazz,
java.lang.String queryString,
MatchMode matchmode,
java.util.List<org.hibernate.criterion.Criterion> criteria,
java.lang.Integer pageSize,
java.lang.Integer pageNumber,
java.util.List<OrderHint> orderHints,
java.util.List<java.lang.String> propertyPaths) |
java.util.List<TaxonName> |
findByTitle(java.lang.String queryString,
MatchMode matchmode,
java.lang.Integer pageSize,
java.lang.Integer pageNumber,
java.util.List<org.hibernate.criterion.Criterion> criteria,
java.util.List<java.lang.String> propertyPaths) |
TaxonName |
findByUuid(java.util.UUID uuid,
java.util.List<org.hibernate.criterion.Criterion> criteria,
java.util.List<java.lang.String> propertyPaths)
Returns a taxon name corresponding to the given uuid
|
java.util.List<TaxonNameParts> |
findTaxonNameParts(java.util.Optional<java.lang.String> genusOrUninomial,
java.util.Optional<java.lang.String> infraGenericEpithet,
java.util.Optional<java.lang.String> specificEpithet,
java.util.Optional<java.lang.String> infraSpecificEpithet,
Rank rank,
java.util.Collection<java.util.UUID> excludedNamesUuids,
java.lang.Integer pageSize,
java.lang.Integer pageIndex,
java.util.List<OrderHint> orderHints)
Supports using wildcards in the query parameters.
|
IZoologicalName |
findZoologicalNameByUUID(java.util.UUID uuid) |
java.util.List<HybridRelationship> |
getHybridNames(INonViralName name,
HybridRelationshipType type,
java.lang.Integer pageSize,
java.lang.Integer pageNumber,
java.util.List<OrderHint> orderHints,
java.util.List<java.lang.String> propertyPaths)
Return a List of hybrids related to this name, optionally filtered by
hybrid relationship type
|
java.util.List<HybridRelationship> |
getHybridRelationships(java.util.Set<HybridRelationshipType> types,
java.lang.Integer pageSize,
java.lang.Integer pageNumber,
java.util.List<OrderHint> orderHints,
java.util.List<java.lang.String> propertyPaths) |
java.util.List<java.util.HashMap<java.lang.String,java.lang.String>> |
getNameRecords() |
java.util.List<NameRelationship> |
getNameRelationships(java.util.Set<NameRelationshipType> types,
java.lang.Integer pageSize,
java.lang.Integer pageNumber,
java.util.List<OrderHint> orderHints,
java.util.List<java.lang.String> propertyPaths) |
java.util.List<NameRelationship> |
getNameRelationships(TaxonName name,
RelationshipBase.Direction direction,
NameRelationshipType type,
java.lang.Integer pageSize,
java.lang.Integer pageNumber,
java.util.List<OrderHint> orderHints,
java.util.List<java.lang.String> propertyPaths)
Return a List of relationships related to or from this name, optionally filtered
by relationship type.
|
<T extends TypeDesignationBase> |
getTypeDesignations(TaxonName name,
java.lang.Class<T> type,
TypeDesignationStatusBase status,
java.lang.Integer pageSize,
java.lang.Integer pageNumber,
java.util.List<java.lang.String> propertyPaths)
Return a List of types related to this name, optionally filtered by type
designation status
|
java.util.List<TypeDesignationBase> |
getTypeDesignations(TaxonName name,
TypeDesignationStatusBase status,
java.lang.Integer pageSize,
java.lang.Integer pageNumber,
java.util.List<java.lang.String> propertyPaths)
Return a List of types related to this name, optionally filtered by type
designation status
|
java.util.List<java.lang.Integer> |
getTypeSpecimenIdsForTaxonName(TaxonName name,
TypeDesignationStatusBase status,
java.lang.Integer pageSize,
java.lang.Integer pageNumber)
Return a list ids of specimens that are type specimens for the given name
|
java.util.List<UuidAndTitleCache> |
getUuidAndTitleCacheOfNames(java.lang.Integer limit,
java.lang.String pattern) |
<S extends TaxonName> |
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)
Returns a list of Cdm entities stored in the database filtered by the restrictions defined by
the
parameters propertyName , value and matchMode
A maximum
of 'limit' objects are returned, starting at object with index 'start'. |
<S extends TaxonName> |
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<TaxonName> |
searchNames(java.lang.String queryString,
java.lang.Integer pageSize,
java.lang.Integer pageNumber)
Returns a List of TaxonName instances which nameCache matches the
query string
|
java.util.List<TaxonName> |
searchNames(java.lang.String queryString,
MatchMode matchMode,
java.lang.Integer pageSize,
java.lang.Integer pageNumber) |
java.util.List<TaxonName> |
searchNames(java.lang.String genusOrUninomial,
java.lang.String infraGenericEpithet,
java.lang.String specificEpithet,
java.lang.String infraSpecificEpithet,
Rank rank,
java.lang.Integer pageSize,
java.lang.Integer pageNumber,
java.util.List<OrderHint> orderHints,
java.util.List<java.lang.String> propertyPaths)
Returns a List of TaxonName instances that match the properties
passed
|
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, rebuildIndex, 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, countByParamWithRestrictions, countGroups, createCriteria, entityType, findById, findByParam, findByUuid, findByUuidWithoutFlush, getAuditReader, getCriteria, getSession, getType, group, 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, countByParam, countByParamWithRestrictions, exists, findById, findByParam, findByParam, findByParamWithRestrictions, findByUuid, findByUuidWithoutFlush, flush, getSession, getType, group, 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, rebuildIndex, search, suggestQuery
public int countHybridNames(INonViralName name, HybridRelationshipType type)
ITaxonNameDao
countHybridNames
in interface ITaxonNameDao
name
- the nametype
- the hybrid relationship type (or null to return all hybrid)public long countNames(java.lang.String queryString)
ITaxonNameDao
countNames
in interface ITaxonNameDao
public long countNames(java.lang.String queryString, MatchMode matchMode, java.util.List<org.hibernate.criterion.Criterion> criteria)
ITaxonNameDao
countNames
in interface ITaxonNameDao
public long countNames(java.lang.String genusOrUninomial, java.lang.String infraGenericEpithet, java.lang.String specificEpithet, java.lang.String infraSpecificEpithet, Rank rank)
ITaxonNameDao
countNames
in interface ITaxonNameDao
public int countNameRelationships(TaxonName name, RelationshipBase.Direction direction, NameRelationshipType type)
ITaxonNameDao
direction
parameter.countNameRelationships
in interface ITaxonNameDao
name
- the namedirection
- specifies the direction of the relationshiptype
- the relationship type (or null to return all relationships)public long countTypeDesignations(TaxonName name, SpecimenTypeDesignationStatus status)
ITaxonNameDao
countTypeDesignations
in interface ITaxonNameDao
name
- the namestatus
- the type designation status (or null to return all types)public java.util.List<HybridRelationship> getHybridNames(INonViralName name, HybridRelationshipType type, java.lang.Integer pageSize, java.lang.Integer pageNumber, java.util.List<OrderHint> orderHints, java.util.List<java.lang.String> propertyPaths)
ITaxonNameDao
getHybridNames
in interface ITaxonNameDao
name
- the nametype
- the hybrid relationship type (or null to return all hybrids)pageSize
- The maximum number of hybrid relationships returned (can be
null for all relationships)pageNumber
- The offset (in pageSize chunks) from the start of the result
set (0 - based)public java.util.List<NameRelationship> getNameRelationships(TaxonName name, RelationshipBase.Direction direction, NameRelationshipType type, java.lang.Integer pageSize, java.lang.Integer pageNumber, java.util.List<OrderHint> orderHints, java.util.List<java.lang.String> propertyPaths)
ITaxonNameDao
direction
parameter.
If both name and direction is null all name relationships will be returned.getNameRelationships
in interface ITaxonNameDao
name
- the namedirection
- specifies the direction of the relationship, may be null to return all relationshipstype
- the relationship type (or null to return all relationships)pageSize
- The maximum number of relationships returned (can be null for
all relationships)pageNumber
- The offset (in pageSize chunks) from the start of the result
set (0 - based) of the result set (0 - based)orderHints
- may be nullpropertyPaths
- properties to initialize - see IBeanInitializer.initialize(Object, List)
public java.util.List<TypeDesignationBase> getTypeDesignations(TaxonName name, TypeDesignationStatusBase status, java.lang.Integer pageSize, java.lang.Integer pageNumber, java.util.List<java.lang.String> propertyPaths)
ITaxonNameDao
getTypeDesignations
in interface ITaxonNameDao
name
- the namestatus
- the type designation status (or null to return all types)pageSize
- The maximum number of types returned (can be null for all
types)pageNumber
- The offset (in pageSize chunks) from the start of the result
set (0 - based)public java.util.List<java.lang.Integer> getTypeSpecimenIdsForTaxonName(TaxonName name, TypeDesignationStatusBase status, java.lang.Integer pageSize, java.lang.Integer pageNumber)
ITaxonNameDao
getTypeSpecimenIdsForTaxonName
in interface ITaxonNameDao
public <T extends TypeDesignationBase> java.util.List<T> getTypeDesignations(TaxonName name, java.lang.Class<T> type, TypeDesignationStatusBase status, java.lang.Integer pageSize, java.lang.Integer pageNumber, java.util.List<java.lang.String> propertyPaths)
ITaxonNameDao
getTypeDesignations
in interface ITaxonNameDao
name
- the nametype
- limit the result set to a specific subtype of TypeDesignationBase, may be nullstatus
- the type designation status (or null to return all types)pageSize
- The maximum number of types returned (can be null for all
types)pageNumber
- The offset (in pageSize chunks) from the start of the result
set (0 - based)public java.util.List<TaxonName> searchNames(java.lang.String queryString, MatchMode matchMode, java.lang.Integer pageSize, java.lang.Integer pageNumber)
public java.util.List<TaxonName> searchNames(java.lang.String queryString, java.lang.Integer pageSize, java.lang.Integer pageNumber)
ITaxonNameDao
searchNames
in interface ITaxonNameDao
pageSize
- The maximum number of names returned (can be null for all
names)pageNumber
- The offset (in pageSize chunks) from the start of the result
set (0 - based)public java.util.List<TaxonName> searchNames(java.lang.String genusOrUninomial, java.lang.String infraGenericEpithet, java.lang.String specificEpithet, java.lang.String infraSpecificEpithet, Rank rank, java.lang.Integer pageSize, java.lang.Integer pageNumber, java.util.List<OrderHint> orderHints, java.util.List<java.lang.String> propertyPaths)
ITaxonNameDao
searchNames
in interface ITaxonNameDao
pageSize
- The maximum number of names returned (can be null for all
names)pageNumber
- The offset (in pageSize chunks) from the start of the result
set (0 - based)public java.util.List<TaxonName> findByName(boolean doIncludeAuthors, java.lang.String queryString, MatchMode matchmode, java.lang.Integer pageSize, java.lang.Integer pageNumber, java.util.List<org.hibernate.criterion.Criterion> criteria, java.util.List<java.lang.String> propertyPaths)
findByName
in interface ITaxonNameDao
propertyPaths
- TODOpublic java.util.List<TaxonName> findByFullTitle(java.lang.String queryString, MatchMode matchmode, java.lang.Integer pageSize, java.lang.Integer pageNumber, java.util.List<org.hibernate.criterion.Criterion> criteria, java.util.List<java.lang.String> propertyPaths)
findByFullTitle
in interface ITaxonNameDao
propertyPaths
- TODOpublic java.util.List<TaxonName> findByTitle(java.lang.String queryString, MatchMode matchmode, java.lang.Integer pageSize, java.lang.Integer pageNumber, java.util.List<org.hibernate.criterion.Criterion> criteria, java.util.List<java.lang.String> propertyPaths)
findByTitle
in interface ITaxonNameDao
propertyPaths
- TODOpublic TaxonName findByUuid(java.util.UUID uuid, java.util.List<org.hibernate.criterion.Criterion> criteria, java.util.List<java.lang.String> propertyPaths)
ITaxonNameDao
findByUuid
in interface ITaxonNameDao
uuid
- The uuid of the taxon name requestedcriteria
- Custom criteria to be added to the default list of applied criteria.public <S extends TaxonName> 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)
CdmEntityDaoBase
parameters
propertyName
, value and matchMode
A maximum
of 'limit' objects are returned, starting at object with index 'start'.
The bean properties specified by the parameter propertyPaths
and recursively initialized for each of the entities in the resultset
For detailed description and examples regarding
propertyPaths
please refer to:
IBeanInitializer.initialize(Object, List)
list
in interface ICdmEntityDao<TaxonName>
list
in class CdmEntityDaoBase<TaxonName>
type
- Restrict the query to objects of a certain class, or null for
all objects of type T or subclassesrestrictions
- This defines a filter for multiple properties represented by the map keys. Sine the keys are of the type
Restriction
for each property a single MatchMode is defined. Multiple alternative values
can be supplied per property, that is the values per property are combined with OR. The per property
restrictions are combined with AND.
NOTE: For non string type properties you must use
MatchMode.EXACT
. If set null
MatchMode.EXACT
will be used
as default.limit
- the maximum number of entities returned (can be null to return
all entities)start
- The list of criterion objects representing the restriction to be applied.orderHints
- Supports path like orderHints.propertyNames
which
include *-to-one properties like createdBy.username or
authorTeam.persistentTitleCachepublic <S extends TaxonName> 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)
list
in interface ITaxonNameDao
public long count(java.lang.Class<? extends TaxonName> type, java.util.List<Restriction<?>> restrictions)
CdmEntityDaoBase
parameters
propertyName
, value and matchMode
.count
in interface ICdmEntityDao<TaxonName>
count
in class CdmEntityDaoBase<TaxonName>
type
- Restrict the query to objects of a certain class, or null for
all objects of type T or subclassesrestrictions
- This defines a filter for multiple properties represented by the map keys. Sine the keys are of the type
Restriction
for each property a single MatchMode is defined. Multiple alternative values
can be supplied per property, that is the values per property are combined with OR. The per property
restrictions are combined with AND.
NOTE: For non string type properties you must use
MatchMode.EXACT
. If set null
MatchMode.EXACT
will be used
as default.public long count(java.lang.Class<? extends TaxonName> type, java.util.List<Restriction<?>> restrictions, boolean includePublished)
count
in interface ITaxonNameDao
public int countAllRelationships(java.lang.Class<? extends RelationshipBase> clazz)
clazz
- public java.lang.Integer countByName(java.lang.String queryString, MatchMode matchmode, java.util.List<org.hibernate.criterion.Criterion> criteria)
countByName
in interface ITaxonNameDao
public java.util.List<UuidAndTitleCache> getUuidAndTitleCacheOfNames(java.lang.Integer limit, java.lang.String pattern)
getUuidAndTitleCacheOfNames
in interface ITaxonNameDao
public long countByName(java.lang.Class<TaxonName> clazz, java.lang.String queryString, MatchMode matchmode, java.util.List<org.hibernate.criterion.Criterion> criteria)
countByName
in interface ITaxonNameDao
public long countByFullTitle(java.lang.Class<TaxonName> clazz, java.lang.String queryString, MatchMode matchmode, java.util.List<org.hibernate.criterion.Criterion> criteria)
countByFullTitle
in interface ITaxonNameDao
public java.util.List<TaxonName> findByName(java.lang.Class<TaxonName> clazz, java.lang.String queryString, MatchMode matchmode, java.util.List<org.hibernate.criterion.Criterion> criteria, java.lang.Integer pageSize, java.lang.Integer pageNumber, java.util.List<OrderHint> orderHints, java.util.List<java.lang.String> propertyPaths)
findByName
in interface ITaxonNameDao
propertyPaths
- TODOpublic java.util.UUID delete(TaxonName persistentObject)
delete
in interface ICdmEntityDao<TaxonName>
delete
in class CdmEntityDaoBase<TaxonName>
public IZoologicalName findZoologicalNameByUUID(java.util.UUID uuid)
findZoologicalNameByUUID
in interface ITaxonNameDao
public java.util.List<java.util.HashMap<java.lang.String,java.lang.String>> getNameRecords()
getNameRecords
in interface ITaxonNameDao
public java.util.List<TaxonNameParts> findTaxonNameParts(java.util.Optional<java.lang.String> genusOrUninomial, java.util.Optional<java.lang.String> infraGenericEpithet, java.util.Optional<java.lang.String> specificEpithet, java.util.Optional<java.lang.String> infraSpecificEpithet, Rank rank, java.util.Collection<java.util.UUID> excludedNamesUuids, java.lang.Integer pageSize, java.lang.Integer pageIndex, java.util.List<OrderHint> orderHints)
A query parameter which is passed as NULL
value will be ignored.
A parameter passed as Optional
object containing a NULL
value will be used
to filter select taxon names where the according field is null
.
findTaxonNameParts
in interface ITaxonNameDao
rank
- Only name having the specified rank are taken into account.excludedNamesUuids
- Names to be excluded from the result setpublic long countTaxonNameParts(java.util.Optional<java.lang.String> genusOrUninomial, java.util.Optional<java.lang.String> infraGenericEpithet, java.util.Optional<java.lang.String> specificEpithet, java.util.Optional<java.lang.String> infraSpecificEpithet, Rank rank, java.util.Collection<java.util.UUID> excludedNamesUUIDs)
#findTaxonNameParts(Optional, Optional, Optional, Optional, Rank)
countTaxonNameParts
in interface ITaxonNameDao
rank
- Only name having the specified rank are taken into account.public long countNameRelationships(java.util.Set<NameRelationshipType> types)
ITaxonNameDao
null
.countNameRelationships
in interface ITaxonNameDao
public java.util.List<NameRelationship> getNameRelationships(java.util.Set<NameRelationshipType> types, java.lang.Integer pageSize, java.lang.Integer pageNumber, java.util.List<OrderHint> orderHints, java.util.List<java.lang.String> propertyPaths)
getNameRelationships
in interface ITaxonNameDao
public long countHybridRelationships(java.util.Set<HybridRelationshipType> types)
ITaxonNameDao
null
.countHybridRelationships
in interface ITaxonNameDao
public java.util.List<HybridRelationship> getHybridRelationships(java.util.Set<HybridRelationshipType> types, java.lang.Integer pageSize, java.lang.Integer pageNumber, java.util.List<OrderHint> orderHints, java.util.List<java.lang.String> propertyPaths)
getHybridRelationships
in interface ITaxonNameDao
Copyright © 2007-2020 EDIT. All Rights Reserved.