public class ReferenceAdvancedSearchController extends DefaultWidgetController
| Modifier and Type | Field and Description |
|---|---|
protected static String |
ADVANCED_SEARCH_PARAM_PREFIX |
protected Widgetslot |
advancedSearch |
protected static String |
CANCEL_BUTTON |
protected static String |
COLLECTION_BROWSER_PARAM_PREFIX |
protected Widgetslot |
collectionBrowser |
protected static String |
CONTEXT |
protected static String |
LABEL_KEY_ITEMS_SELECTED |
protected static String |
LABEL_KEY_SELECT |
protected static String |
SELECT_BUTTON |
protected org.zkoss.zul.Button |
selectButton |
protected static String |
SELECTED_ITEM |
protected static String |
SELECTED_ITEMS |
protected static String |
SETTING_MULTISELECT |
protected static String |
SOCKET_INPUT_REFERENCE_SEARCH_CTX |
protected static String |
SOCKET_INPUT_RESET_SELECTION |
protected static String |
SOCKET_OUTPUT_ADVANCED_SEARCH_INIT_CTX |
protected static String |
SOCKET_OUTPUT_CANCEL |
protected static String |
SOCKET_OUTPUT_SELECTED_REFERENCES |
| Constructor and Description |
|---|
ReferenceAdvancedSearchController() |
doAfterCompose, doBeforeCompose, doBeforeComposeChildren, executeOperation, getDragAndDropStrategy, getLabel, getLabel, getModel, getValue, getWidgetDragAndDropStrategyRepository, getWidgetInstanceManager, getWidgetRoot, getWidgetSettings, getWidgetslot, getWidgetTitle, getWidgetUtils, initDragAndDropAwareness, initWidgetSetting, initWidgetSetting, initWidgetSetting, initWidgetSetting, initWidgetSetting, invokeListenerMethod, onSocketInput, preInitialize, sendOutput, sendOutputAfterOperation, sendOutputAfterOperation, sendOutputAfterOperation, setValue, setWidgetInstanceManager, setWidgetTitlescanEventListenersalert, didActivate, getPage, willClone, willPassivateprotected static final String ADVANCED_SEARCH_PARAM_PREFIX
protected static final String COLLECTION_BROWSER_PARAM_PREFIX
protected static final String LABEL_KEY_ITEMS_SELECTED
protected static final String LABEL_KEY_SELECT
protected static final String SOCKET_INPUT_REFERENCE_SEARCH_CTX
protected static final String SOCKET_INPUT_RESET_SELECTION
protected static final String SOCKET_OUTPUT_ADVANCED_SEARCH_INIT_CTX
protected static final String SOCKET_OUTPUT_SELECTED_REFERENCES
protected static final String SOCKET_OUTPUT_CANCEL
protected static final String SETTING_MULTISELECT
protected static final String SELECTED_ITEMS
protected static final String SELECTED_ITEM
protected static final String CONTEXT
protected static final String SELECT_BUTTON
protected static final String CANCEL_BUTTON
protected org.zkoss.zul.Button selectButton
protected Widgetslot advancedSearch
protected Widgetslot collectionBrowser
public void initialize(org.zkoss.zk.ui.Component comp)
DefaultWidgetControllerDefaultWidgetController.doAfterCompose(Component) everytime your widget
view is created. See GenericForwardComposer.doAfterCompose(Component) for more details.initialize in class DefaultWidgetControllerprotected void restoreWidgetState()
public void onReferenceSearchCtx(TypeAwareSelectionContext ctx)
protected void updateAdvancedSearchWidget(TypeAwareSelectionContext ctx)
protected void updateCollectionBrowserWidget(TypeAwareSelectionContext ctx)
protected boolean updateWidgetSlotSettings(Widgetslot slot, String widgetPrefix, Map<String,Object> params)
public void onSingleReferenceSelected(Object selectedItem)
public void resetSelection()
protected void updateSelectButtonState()
public void onSelectButton()
public void onCancelButton()
protected AdvancedSearchInitContext createAdvancedSearchInitCtx(TypeAwareSelectionContext ctx)
protected AdvancedSearchData buildAdvancedSearchData(String typeCode, Map<String,Object> searchConditions, AdvancedSearch advancedSearch, Map<String,Object> contextMap)
protected FieldType createFieldType(String qualifier, String operator, AdvancedSearch advancedSearch)
protected AdvancedSearch loadAdvancedSearchConfiguration(String typeCode)
protected String extractAdvancedSearchConfigComponentName()
protected boolean isMultiselect()
public CockpitConfigurationService getCockpitConfigurationService()
public TypeFacade getTypeFacade()
Copyright © 2018. All rights reserved.