Interface SearchFilterService
- All Known Implementing Classes:
SearchFilterServiceImpl
public interface SearchFilterService
Service methods provided to the client for dealing with "search filters".
Note that the execution of search filters is handled by the
SearchService
.-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addSearchFilter
(String entityType, String label, String query, @Nullable String orderBy) void
deleteFilter
(String type, String key) getFilters
(String entityName) String[]
-
Method Details
-
getFilters
- Returns:
- Returns the search filters for the given entity. Empty if none.
At most one of the filters has the
default_search
flag on. - Throws:
PersistException
-
getSearchFilterQuery
- Throws:
PersistException
InterruptedException
-
addSearchFilter
void addSearchFilter(String entityType, String label, String query, @Nullable @Nullable String orderBy) throws PersistException, InterruptedException - Throws:
PersistException
InterruptedException
-
deleteFilter
- Throws:
PersistException
InterruptedException
-