Package ubic.gemma.persistence.service
Interface FilteringVoEnabledDao<O extends Identifiable,VO extends IdentifiableValueObject<O>>
- All Superinterfaces:
BaseDao<O>
,BaseVoEnabledDao<O,
,VO> FilteringDao<O>
- All Known Subinterfaces:
ArrayDesignDao
,BioAssayDao
,CachedFilteringVoEnabledDao<O,
,VO> CharacteristicDao
,CompositeSequenceDao
,DatabaseEntryDao
,ExpressionAnalysisResultSetDao
,ExpressionExperimentDao
,FactorValueDao
,GeneDao
,QuantitationTypeDao
,TaxonDao
- All Known Implementing Classes:
AbstractCriteriaFilteringVoEnabledDao
,AbstractCuratableDao
,AbstractFilteringVoEnabledDao
,AbstractNoopFilteringVoEnabledDao
,AbstractQueryFilteringVoEnabledDao
,ArrayDesignDaoImpl
,BioAssayDaoImpl
,CharacteristicDaoImpl
,CompositeSequenceDaoImpl
,DatabaseEntryDaoImpl
,ExpressionAnalysisResultSetDaoImpl
,ExpressionExperimentDaoImpl
,FactorValueDaoImpl
,GeneDaoImpl
,QuantitationTypeDaoImpl
,TaxonDaoImpl
public interface FilteringVoEnabledDao<O extends Identifiable,VO extends IdentifiableValueObject<O>>
extends BaseVoEnabledDao<O,VO>, FilteringDao<O>
Interface for VO-enabled DAO with filtering capabilities.
- Author:
- poirigui
-
Method Summary
Modifier and TypeMethodDescriptionloadValueObjects
(Filters filters, Sort sort) Load VOs with minimal ordering and filtering.loadValueObjects
(Filters filters, Sort sort, int offset, int limit) Load VOs with ordering, filtering and offset/limit.Methods inherited from interface ubic.gemma.persistence.service.BaseDao
countAll, create, create, find, findOrCreate, getElementClass, getIdentifierPropertyName, load, load, loadAll, loadReference, loadReference, reload, reload, remove, remove, remove, save, save, streamAll, streamAll, update, update
Methods inherited from interface ubic.gemma.persistence.service.BaseVoEnabledDao
loadAllValueObjects, loadValueObject, loadValueObjectById, loadValueObjects, loadValueObjectsByIds
Methods inherited from interface ubic.gemma.persistence.service.FilteringDao
count, getFilter, getFilter, getFilter, getFilter, getFilter, getFilter, getFilterableProperties, getFilterablePropertyAllowedValues, getFilterablePropertyDescription, getFilterablePropertyIsUsingSubquery, getFilterablePropertyType, getSort, load, load, loadIds
-
Method Details
-
loadValueObjects
Load VOs with ordering, filtering and offset/limit.Consider using
FilteringDao.getFilter(String, Filter.Operator, String)
andFilteringDao.getSort(String, Sort.Direction, Sort.NullMode)
to produce the filters and sort safely from user input.- Parameters:
filters
- filters applied on the search. The properties mentioned in theFilter
must exist and be visible to Hibernate. You can use nested properties such as "curationDetails.lastUpdated".sort
- an object property and direction to order by. This property must exist and be visible to Hibernate. You can use nested properties such as "curationDetails.lastUpdated".offset
- an offset from which entities are retrieved when sorted according to the sort argument, or 0 to ignorelimit
- a limit on the number of returned results, or -1 to ignore- Returns:
- a slice of the relevant data
- See Also:
-
loadValueObjects
Load VOs with minimal ordering and filtering.Use this as an alternative to
loadValueObjects(Filters, Sort, int, int)
if you do not intend to provide pagination capabilities.- See Also:
-