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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<VO>
loadValueObjects(Filters filters, Sort sort)
Load VOs with minimal ordering and filtering.Slice<VO>
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, remove, remove, remove, save, save, 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 Detail
-
loadValueObjects
Slice<VO> loadValueObjects(@Nullable Filters filters, @Nullable Sort sort, int offset, int limit)
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:
FilteringDao.load(Filters, Sort, int, int)
-
-