@Repository(value="taxonNameDao") public class TaxonNameDaoImpl extends TaxonNameDaoBase implements TaxonNameExtendDao
TaxonName
Modifier and Type | Field and Description |
---|---|
protected ReferenceTaxonDao |
referenceTaxonDao |
debugEntityLoad, logger
TRANSFORM_NONE
Constructor and Description |
---|
TaxonNameDaoImpl(SessionFactory sessionFactory)
Constructor used by Spring
|
Modifier and Type | Method and Description |
---|---|
TaxonRefVO |
createAsTemporary(TaxonRefVO taxonNameVO,
String comments)
Create a new taxon name, as temporary (used for HSQLDB database only).
|
TaxonRefVO[] |
getAllTaxonNames(boolean withSynonyms)
Get all taxon names, but obsolete taxon names are skipped.
|
TaxonRefVO[] |
getAllTaxonNames(boolean withSynonyms,
Integer transcribingId) |
TaxonRefVO |
getTaxonNameReferent(Integer referenceTaxonId)
Get a taxon name by his referenceTaxonId.
|
TaxonRefVO |
getTaxonNameReferent(Integer referenceTaxonId,
Integer transcribingId)
Get a taxon name by his referenceTaxonId.
|
protected TaxonRefVO |
loadTaxon(Object[] cols,
boolean withTranscribing) |
calculateFirstResult, create, create, create, create, create, create, create, create, get, get, getPaginationResult, getPrincipal, load, load, loadAll, loadAll, loadAll, loadAll, remove, remove, remove, search, search, search, search, toEntities, toEntity, transformEntities, transformEntity, update, update
convertDatabase2UI, convertUI2DatabaseMandatoryDate, createQuery, dateOfYearWithOneMiliSecond, dateOfYearWithOneMiliSecondInMili, dateWithNoMiliSecond, dateWithNoSecondAndMiliSecond, dateWithNoSecondAndOneMiliSecond, dateWithNoTime, dateWithOneMiliSecond, deleteAll, get, getSession, getSession, getSessionFactory, load, newCreateDate, queryIterator, queryIteratorTyped, queryIteratorWithPage, queryList, queryListTyped, queryUnique, queryUniqueTyped, queryUpdate, setQueryParams, setSessionFactory
protected ReferenceTaxonDao referenceTaxonDao
@Autowired public TaxonNameDaoImpl(SessionFactory sessionFactory)
public TaxonRefVO[] getAllTaxonNames(boolean withSynonyms)
TaxonNameExtendDao
getAllTaxonNames
in interface TaxonNameExtendDao
withSynonyms
- if true
, return all taxon names, otherwise
only reference taxon name are returned.public TaxonRefVO[] getAllTaxonNames(boolean withSynonyms, Integer transcribingId)
getAllTaxonNames
in interface TaxonNameExtendDao
public TaxonRefVO getTaxonNameReferent(Integer referenceTaxonId)
TaxonNameExtendDao
getTaxonNameReferent
in interface TaxonNameExtendDao
referenceTaxonId
- the reference taxon Idpublic TaxonRefVO getTaxonNameReferent(Integer referenceTaxonId, Integer transcribingId)
TaxonNameExtendDao
getTaxonNameReferent
in interface TaxonNameExtendDao
referenceTaxonId
- the reference taxon Idpublic TaxonRefVO createAsTemporary(TaxonRefVO taxonNameVO, String comments)
TaxonNameExtendDao
createAsTemporary
in interface TaxonNameExtendDao
taxonNameVO
- the taxon to Idcomments
- an optional comments to store in the taxon nameprotected TaxonRefVO loadTaxon(Object[] cols, boolean withTranscribing)
Copyright © 2012–2014 IFREMER. All rights reserved.