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
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassclassclassclassclassclassclass -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Stringprotected static final Stringprotected static final Stringprotected static final StringFields 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_EDITORFields inherited from class de.hybris.platform.cockpit.wizards.impl.DefaultPage
height, title, width, wizard -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected voidaddPredefinedValues(DefaultAdvancedSearchModel searchModel) voidorg.zkoss.zk.ui.Componentprotected voidcreateSearchParameterValues(AdvancedSearchParameterContainer parameterContainer, List<SearchParameterValue> paramValues, List<List<SearchParameterValue>> orValues) protected voiddoSearch(ObjectTemplate objectType, AdvancedSearchParameterContainer parameterContainer, int currentPage) protected AdvancedSearchConfigurationgetAdvancedSearchConfiguration(ObjectTemplate objectTemplate, String code) protected ColumnModelListenerprotected ListViewConfigurationgetListViewConfiguration(ObjectTemplate objectTemplate, String code) intprotected Map<String,SearchFieldConfiguration> protected SearchProviderprotected TypeServiceprotected UIConfigurationServicevoidvoidbooleanprotected UIAdvancedSearchViewprotected UIListViewprotected org.zkoss.zk.ui.Componentprotected voidprotected org.zkoss.zk.ui.HtmlBasedComponentprotected org.zkoss.zul.RadiogroupvoidvoidsetPageSize(int size) voidsetRootSearchType(ObjectType rootSearchType) voidsetSearchResult(List<? extends Object> searchResult, int total) voidprotected voidMethods inherited from class de.hybris.platform.cmscockpit.wizard.page.AbstractCmsWizardPage
clearPageComponents, getDisplayedAttributes, getErrorContainer, getPageContainer, getPageContent, getWizard, handleMessages, isCauseError, setDisplayedAttributesMethods 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, setWizardMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.hybris.platform.cockpit.wizards.WizardPage
getAttributes, getComponentURI, getController, getHeight, getId, getTitle, getWidth
-
Field Details
-
LIST_VIEW_CONFIG_CODE
- See Also:
-
ADVANCED_SEARCH_VIEW_CONFIG_CODE
- See Also:
-
WIZARD_ADVANCED_SEARCH_PAGE
- See Also:
-
LIST_VIEW_SELECTOR_SCLASS
- See Also:
-
-
Constructor Details
-
AdvancedSearchPage
General constructor- Parameters:
pageTitle- - page title that will be displayed when current page will be processedwizard- - parent wizard
-
-
Method Details
-
getSearchResult
-
getPageSize
public int getPageSize() -
setPageSize
public void setPageSize(int size) -
setWidth
- Parameters:
width- the width to set
-
setHeight
- Parameters:
height- the height to set
-
getTableModel
-
getRootSearchType
-
setRootSearchType
-
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
-
doSearch
protected void doSearch(ObjectTemplate objectType, AdvancedSearchParameterContainer parameterContainer, int currentPage) -
setSearchResult
-
createSearchParameterValues
protected void createSearchParameterValues(AdvancedSearchParameterContainer parameterContainer, List<SearchParameterValue> paramValues, List<List<SearchParameterValue>> orValues) -
loadAdvancedSearchView
-
initAdvanceModeModels
public void initAdvanceModeModels() -
createDefaultTableModel
-
createAdvancedTableModel
-
addPredefinedFields
-
getSearchFieldMap
protected Map<String,SearchFieldConfiguration> getSearchFieldMap(Collection<SearchFieldConfiguration> fields) -
addPredefinedValues
-
getColumnModelListener
-
storeListViewConfiguration
protected void storeListViewConfiguration() -
getBrowserModel
-
getListViewConfiguration
protected ListViewConfiguration getListViewConfiguration(ObjectTemplate objectTemplate, String code) -
getAdvancedSearchConfiguration
protected AdvancedSearchConfiguration getAdvancedSearchConfiguration(ObjectTemplate objectTemplate, String code) -
clearCurrentSearchResult
public void clearCurrentSearchResult() -
getSearchProvider
-
getUIConfigurationService
-
getTypeService
-
initView
- Specified by:
initViewin interfaceWizardPage- Overrides:
initViewin classDefaultPage
-
isAddSelectedElementsAtTop
public boolean isAddSelectedElementsAtTop()
-