public class BundleRulesSearchBrowserModel extends BundleProductSearchBrowserModel
searchProviderADVANCED_SEARCH_CONF, advancedSearchModel, PATH_DELIMITER, PATH_LIST_DELIMITER, QUERY_PATH_DELIMITERcontextItems, LIST_VIEW_CONFIG_CODE, viewModebrowserListeners, cacheView, rootType, VIEWMODE_GRID, VIEWMODE_LIST| Constructor and Description |
|---|
BundleRulesSearchBrowserModel(String templateCode) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
bundleForQueryExists(Query searchQuery) |
Object |
clone() |
protected Query |
createSearchQuery(Query query) |
protected ExtendedSearchResult |
doSearchInternal(Query query) |
protected String |
getAllItemLabel() |
protected SearchProvider |
getSearchProvider() |
protected SearchType |
getSelectedTypeFromQuery(Query query) |
void |
setRootType(ObjectTemplate rootType) |
void |
setSimpleQuery(String simpleQuery)
Sets the simple search text to
simpleQuery and - if advanced search is not visible - clears any set
advanced search parameter values. |
protected Query |
setupQueryCatalog(Query searchQuery,
Query userQuery) |
protected List<SearchParameterValue> |
updateSearchParameters(List<SearchParameterValue> parameterValues)
method used to add bundle rule as a search parameter only if it doesn't exist
|
addBrowserModelListener, addCriterionToSearchQuery, appendSearchFieldValueFilter, appendSortProperties, getAvailableViewModes, getPathAsString, getPathAsString, getProductCockpitCatalogService, getSelectedCatalogVersions, getSelectedCategories, getSelectedType, hasExactlyOneSearchQueryItem, hasMulipleSearchQueryItems, setProductCockpitCatalogService, setSelectedCatalogVersions, setSelectedCategories, updateCatalogVersionsFromQuery, updateLabelMultipleSelection, updateLabels, updateLabelSingleItem, updateSelectedCategoriesFromQueryblacklistItems, createViewComponent, getItem, getItems, getSelectedItems, getSortProperties, isShowCreateButton, removeItems, setSearchProvider, setShowCreateButton, updateAdvancedSearchModel, updateItems, updateItemscollapse, fireAdvancedSearchVisibilityChanged, getAdvancedSearchModel, getAvailableBrowserFilters, getConfiguredBrowserFilters, getLastQuery, getLastType, getResult, getSearchType, getSimpleQuery, getSortCriterion, getUIConfigurationService, isAdvancedHeaderDropdownSticky, isAdvancedHeaderDropdownVisible, isAdvancedSearchSticky, isAdvancedSearchVisible, isCollapsed, setAdvancedSearchSticky, setAdvancedSearchVisible, setLastQuery, setResult, setSortableProperties, setSortAsc, setSortedByPropertyaddPageSize, firePagingChanged, getContextItemsPaged, getContextItemsPageIndex, getContextItemsPageSize, getCurrentPage, getLastPage, getMaxPageSize, getOffset, getPageSize, getPageSizes, hasStatusBar, isSimplePaging, setContextItemsDirectly, setContextItemsPageIndex, setContextItemsPageSize, setCurrentPage, setMaxPageSize, setOffset, setPageSize, setPageSizes, setSimplePaging, updateItemsdoDrop, fireContextItemsChanged, fireContextRootTypeChanged, fireContextSelectionChanged, fireContextViewModeChanged, fireContextVisibilityChanged, fireItemActivated, fireItemsDropped, fireViewModeChanged, getActiveItem, getCompareModel, getContextInitialValueMapping, getContextItems, getContextRootItem, getContextRootType, getContextRootTypePropertyDescriptor, getContextTableModel, getContextViewMode, getListViewConfiguration, getSelectedContextIndexes, getTableModel, getViewMode, isContextItemsMovable, isContextItemsRemovable, isContextPropertyWritable, isContextVisible, isItemsMovable, isItemsRemovable, isPossibleAddContextSubTypes, setActiveItem, setCompareModel, setContextInitialValueMapping, setContextItems, setContextItems, setContextItemsMovable, setContextItemsRemovable, setContextRootType, setContextRootTypePropertyDescriptor, setContextTableModel, setContextViewMode, setContextVisible, setContextVisibleDirect, setItemsMovable, setItemsRemovable, setSelectedContextIndexes, setTableModel, setViewModeclearSelection, fireChanged, fireItemsChanged, fireRootTypeChanged, fireSelectionChanged, focus, getArea, getBrowserFilter, getBrowserFilterFixed, getCacheView, getExtendedLabel, getLabel, getRootType, getSelectedIndexes, getTotalCount, isAllMarked, isDuplicatable, isFocused, multiEdit, multiEdit, onClose, onHide, onShow, removeBrowserModelListener, setAllMarked, setArea, setBrowserFilter, setBrowserFilterFixed, setCacheView, setExtendedLabel, setLabel, setSelectedIndexes, setTotalCountequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddPageSize, getCurrentPage, getLastPage, getOffset, getPageSize, getPageSizes, isSimplePaging, setCurrentPage, setOffset, setPageSize, setSimplePagingdoDrop, getActiveItem, getContextInitialValueMapping, getContextItems, getContextRootItem, getContextRootType, getContextRootTypePropertyDescriptor, getContextTableModel, getContextViewMode, getSelectedContextIndexes, getTableModel, getViewMode, isContextItemsMovable, isContextItemsRemovable, isContextVisible, isItemsMovable, isItemsRemovable, setActiveItem, setContextInitialValueMapping, setContextItems, setContextItems, setContextItemsDirectly, setContextItemsMovable, setContextItemsRemovable, setContextRootType, setContextRootTypePropertyDescriptor, setContextTableModel, setContextViewMode, setContextVisible, setContextVisibleDirect, setItemsMovable, setItemsRemovable, setSelectedContextIndexes, setTableModel, setViewModefocus, getArea, getBrowserFilter, getExtendedLabel, getLabel, getRootType, getSelectedIndexes, getTotalCount, hasStatusBar, isAllMarked, isDuplicatable, isFocused, multiEdit, multiEdit, removeBrowserModelListener, setAllMarked, setArea, setBrowserFilter, setExtendedLabel, setLabel, setSelectedIndexes, setTotalCount, updateItemspublic BundleRulesSearchBrowserModel(String templateCode)
public Object clone() throws CloneNotSupportedException
clone in interface BrowserModelclone in class BundleProductSearchBrowserModelCloneNotSupportedExceptionpublic void setSimpleQuery(String simpleQuery)
SearchBrowserModelsimpleQuery and - if advanced search is not visible - clears any set
advanced search parameter values.setSimpleQuery in interface SearchBrowserModelsetSimpleQuery in class AbstractSearchBrowserModelsimpleQuery - the text to search forpublic void setRootType(ObjectTemplate rootType)
setRootType in interface BrowserModelsetRootType in class BundleProductSearchBrowserModelprotected ExtendedSearchResult doSearchInternal(Query query)
doSearchInternal in class BundleProductSearchBrowserModelprotected boolean bundleForQueryExists(Query searchQuery)
protected SearchType getSelectedTypeFromQuery(Query query)
protected List<SearchParameterValue> updateSearchParameters(List<SearchParameterValue> parameterValues)
parameterValues - already existing search parametersprotected String getAllItemLabel()
getAllItemLabel in class BundleProductSearchBrowserModelprotected SearchProvider getSearchProvider()
getSearchProvider in class BundleProductSearchBrowserModelCopyright © 2017 SAP SE. All Rights Reserved.