Skip to content

Deprecate SearchService classes

As part of an effort to unify how we access database entities, the SearchService and related classes are being deprecated.

This includes

  • SearchService
    • SearchService subclasses
  • SearchCriteria
    • SearchCriteria implementing classes
  • Classes implementing JpaRepository and QueryDslPredicateExecutor should also be able to be deprecated

SearchService classes will be replaced by a Data Access Object (extending PagedDAO), and SearchCriteria classes will be replaced by a Filter model (extending Paged). While the DAO model might not be the best solution, it is sufficient for now as we can treat it like a drop in replacement for most of the calls.