public class SearchProfileContextViewModel extends AbstractWidgetViewModel
| Modifier and Type | Field and Description |
|---|---|
protected AsSearchConfigurationService |
asSearchConfigurationService |
protected AsSearchProfileContextFactory |
asSearchProfileContextFactory |
protected AsSearchProfileService |
asSearchProfileService |
protected CatalogVersionService |
catalogVersionService |
protected LabelService |
labelService |
protected static java.lang.String |
SEARCH_PROFILE_INFO |
protected static java.lang.String |
SEARCH_RESULT_IN_SOCKET |
| Constructor and Description |
|---|
SearchProfileContextViewModel() |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
buildSearchProfileLabel(AbstractAsSearchProfileModel searchProfile,
AsSearchConfigurationInfoData searchConfigurationInfo) |
protected SearchProfileInfoModel |
createSearchProfileInfo(SearchResultData searchResult) |
SearchProfileInfoModel |
getSearchProfileInfo() |
protected CatalogVersionModel |
resolveCatalogVersion(CatalogVersionData catalogVersion) |
protected void |
setSearchProfileInfo(SearchProfileInfoModel searchProfileInfo) |
void |
updateSearchProfileInfo(SearchResultData searchResult) |
format, getModel, getWidgetInstanceManager, getWidgetSettings, getWidgetslot, sendOutputprotected static final java.lang.String SEARCH_RESULT_IN_SOCKET
protected static final java.lang.String SEARCH_PROFILE_INFO
protected LabelService labelService
protected CatalogVersionService catalogVersionService
protected AsSearchProfileService asSearchProfileService
protected AsSearchConfigurationService asSearchConfigurationService
protected AsSearchProfileContextFactory asSearchProfileContextFactory
public void updateSearchProfileInfo(SearchResultData searchResult) throws WidgetException
WidgetExceptionpublic SearchProfileInfoModel getSearchProfileInfo()
protected void setSearchProfileInfo(SearchProfileInfoModel searchProfileInfo)
protected SearchProfileInfoModel createSearchProfileInfo(SearchResultData searchResult) throws WidgetException
WidgetExceptionprotected CatalogVersionModel resolveCatalogVersion(CatalogVersionData catalogVersion)
protected java.lang.String buildSearchProfileLabel(AbstractAsSearchProfileModel searchProfile, AsSearchConfigurationInfoData searchConfigurationInfo)
Copyright © 2017 SAP SE. All Rights Reserved.