public class NavigationContextController
extends DefaultWidgetController
| Modifier and Type | Field and Description |
|---|---|
protected AsSearchProviderFactory |
asSearchProviderFactory |
protected static java.lang.String |
CATALOG_VERSION_KEY |
protected static java.lang.String |
CATALOG_VERSION_SELECTOR_ID |
protected Combobox |
catalogVersionSelector |
protected CatalogVersionService |
catalogVersionService |
protected static java.lang.String |
CATEGORY_IN_SOCKET |
protected static java.lang.String |
COLLAPSE_STATE_OUT_SOCKET |
protected I18NService |
i18nService |
protected static java.lang.String |
INDEX_CONFIGURATION_SELECTOR_ID |
protected static java.lang.String |
INDEX_TYPE_KEY |
protected static java.lang.String |
INDEX_TYPE_SELECTOR_ID |
protected Combobox |
indexConfigurationSelector |
protected Combobox |
indexTypeSelector |
protected LabelService |
labelService |
protected static java.lang.String |
NAVIGATION_CONTEXT_KEY |
protected static java.lang.String |
ON_VALUE_CHANGED |
protected static java.lang.String |
SEARCH_PROFILE_CREATE_WIZARD_CTX |
protected static java.lang.String |
SEARCH_PROFILE_SELECTOR_ID |
protected Editor |
searchProfileSelector |
protected SessionService |
sessionService |
| Constructor and Description |
|---|
NavigationContextController() |
protected static final java.lang.String INDEX_CONFIGURATION_SELECTOR_ID
protected static final java.lang.String INDEX_TYPE_SELECTOR_ID
protected static final java.lang.String CATALOG_VERSION_SELECTOR_ID
protected static final java.lang.String SEARCH_PROFILE_SELECTOR_ID
protected static final java.lang.String ON_VALUE_CHANGED
protected static final java.lang.String CATEGORY_IN_SOCKET
protected static final java.lang.String COLLAPSE_STATE_OUT_SOCKET
protected static final java.lang.String NAVIGATION_CONTEXT_KEY
protected static final java.lang.String INDEX_TYPE_KEY
protected static final java.lang.String CATALOG_VERSION_KEY
protected static final java.lang.String SEARCH_PROFILE_CREATE_WIZARD_CTX
protected transient SessionService sessionService
protected transient I18NService i18nService
protected transient CatalogVersionService catalogVersionService
protected transient AsSearchProviderFactory asSearchProviderFactory
protected transient LabelService labelService
protected Combobox indexConfigurationSelector
protected Combobox indexTypeSelector
protected Combobox catalogVersionSelector
protected Editor searchProfileSelector
public <any> getIndexConfigurationsModel()
public <any> getIndexTypesModel()
public <any> getCatalogVersionsModel()
public NavigationContextData getNavigationContext()
public void setNavigationContext(NavigationContextData navigationContext)
public void initialize(Component component)
protected void initializeSelectors()
protected void updateSelectors(NavigationContextData navigationContext)
protected void updateIndexConfigurations(NavigationContextData navigationContext)
protected void updateIndexTypes(NavigationContextData navigationContext)
protected void updateCatalogVersions(NavigationContextData navigationContext)
protected void updateSearchProfiles(NavigationContextData navigationContext)
protected java.lang.Object createParentObject(NavigationContextData navigationContext)
protected void sendNavigationContext(NavigationContextData navigationContext)
protected void collapseNavigationContext()
public void onIndexConfigurationChanged(<any> event)
event - - the eventpublic void onIndexTypeChanged(<any> event)
event - - the eventpublic void onCatalogVersionChanged(<any> event)
event - - the eventpublic void onSearchProfileChanged()
public void onCategoryChanged(CategoryData category)
category - - the categoryprotected java.util.List<IndexConfigurationModel> findIndexConfigurations()
protected boolean isValidIndexConfiguration(AsIndexConfigurationData indexConfiguration)
protected IndexConfigurationModel convertIndexConfiguration(AsIndexConfigurationData source)
protected int compareIndexConfigurations(IndexConfigurationModel indexConfiguration1, IndexConfigurationModel indexConfiguration2)
protected java.util.List<IndexTypeModel> findIndexTypes(java.lang.String indexConfiguration)
protected boolean isValidIndexType(AsIndexTypeData indexType)
protected IndexTypeModel convertIndexType(AsIndexTypeData source)
protected int compareIndexTypes(IndexTypeModel indexType1, IndexTypeModel indexType2)
protected java.util.List<CatalogVersionModel> findCatalogVersions(java.lang.String indexConfiguration, java.lang.String indexType)
protected boolean isValidCatalogVersion(CatalogVersionModel catalogVersion)
protected CatalogVersionModel convertCatalogVersion(CatalogVersionModel source)
protected int compareCatalogVersions(CatalogVersionModel catalogVersion1, CatalogVersionModel catalogVersion2)
protected CatalogVersionModel resolveCatalogVersion(CatalogVersionData catalogVersion)
Copyright © 2018 SAP SE. All Rights Reserved.