Package ubic.gemma.persistence.service
Interface FilteringService<O extends Identifiable>
- All Superinterfaces:
BaseReadOnlyService<O>
- All Known Subinterfaces:
ArrayDesignService,BioAssayService,CharacteristicService,CompositeSequenceService,DatabaseEntryService,ExpressionAnalysisResultSetService,ExpressionExperimentService,FactorValueService,FilteringVoEnabledService<O,,VO> GeneService,QuantitationTypeService,SecurableFilteringVoEnabledService<C,,VO> TaxonService
- All Known Implementing Classes:
AbstractFilteringVoEnabledService,ArrayDesignServiceImpl,BioAssayServiceImpl,CharacteristicServiceImpl,CompositeSequenceServiceImpl,DatabaseEntryServiceImpl,ExpressionAnalysisResultSetServiceImpl,ExpressionExperimentServiceImpl,FactorValueServiceImpl,GeneServiceImpl,QuantitationTypeServiceImpl,TaxonServiceImpl
Interface for filtering-capable services.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionlong<T> FiltergetFilter(String property, Class<T> propertyType, Filter.Operator operator, Collection<T> parsedValues) <T> FiltergetFilter(String property, Class<T> propertyType, Filter.Operator operator, T value) getFilter(String property, Filter.Operator operator, String value) getFilter(String property, Filter.Operator operator, String value, SubqueryMode subqueryMode) getFilter(String property, Filter.Operator operator, Collection<String> values) getFilter(String property, Filter.Operator operator, Collection<String> values, SubqueryMode subqueryMode) getFilterablePropertyAllowedValues(String property) Collection<org.springframework.security.access.ConfigAttribute> getFilterablePropertyConfigAttributes(String property) Obtain the Spring Security config attributes for a given property.getFilterablePropertyDescription(String property) List<org.springframework.context.MessageSourceResolvable> Obtain a list of resolvableMessageSourceResolvables to be used for user display purposes.Class<?> getFilterablePropertyType(String property) getSort(String property, Sort.Direction direction, Sort.NullMode last) booleanisFilterablePropertyDeprecated(String property) booleanisFilterablePropertyUsingSubquery(String property) Methods inherited from interface ubic.gemma.persistence.service.BaseReadOnlyService
countAll, find, findOrFail, getElementClass, load, load, loadAll, loadOrFail, loadOrFail, loadOrFail, loadOrFail, loadOrFail, loadOrFail, streamAll, streamAll
-
Method Details
-
getFilterableProperties
- See Also:
-
getFilterablePropertyType
- See Also:
-
getFilterablePropertyDescription
- See Also:
-
getFilterablePropertyAllowedValues
- See Also:
-
getFilterablePropertyResolvableAllowedValuesLabels
@Nullable List<org.springframework.context.MessageSourceResolvable> getFilterablePropertyResolvableAllowedValuesLabels(String property) Obtain a list of resolvableMessageSourceResolvables to be used for user display purposes.Nullity and the number of elements is guaranteed to match
getFilterablePropertyAllowedValues(String)(String)}, so the two methods can be used jointly.- See Also:
-
isFilterablePropertyUsingSubquery
- See Also:
-
isFilterablePropertyDeprecated
- See Also:
-
getFilterablePropertyConfigAttributes
@Nullable Collection<org.springframework.security.access.ConfigAttribute> getFilterablePropertyConfigAttributes(String property) Obtain the Spring Security config attributes for a given property.- Returns:
- the config attributes, or null if no security check should be performed
-
getFilter
Filter getFilter(String property, Filter.Operator operator, String value) throws IllegalArgumentException - Throws:
IllegalArgumentException- See Also:
-
getFilter
Filter getFilter(String property, Filter.Operator operator, String value, SubqueryMode subqueryMode) throws IllegalArgumentException - Throws:
IllegalArgumentException
-
getFilter
Filter getFilter(String property, Filter.Operator operator, Collection<String> values) throws IllegalArgumentException - Throws:
IllegalArgumentException- See Also:
-
getFilter
Filter getFilter(String property, Filter.Operator operator, Collection<String> values, SubqueryMode subqueryMode) throws IllegalArgumentException - Throws:
IllegalArgumentException
-
getFilter
- See Also:
-
getFilter
<T> Filter getFilter(String property, Class<T> propertyType, Filter.Operator operator, Collection<T> parsedValues) - See Also:
-
getSort
Sort getSort(String property, @Nullable Sort.Direction direction, Sort.NullMode last) throws IllegalArgumentException - Throws:
IllegalArgumentException- See Also:
-
loadIds
- See Also:
-
load
- See Also:
-
load
- See Also:
-
count
- See Also:
-