@Repository(value="taxonGraphDao") @Transactional(readOnly=true) public class TaxonGraphDaoHibernateImpl extends AbstractHibernateTaxonGraphProcessor implements ITaxonGraphDao
Taxa
and TaxonRelationships
.
For further details on the concept and related discussion see https://dev.e-taxonomy.eu/redmine/issues/6173Modifier and Type | Field and Description |
---|---|
static CdmPreference.PrefKey |
CDM_PREF_KEY_SEC_REF_UUID |
secReferenceUUID
Constructor and Description |
---|
TaxonGraphDaoHibernateImpl() |
Modifier and Type | Method and Description |
---|---|
long |
countTaxonGraphEdgeDTOs(java.util.UUID fromTaxonUuid,
java.util.UUID toTaxonUuid,
TaxonRelationshipType type,
boolean includeUnpublished) |
java.util.List<TaxonGraphEdgeDTO> |
edges(TaxonName fromName,
TaxonName toName,
boolean includeUnpublished) |
java.util.List<TaxonGraphEdgeDTO> |
edges(java.util.UUID fromtaxonUuid,
java.util.UUID toTaxonUuid,
boolean includeUnpublished) |
org.hibernate.Session |
getSession() |
java.util.List<TaxonGraphEdgeDTO> |
listTaxonGraphEdgeDTOs(java.util.UUID fromTaxonUuid,
java.util.UUID toTaxonUuid,
TaxonRelationshipType type,
boolean includeUnpublished,
java.lang.Integer pageSize,
java.lang.Integer pageIndex) |
protected org.hibernate.Query |
prepareTaxonGraphEdgeDTOs(java.util.UUID fromTaxonUuid,
java.util.UUID toTaxonUuid,
TaxonRelationshipType type,
boolean includeUnpublished,
boolean doCount) |
protected TaxonRelationshipType |
relType() |
assureSingleTaxon, assureSingleTaxon, conceptReference, getSecReferenceUUID, getTaxonRelationships, listNamesAtRank, listNamesBelowRank, relatedHigherNames, relatedLowerNames, removeEdges, secReference, setSecReferenceUUID, taxonGraphRelationsFrom, taxonGraphRelationsTo, updateConceptReferenceInEdges, updateEdges, updateReferenceInEdges
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
assureSingleTaxon, assureSingleTaxon
public static final CdmPreference.PrefKey CDM_PREF_KEY_SEC_REF_UUID
protected TaxonRelationshipType relType()
relType
in class AbstractHibernateTaxonGraphProcessor
public java.util.List<TaxonGraphEdgeDTO> listTaxonGraphEdgeDTOs(java.util.UUID fromTaxonUuid, java.util.UUID toTaxonUuid, TaxonRelationshipType type, boolean includeUnpublished, java.lang.Integer pageSize, java.lang.Integer pageIndex)
listTaxonGraphEdgeDTOs
in interface ITaxonGraphDao
fromTaxonUuid
- Can be null
to retrieve all edges having the toName as target.toTaxonUuid
- Can be null
to retrieve all edges originating from the fromName as target.public long countTaxonGraphEdgeDTOs(java.util.UUID fromTaxonUuid, java.util.UUID toTaxonUuid, TaxonRelationshipType type, boolean includeUnpublished)
countTaxonGraphEdgeDTOs
in interface ITaxonGraphDao
fromTaxonUuid
- Can be null
to retrieve all edges having the toName as target.toTaxonUuid
- Can be null
to retrieve all edges originating from the fromName as target.protected org.hibernate.Query prepareTaxonGraphEdgeDTOs(java.util.UUID fromTaxonUuid, java.util.UUID toTaxonUuid, TaxonRelationshipType type, boolean includeUnpublished, boolean doCount)
fromTaxonUuid
- toTaxonUuid
- type
- includeUnpublished
- public java.util.List<TaxonGraphEdgeDTO> edges(TaxonName fromName, TaxonName toName, boolean includeUnpublished) throws TaxonGraphException
edges
in interface ITaxonGraphDao
TaxonGraphException
public java.util.List<TaxonGraphEdgeDTO> edges(java.util.UUID fromtaxonUuid, java.util.UUID toTaxonUuid, boolean includeUnpublished) throws TaxonGraphException
edges
in interface ITaxonGraphDao
TaxonGraphException
public org.hibernate.Session getSession()
getSession
in class AbstractHibernateTaxonGraphProcessor
Copyright © 2007-2020 EDIT. All Rights Reserved.