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 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 static java.lang.String |
NAVIGATION_CONTEXT_KEY |
protected static java.lang.String |
NAVIGATION_CONTEXT_OUT_SOCKET |
protected static java.lang.String |
ON_VALUE_CHANGED |
protected static java.lang.String |
PARENT_OBJECT_KEY |
protected static java.lang.String |
SEARCH_PROFILE_CREATE_WIZARD_CTX |
protected static java.lang.String |
SEARCH_PROFILE_SELECTOR_ID |
protected Editor |
searchProfileSelector |
| Constructor and Description |
|---|
NavigationContextController() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
collapseNavigationContext() |
protected int |
compareCatalogVersions(AsCatalogVersionData catalogVersion1,
AsCatalogVersionData catalogVersion2) |
protected int |
compareIndexConfigurations(AsIndexConfigurationData indexConfiguration1,
AsIndexConfigurationData indexConfiguration2) |
protected int |
compareIndexTypes(AsIndexTypeData indexType1,
AsIndexTypeData indexType2) |
protected java.lang.Object |
createParentObject(NavigationContextData navigationContext) |
protected java.util.List<CatalogVersionModel> |
findCatalogVersions(java.lang.String indexConfiguration,
java.lang.String indexType) |
protected java.util.List<IndexConfigurationModel> |
findIndexConfigurations() |
protected java.util.List<IndexTypeModel> |
findIndexTypes(java.lang.String indexConfiguration) |
<any> |
getCatalogVersionsModel() |
<any> |
getIndexConfigurationsModel() |
<any> |
getIndexTypesModel() |
NavigationContextData |
getNavigationContext() |
void |
initialize(Component component) |
protected void |
initializeSelectors() |
void |
onCatalogVersionChanged(<any> event)
Event handler for catalog version changes.
|
void |
onIndexConfigurationChanged(<any> event)
Event handler for index configuration changes.
|
void |
onIndexTypeChanged(<any> event)
Event handler for index type changes.
|
void |
onNavigationContextChanged(CategoryData category)
Event handler for category changes.
|
void |
onSearchProfileChanged()
Event handler for search profile changes.
|
protected CatalogVersionModel |
resolveCatalogVersion(CatalogVersionData catalogVersion) |
protected void |
sendNavigationContext(NavigationContextData navigationContext) |
void |
setNavigationContext(NavigationContextData navigationContext) |
protected void |
updateCatalogVersions(NavigationContextData navigationContext) |
protected void |
updateIndexConfigurations(NavigationContextData navigationContext) |
protected void |
updateIndexTypes(NavigationContextData navigationContext) |
protected void |
updateSearchProfiles(NavigationContextData navigationContext) |
protected void |
updateSelectors(NavigationContextData navigationContext) |
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 NAVIGATION_CONTEXT_OUT_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 PARENT_OBJECT_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 Combobox indexConfigurationSelector
protected Combobox indexTypeSelector
protected Combobox catalogVersionSelector
protected Editor searchProfileSelector
protected transient CatalogVersionService catalogVersionService
protected transient AsSearchProviderFactory asSearchProviderFactory
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 onNavigationContextChanged(CategoryData category)
category - - the categoryprotected java.util.List<IndexConfigurationModel> findIndexConfigurations()
protected java.util.List<IndexTypeModel> findIndexTypes(java.lang.String indexConfiguration)
protected java.util.List<CatalogVersionModel> findCatalogVersions(java.lang.String indexConfiguration, java.lang.String indexType)
protected CatalogVersionModel resolveCatalogVersion(CatalogVersionData catalogVersion)
protected int compareIndexConfigurations(AsIndexConfigurationData indexConfiguration1, AsIndexConfigurationData indexConfiguration2)
protected int compareIndexTypes(AsIndexTypeData indexType1, AsIndexTypeData indexType2)
protected int compareCatalogVersions(AsCatalogVersionData catalogVersion1, AsCatalogVersionData catalogVersion2)
Copyright © 2017 SAP SE. All Rights Reserved.