public class DefaultAsSearchProfileService extends java.lang.Object implements AsSearchProfileService
AsSearchProfileService.| Constructor and Description |
|---|
DefaultAsSearchProfileService() |
| Modifier and Type | Method and Description |
|---|---|
<T extends AbstractAsSearchProfileModel> |
cloneSearchProfile(T original)
Creates a deep copy of the given search profile.
|
<T extends AbstractAsSearchProfileModel> |
getAllSearchProfiles()
Returns all search profiles.
|
AsCloneStrategy |
getAsCloneStrategy() |
AsSearchProfileDao |
getAsSearchProfileDao() |
<T extends AbstractAsSearchProfileModel> |
getSearchProfileForCode(CatalogVersionModel catalogVersion,
java.lang.String code)
Returns the search profile a specific catalog version and code.
|
<T extends AbstractAsSearchProfileModel> |
getSearchProfiles(java.lang.String query,
java.util.Map<java.lang.String,java.lang.Object> filters)
Returns search profiles.
|
<T extends AbstractAsSearchProfileModel> |
getSearchProfiles(java.lang.String query,
java.util.Map<java.lang.String,java.lang.Object> filters,
SearchPageData<?> pagination)
Returns paginated search profiles.
|
<T extends AbstractAsSearchProfileModel> |
getSearchProfilesForCatalogVersion(CatalogVersionModel catalogVersion)
Returns all search profiles for a specific catalog version.
|
<T extends AbstractAsSearchProfileModel> |
getSearchProfilesForIndexTypesAndCatalogVersions(java.util.List<java.lang.String> indexTypes,
java.util.List<CatalogVersionModel> catalogVersions)
Returns all search profiles for a list of index types and catalog versions.
|
void |
setAsCloneStrategy(AsCloneStrategy asCloneStrategy) |
void |
setAsSearchProfileDao(AsSearchProfileDao asSearchProfileDao) |
public <T extends AbstractAsSearchProfileModel> java.util.List<T> getAllSearchProfiles()
AsSearchProfileServicegetAllSearchProfiles in interface AsSearchProfileServicepublic <T extends AbstractAsSearchProfileModel> java.util.List<T> getSearchProfilesForIndexTypesAndCatalogVersions(java.util.List<java.lang.String> indexTypes, java.util.List<CatalogVersionModel> catalogVersions)
AsSearchProfileServicegetSearchProfilesForIndexTypesAndCatalogVersions in interface AsSearchProfileServiceindexTypes - - list of index typescatalogVersions - - list of catalog versionspublic <T extends AbstractAsSearchProfileModel> java.util.List<T> getSearchProfilesForCatalogVersion(CatalogVersionModel catalogVersion)
AsSearchProfileServicegetSearchProfilesForCatalogVersion in interface AsSearchProfileServicecatalogVersion - - the catalog versionpublic <T extends AbstractAsSearchProfileModel> java.util.Optional<T> getSearchProfileForCode(CatalogVersionModel catalogVersion, java.lang.String code)
AsSearchProfileServicegetSearchProfileForCode in interface AsSearchProfileServicecatalogVersion - - the catalog versioncode - - the codepublic <T extends AbstractAsSearchProfileModel> java.util.List<T> getSearchProfiles(java.lang.String query, java.util.Map<java.lang.String,java.lang.Object> filters)
AsSearchProfileServicegetSearchProfiles in interface AsSearchProfileServicequery - query parameter for filteringfilters - parameters for filteringpublic <T extends AbstractAsSearchProfileModel> SearchPageData<T> getSearchProfiles(java.lang.String query, java.util.Map<java.lang.String,java.lang.Object> filters, SearchPageData<?> pagination)
AsSearchProfileServicegetSearchProfiles in interface AsSearchProfileServicequery - query parameter for filteringfilters - parameters for filteringpagination - holder of pagination data and sort optionspublic <T extends AbstractAsSearchProfileModel> T cloneSearchProfile(T original)
AsSearchProfileServicecloneSearchProfile in interface AsSearchProfileServiceoriginal - - the original search profilepublic AsSearchProfileDao getAsSearchProfileDao()
public void setAsSearchProfileDao(AsSearchProfileDao asSearchProfileDao)
public AsCloneStrategy getAsCloneStrategy()
public void setAsCloneStrategy(AsCloneStrategy asCloneStrategy)
Copyright © 2018 SAP SE. All Rights Reserved.