Interface AsSearchProfileDao
-
- All Known Implementing Classes:
DefaultAsSearchProfileDao
public interface AsSearchProfileDao
TheAbstractAsSearchProfileModel
DAO.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T extends AbstractAsSearchProfileModel>
java.util.List<T>findAllSearchProfiles()
Finds all search profiles.<T extends AbstractAsSearchProfileModel>
java.util.Optional<T>findSearchProfileByCode(CatalogVersionModel catalogVersion, java.lang.String code)
Finds the search profile for a specific catalog version and code.<T extends AbstractAsSearchProfileModel>
java.util.List<T>findSearchProfilesByCatalogVersion(CatalogVersionModel catalogVersion)
Finds all search profiles for a specific catalog version.<T extends AbstractAsSearchProfileModel>
java.util.List<T>findSearchProfilesByIndexTypesAndCatalogVersions(java.util.List<java.lang.String> indexTypes, java.util.List<CatalogVersionModel> catalogVersions)
Finds all search profiles for a list of index types and catalog versions.<T extends AbstractAsSearchProfileModel>
java.util.List<T>getSearchProfiles(java.lang.String query, java.util.Map<java.lang.String,java.lang.Object> filters)
Search for search profiles with filters.<T extends AbstractAsSearchProfileModel>
SearchPageData<T>getSearchProfiles(java.lang.String query, java.util.Map<java.lang.String,java.lang.Object> filters, SearchPageData<?> pagination)
Search for search profiles with filters.
-
-
-
Method Detail
-
findAllSearchProfiles
<T extends AbstractAsSearchProfileModel> java.util.List<T> findAllSearchProfiles()
Finds all search profiles.- Returns:
- list of search profiles or empty list if no profile is found
-
findSearchProfilesByIndexTypesAndCatalogVersions
<T extends AbstractAsSearchProfileModel> java.util.List<T> findSearchProfilesByIndexTypesAndCatalogVersions(java.util.List<java.lang.String> indexTypes, java.util.List<CatalogVersionModel> catalogVersions)
Finds all search profiles for a list of index types and catalog versions.- Returns:
- list of search profiles or empty list if no profile is found
-
findSearchProfilesByCatalogVersion
<T extends AbstractAsSearchProfileModel> java.util.List<T> findSearchProfilesByCatalogVersion(CatalogVersionModel catalogVersion)
Finds all search profiles for a specific catalog version.- Returns:
- list of search profiles or empty list if no profile is found
-
findSearchProfileByCode
<T extends AbstractAsSearchProfileModel> java.util.Optional<T> findSearchProfileByCode(CatalogVersionModel catalogVersion, java.lang.String code)
Finds the search profile for a specific catalog version and code.- Parameters:
catalogVersion
- - the catalog versioncode
- - the code- Returns:
- the search profile
-
getSearchProfiles
<T extends AbstractAsSearchProfileModel> java.util.List<T> getSearchProfiles(java.lang.String query, java.util.Map<java.lang.String,java.lang.Object> filters)
Search for search profiles with filters.- Parameters:
query
- query parameter for filteringfilters
- parameters for search- Returns:
- list of search profiles or empty list if no profile is found
-
getSearchProfiles
<T extends AbstractAsSearchProfileModel> SearchPageData<T> getSearchProfiles(java.lang.String query, java.util.Map<java.lang.String,java.lang.Object> filters, SearchPageData<?> pagination)
Search for search profiles with filters.- Parameters:
query
- query parameter for filteringfilters
- parameters for searchpagination
- holder of pagination data and sort options- Returns:
- list of search profiles or empty list if no profile is found
-
-