Interface FilterableDao<M extends FilterMatch<PK>,PK extends Serializable,F extends Filter>

Type Parameters:
M - the domain object type
PK - the primary key type
F - the filter type
All Known Subinterfaces:
SolarLocationDao, SolarNodeDao, SolarNodeMetadataDao
All Known Implementing Classes:
BaseMyBatisFilterableDao, MyBatisSolarLocationDao, MyBatisSolarNodeDao, MyBatisSolarNodeMetadataDao

public interface FilterableDao<M extends FilterMatch<PK>,PK extends Serializable,F extends Filter>
API for DAOs that support filtered queries.
  • Method Summary

    Modifier and Type
    Method
    Description
    findFiltered(F filter, List<net.solarnetwork.domain.SortDescriptor> sortDescriptors, Integer offset, Integer max)
    API for querying for a filtered set of results from all possible results.
  • Method Details

    • findFiltered

      FilterResults<M> findFiltered(F filter, List<net.solarnetwork.domain.SortDescriptor> sortDescriptors, Integer offset, Integer max)
      API for querying for a filtered set of results from all possible results.
      Parameters:
      filter - the query filter
      sortDescriptors - the optional sort descriptors
      offset - an optional result offset
      max - an optional maximum number of returned results
      Returns:
      the results, never null