Class AdvancedSearchPage
- java.lang.Object
-
- de.hybris.platform.cockpit.wizards.impl.DefaultPage
-
- de.hybris.platform.cmscockpit.wizard.page.AbstractCmsWizardPage
-
- de.hybris.platform.cmscockpit.wizard.page.AdvancedSearchPage
-
- All Implemented Interfaces:
CmsWizardPage,WizardPage
public class AdvancedSearchPage extends AbstractCmsWizardPage
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classAdvancedSearchPage.DefaultListViewSelectorControllerclassAdvancedSearchPage.DefaultSelectorAdvancedSearchControllerclassAdvancedSearchPage.DefaultSelectorAdvancedSearchViewListenerclassAdvancedSearchPage.DefaultSelectorColumnModelListenerclassAdvancedSearchPage.DefaultSelectorListComponentModelListenerclassAdvancedSearchPage.DefaultSelectorListViewListenerclassAdvancedSearchPage.DefaultSelectorTableModelListener
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.StringADVANCED_SEARCH_VIEW_CONFIG_CODEprotected static java.lang.StringLIST_VIEW_CONFIG_CODEprotected static java.lang.StringLIST_VIEW_SELECTOR_SCLASSprotected static java.lang.StringWIZARD_ADVANCED_SEARCH_PAGE-
Fields inherited from class de.hybris.platform.cmscockpit.wizard.page.AbstractCmsWizardPage
CMSWIZARD_ERROR_CNT_SCLASS, CMSWIZARD_PAGE_CNT_SCLASS, CMSWIZARD_PAGE_CONTENT_CNT_SCLASS, CONTENT_ELEMENT_CONFIG, ERROR_SCLASS_CMSWIZARD_CNT, ERROR_SCLASS_ELEMENT_BOX_EDITOR, errorContainer, pageContainer, pageContent, SCLASS_ELEMENT_BOX_EDITOR
-
Fields inherited from class de.hybris.platform.cockpit.wizards.impl.DefaultPage
height, title, width, wizard
-
-
Constructor Summary
Constructors Constructor Description AdvancedSearchPage(java.lang.String pageTitle, Wizard wizard)General constructor
-
Method Summary
-
Methods inherited from class de.hybris.platform.cmscockpit.wizard.page.AbstractCmsWizardPage
clearPageComponents, getDisplayedAttributes, getErrorContainer, getPageContainer, getPageContent, getWizard, handleMessages, isCauseError, setDisplayedAttributes
-
Methods inherited from class de.hybris.platform.cockpit.wizards.impl.DefaultPage
getAttributes, getComponentURI, getController, getCurrentController, getHeight, getId, getPageComponent, getTitle, getWidth, renderView, setComponentURI, setController, setId, setPageComponent, setTitle, setWizard
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.hybris.platform.cockpit.wizards.WizardPage
getAttributes, getComponentURI, getController, getHeight, getId, getTitle, getWidth
-
-
-
-
Field Detail
-
LIST_VIEW_CONFIG_CODE
protected static final java.lang.String LIST_VIEW_CONFIG_CODE
- See Also:
- Constant Field Values
-
ADVANCED_SEARCH_VIEW_CONFIG_CODE
protected static final java.lang.String ADVANCED_SEARCH_VIEW_CONFIG_CODE
- See Also:
- Constant Field Values
-
WIZARD_ADVANCED_SEARCH_PAGE
protected static final java.lang.String WIZARD_ADVANCED_SEARCH_PAGE
- See Also:
- Constant Field Values
-
LIST_VIEW_SELECTOR_SCLASS
protected static final java.lang.String LIST_VIEW_SELECTOR_SCLASS
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AdvancedSearchPage
public AdvancedSearchPage(java.lang.String pageTitle, Wizard wizard)General constructor- Parameters:
pageTitle- - page title that will be displayed when current page will be processedwizard- - parent wizard
-
-
Method Detail
-
getSearchResult
public java.util.List<? extends java.lang.Object> getSearchResult()
-
getPageSize
public int getPageSize()
-
setPageSize
public void setPageSize(int size)
-
setWidth
public void setWidth(java.lang.String width)
- Parameters:
width- the width to set
-
setHeight
public void setHeight(java.lang.String height)
- Parameters:
height- the height to set
-
getTableModel
public TableModel getTableModel()
-
getRootSearchType
public ObjectType getRootSearchType()
-
setRootSearchType
public void setRootSearchType(ObjectType rootSearchType)
-
createRepresentationItself
public org.zkoss.zk.ui.Component createRepresentationItself()
- Specified by:
createRepresentationItselfin interfaceCmsWizardPage- Specified by:
createRepresentationItselfin classAbstractCmsWizardPage
-
loadMainViewCompoent
protected org.zkoss.zk.ui.Component loadMainViewCompoent()
-
positioningOptions
protected org.zkoss.zul.Radiogroup positioningOptions()
-
pagingToolbar
protected org.zkoss.zk.ui.HtmlBasedComponent pagingToolbar()
-
loadViewComponents
protected void loadViewComponents()
-
loadListView
protected UIListView loadListView()
-
doSearch
protected void doSearch(ObjectTemplate objectType, AdvancedSearchParameterContainer parameterContainer, int currentPage)
-
setSearchResult
public void setSearchResult(java.util.List<? extends java.lang.Object> searchResult, int total)
-
createSearchParameterValues
protected void createSearchParameterValues(AdvancedSearchParameterContainer parameterContainer, java.util.List<SearchParameterValue> paramValues, java.util.List<java.util.List<SearchParameterValue>> orValues)
-
loadAdvancedSearchView
protected UIAdvancedSearchView loadAdvancedSearchView()
-
initAdvanceModeModels
public void initAdvanceModeModels()
-
createDefaultTableModel
public MutableTableModel createDefaultTableModel()
-
createAdvancedTableModel
public DefaultAdvancedSearchModel createAdvancedTableModel()
-
addPredefinedFields
protected void addPredefinedFields(AdvancedSearchConfiguration config)
-
getSearchFieldMap
protected java.util.Map<java.lang.String,SearchFieldConfiguration> getSearchFieldMap(java.util.Collection<SearchFieldConfiguration> fields)
-
addPredefinedValues
protected void addPredefinedValues(DefaultAdvancedSearchModel searchModel)
-
getColumnModelListener
protected ColumnModelListener getColumnModelListener()
-
storeListViewConfiguration
protected void storeListViewConfiguration()
-
getBrowserModel
public BrowserModel getBrowserModel()
-
getListViewConfiguration
protected ListViewConfiguration getListViewConfiguration(ObjectTemplate objectTemplate, java.lang.String code)
-
getAdvancedSearchConfiguration
protected AdvancedSearchConfiguration getAdvancedSearchConfiguration(ObjectTemplate objectTemplate, java.lang.String code)
-
clearCurrentSearchResult
public void clearCurrentSearchResult()
-
getSearchProvider
protected SearchProvider getSearchProvider()
-
getUIConfigurationService
protected UIConfigurationService getUIConfigurationService()
-
getTypeService
protected TypeService getTypeService()
-
initView
public void initView(Wizard wizard, org.zkoss.zk.ui.Component comp)
- Specified by:
initViewin interfaceWizardPage- Overrides:
initViewin classDefaultPage
-
isAddSelectedElementsAtTop
public boolean isAddSelectedElementsAtTop()
-
-