@Repository public class BibliographicReferenceDaoImpl extends AbstractVoEnabledDao<BibliographicReference,BibliographicReferenceValueObject> implements BibliographicReferenceDao
BibliographicReference
REPORT_SLOW_QUERY_AFTER_MS
elementClass, log
Constructor and Description |
---|
BibliographicReferenceDaoImpl(SessionFactory sessionFactory) |
doLoadValueObjects, loadAllValueObjects, loadValueObject, loadValueObjectById, loadValueObjects, loadValueObjectsByIds
countAll, create, create, findByProperty, findByPropertyIn, findOneByProperty, findOrCreate, flush, flushAndClear, getElementClass, getSessionFactory, load, load, loadAll, reattach, reattach, remove, remove, remove, removeAll, save, save, update, update
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
loadAllValueObjects, loadValueObject, loadValueObjectById, loadValueObjects, loadValueObjectsByIds
@Autowired public BibliographicReferenceDaoImpl(SessionFactory sessionFactory)
public BibliographicReference findByExternalId(String id, String databaseName)
findByExternalId
in interface BibliographicReferenceDao
public BibliographicReference findByExternalId(DatabaseEntry externalId)
BibliographicReferenceDao
findByExternalId
in interface BibliographicReferenceDao
externalId
- external database idpublic Map<ExpressionExperiment,BibliographicReference> getAllExperimentLinkedReferences()
getAllExperimentLinkedReferences
in interface BibliographicReferenceDao
public BibliographicReference thaw(BibliographicReference bibliographicReference)
thaw
in interface BibliographicReferenceDao
public Collection<BibliographicReference> thaw(Collection<BibliographicReference> bibliographicReferences)
thaw
in interface BibliographicReferenceDao
public Map<BibliographicReference,Collection<ExpressionExperiment>> getRelatedExperiments(Collection<BibliographicReference> records)
getRelatedExperiments
in interface BibliographicReferenceDao
public Collection<Long> listAll()
listAll
in interface BibliographicReferenceDao
public List<BibliographicReference> browse(int start, int limit)
browse
in interface BrowsingDao<BibliographicReference>
public List<BibliographicReference> browse(int start, int limit, String orderField, boolean descending)
browse
in interface BrowsingDao<BibliographicReference>
public BibliographicReference find(BibliographicReference bibliographicReference)
BaseDao
find
in interface BaseDao<BibliographicReference>
find
in class AbstractDao<BibliographicReference>
bibliographicReference
- the entity to look for.protected BibliographicReferenceValueObject doLoadValueObject(BibliographicReference entity)
AbstractVoEnabledDao
This should be fast and efficient, and avoid any database query or post-processing. If you need to perform
additional queries, consider overriding AbstractVoEnabledDao.loadValueObject(Identifiable)
or AbstractVoEnabledDao.loadValueObjects(Collection)
.
doLoadValueObject
in class AbstractVoEnabledDao<BibliographicReference,BibliographicReferenceValueObject>
Copyright © 2005–2023 Pavlidis lab, Michael Smith Laboratories and Department of Psychiatry, University of British Columbia. All rights reserved.