public class AdvancedSearchPage extends AbstractGenericItemPage
| Modifier and Type | Class and Description |
|---|---|
class |
AdvancedSearchPage.DefaultListViewSelectorController |
class |
AdvancedSearchPage.DefaultSelectorAdvancedSearchController |
class |
AdvancedSearchPage.DefaultSelectorAdvancedSearchViewListener |
class |
AdvancedSearchPage.DefaultSelectorColumnModelListener |
class |
AdvancedSearchPage.DefaultSelectorListComponentModelListener |
class |
AdvancedSearchPage.DefaultSelectorListViewListener |
class |
AdvancedSearchPage.DefaultSelectorTableModelListener |
| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
ADVANCED_SEARCH_VIEW_CONFIG_CODE |
protected static java.lang.String |
LIST_VIEW_CONFIG_CODE |
protected static java.lang.String |
LIST_VIEW_SELECTOR_SCLASS |
protected static java.lang.String |
MEDIA_MIME |
protected static java.lang.String |
MIME_TYPES |
protected static java.lang.String |
SEMICOLON |
protected static java.lang.String |
WIZARD_ADVANCED_SEARCH_PAGE |
CONTENT_ELEMENT_CONFIG, ERROR_SCLASS_ELEMENT_BOX_EDITOR, ERROR_SCLASS_WIZARD_CNT, errorContainer, INFO_SCLASS_ELEMENT_BOX_EDITOR, INFO_SCLASS_WIZARD_CNT, pageContainer, pageContent, SCLASS_ELEMENT_BOX_EDITOR, WARNING_SCLASS_ELEMENT_BOX_EDITOR, WARNING_SCLASS_WIZARD_CNT, WIZARD_ERROR_CNT_SCLASS, WIZARD_PAGE_CNT_SCLASS, WIZARD_PAGE_CONTENT_CNT_SCLASSheight, title, width, wizard| Constructor and Description |
|---|
AdvancedSearchPage() |
AdvancedSearchPage(java.lang.String pageTitle) |
AdvancedSearchPage(java.lang.String pageTitle,
Wizard wizard,
CreateContext createContext)
General constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addPredefinedFields(AdvancedSearchConfiguration config) |
protected void |
addPredefinedValues(DefaultAdvancedSearchModel searchModel) |
void |
clearCurrentSearchResult() |
DefaultAdvancedSearchModel |
createAdvancedTableModel() |
MutableTableModel |
createDefaultTableModel() |
protected ComponentController |
createListViewSelectorController(UIListView listView) |
Component |
createRepresentationItself()
This is an general method responsible for creating UI representation of given page
Note:
Here we should create graphical representation of particular page |
protected void |
createSearchParameterValues(AdvancedSearchParameterContainer parameterContainer,
java.util.List<SearchParameterValue> paramValues,
java.util.List<java.util.List<SearchParameterValue>> orValues) |
protected void |
doSearch(ObjectTemplate objectType,
AdvancedSearchParameterContainer parameterContainer,
int currentPage) |
void |
fireSearch() |
protected AdvancedSearchConfiguration |
getAdvancedSearchConfiguration(ObjectTemplate objectTemplate,
java.lang.String code) |
BrowserModel |
getBrowserModel() |
protected ColumnModelListener |
getColumnModelListener() |
protected ListViewConfiguration |
getListViewConfiguration(ObjectTemplate objectTemplate,
java.lang.String code) |
int |
getPageSize() |
java.util.Map<java.lang.String,? extends java.lang.Object> |
getParameters() |
java.lang.String |
getRootSearchStringType() |
ObjectType |
getRootSearchType() |
protected java.util.Map<java.lang.String,SearchFieldConfiguration> |
getSearchFieldMap(java.util.Collection<SearchFieldConfiguration> fields) |
protected SearchProvider |
getSearchProvider() |
java.util.List<? extends java.lang.Object> |
getSearchResult() |
java.lang.Object |
getSelectedValue() |
TableModel |
getTableModel() |
protected TypeService |
getTypeService() |
protected UIConfigurationService |
getUIConfigurationService() |
void |
initAdvanceModeModels() |
void |
initView(Wizard wizard,
Component comp) |
protected boolean |
isMultiple() |
protected UIAdvancedSearchView |
loadAdvancedSearchView() |
protected UIListView |
loadListView() |
protected Component |
loadMainViewCompoent() |
protected void |
loadViewComponents() |
protected HtmlBasedComponent |
pagingToolbar() |
void |
setHeight(java.lang.String height) |
void |
setMultiple(boolean multiple) |
void |
setPageSize(int size) |
void |
setParameters(java.util.Map<java.lang.String,? extends java.lang.Object> parameters) |
void |
setRootSearchStringType(java.lang.String rootSearchStringType) |
void |
setRootSearchType(ObjectType rootSearchType) |
void |
setSearchResult(java.util.List<? extends java.lang.Object> searchResult,
int total) |
void |
setSelectedValue(java.lang.Object selectedValue) |
void |
setWidth(java.lang.String width) |
protected void |
storeListViewConfiguration() |
clearPageComponents, getDisplayedAttributes, getErrorContainer, getNextPageWizardId, getPageContainer, getPageContent, getWizard, handleMessages, isCauseError, setDisplayedAttributes, setNextPageWizardIdgetAttributes, getComponentURI, getController, getCurrentController, getHeight, getId, getPageComponent, getTitle, getWidth, renderView, setComponentURI, setController, setId, setPageComponent, setTitle, setWizardprotected static final java.lang.String LIST_VIEW_CONFIG_CODE
protected static final java.lang.String ADVANCED_SEARCH_VIEW_CONFIG_CODE
protected static final java.lang.String WIZARD_ADVANCED_SEARCH_PAGE
protected static final java.lang.String LIST_VIEW_SELECTOR_SCLASS
protected static final java.lang.String MEDIA_MIME
protected static final java.lang.String MIME_TYPES
protected static final java.lang.String SEMICOLON
public AdvancedSearchPage()
public AdvancedSearchPage(java.lang.String pageTitle)
public AdvancedSearchPage(java.lang.String pageTitle,
Wizard wizard,
CreateContext createContext)
pageTitle - - page title that will be displayed when current page will be processedwizard - - parent wizardpublic void setWidth(java.lang.String width)
width - the width to setpublic void setHeight(java.lang.String height)
height - the height to setpublic void setParameters(java.util.Map<java.lang.String,? extends java.lang.Object> parameters)
public java.lang.Object getSelectedValue()
public void setSelectedValue(java.lang.Object selectedValue)
public java.lang.String getRootSearchStringType()
public void setRootSearchStringType(java.lang.String rootSearchStringType)
public java.util.List<? extends java.lang.Object> getSearchResult()
public int getPageSize()
public void setPageSize(int size)
public TableModel getTableModel()
public ObjectType getRootSearchType()
public void setRootSearchType(ObjectType rootSearchType)
public Component createRepresentationItself()
AbstractGenericItemPagecreateRepresentationItself in interface GenericItemWizardPagecreateRepresentationItself in class AbstractGenericItemPageprotected Component loadMainViewCompoent()
protected HtmlBasedComponent pagingToolbar()
protected void loadViewComponents()
protected UIListView loadListView()
protected ComponentController createListViewSelectorController(UIListView listView)
protected void doSearch(ObjectTemplate objectType, AdvancedSearchParameterContainer parameterContainer, int currentPage)
public void setSearchResult(java.util.List<? extends java.lang.Object> searchResult,
int total)
protected void createSearchParameterValues(AdvancedSearchParameterContainer parameterContainer, java.util.List<SearchParameterValue> paramValues, java.util.List<java.util.List<SearchParameterValue>> orValues)
protected UIAdvancedSearchView loadAdvancedSearchView()
public void initAdvanceModeModels()
public MutableTableModel createDefaultTableModel()
public DefaultAdvancedSearchModel createAdvancedTableModel()
protected void addPredefinedFields(AdvancedSearchConfiguration config)
protected java.util.Map<java.lang.String,SearchFieldConfiguration> getSearchFieldMap(java.util.Collection<SearchFieldConfiguration> fields)
protected void addPredefinedValues(DefaultAdvancedSearchModel searchModel)
protected ColumnModelListener getColumnModelListener()
protected void storeListViewConfiguration()
public BrowserModel getBrowserModel()
protected ListViewConfiguration getListViewConfiguration(ObjectTemplate objectTemplate, java.lang.String code)
protected AdvancedSearchConfiguration getAdvancedSearchConfiguration(ObjectTemplate objectTemplate, java.lang.String code)
public void clearCurrentSearchResult()
protected SearchProvider getSearchProvider()
protected UIConfigurationService getUIConfigurationService()
protected TypeService getTypeService()
public void initView(Wizard wizard, Component comp)
initView in interface WizardPageinitView in class DefaultPageprotected boolean isMultiple()
public void setMultiple(boolean multiple)
public java.util.Map<java.lang.String,? extends java.lang.Object> getParameters()
public void fireSearch()
Copyright © 2018 SAP SE. All Rights Reserved.