java.lang.Object
com.hybris.cockpitng.engine.impl.AbstractComponentWidgetAdapterAware
com.hybris.cockpitng.editor.commonreferenceeditor.AbstractReferenceEditor<T,T>
com.hybris.cockpitng.editor.defaultreferenceeditor.DefaultReferenceEditor<T>
de.hybris.platform.adaptivesearchbackoffice.editors.boostitemreference.BoostItemReferenceEditor<T>
All Implemented Interfaces:
com.hybris.cockpitng.editor.commonreferenceeditor.ReferenceEditorLogic<T>, com.hybris.cockpitng.editors.CockpitEditorRenderer<T>, com.hybris.cockpitng.engine.ComponentWidgetAdapterAware

public class BoostItemReferenceEditor<T> extends com.hybris.cockpitng.editor.defaultreferenceeditor.DefaultReferenceEditor<T>
  • Field Summary

    Fields inherited from class com.hybris.cockpitng.editor.commonreferenceeditor.AbstractReferenceEditor

    editorLayout, pageable, pageSize, PARAM_AVAILABLE_VALUES_PROVIDER, PARAM_CREATE_ONLY, PARAM_DISABLE_DISPLAYING_DETAILS, PARAM_DISABLE_REMOVE_REFERENCE, PARAM_LABEL_PROVIDER_BEAN, PARAM_NESTED_CREATION_DISABLED, PARAM_PAGE_SIZE, PARAM_PLACEHOLDER_KEY, PARAM_REDIRECT_REFERENCE_SELECTED_SOCKET_ID, PARAM_REFERENCE_ADVANCED_SEARCH_ENABLED, PARAM_RESTRICT_TO_TYPE, PARAM_WHITELISTED_TYPES, PARENT_OBJECT, renderOnDemandSize, selectedItemsMaxSize, SOCKET_IN_REFERENCE_EDITOR, SOCKET_OUT_REFERENCE_EDITOR, SOCKET_OUT_REFERENCE_SEARCH_CTX, SOCKET_OUT_REFRENCE_SELECTED, TYPE_CODE

    Fields inherited from interface com.hybris.cockpitng.editors.CockpitEditorRenderer

    INITIAL_EDIT_STRING
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    populateContextWithPKCondition(com.hybris.cockpitng.editors.EditorContext<T> context, AbstractAsConfigurableSearchConfigurationModel searchConfiguration)
     
    void
    render(org.zkoss.zk.ui.Component parent, com.hybris.cockpitng.editors.EditorContext<T> context, com.hybris.cockpitng.editors.EditorListener<T> listener)
     
    protected List<PK>
     

    Methods inherited from class com.hybris.cockpitng.editor.defaultreferenceeditor.DefaultReferenceEditor

    addSelectedObject, forwardEditorEvent, getRegexEditorPattern, isEditable, readTypeCode, refreshObjects, removeSelectedObject, setEditorParameters, setInitialValue

    Methods inherited from class com.hybris.cockpitng.editor.commonreferenceeditor.AbstractReferenceEditor

    allowNestedObjectCreation, createInputSocketEventListener, createNewReference, createNewReference, createReferenceLayout, extractPageSize, findAncestorEditor, getCockpitConfigurationService, getCockpitUserService, getCustomValuesProviderBeanId, getEditorContext, getEditorLayout, getEditorListener, getLabelProvider, getLabelProviderBeanName, getLabelService, getObjectFacade, getPageable, getParentEditor, getParentObject, getPermissionFacade, getPlaceholderKey, getPropertyValueService, getRedirectReferenceSelectedToParentWidget, getReferenceEditorSearchConditionHandler, getReferenceEditorSearchFacade, getReferenceSearchConditions, getReferenceSearchContextMap, getStringRepresentationOfObject, getSuccessNotificationId, getTypeCode, getTypeFacade, isDisableDisplayingDetails, isDisableRemoveReference, isOnlyCreateMode, isReferenceAdvancedSearchEnabled, loadBaseConfiguration, loadBaseConfiguration, loadSimpleSearchConfiguration, openReferenceAdvancedSearch, preserveFocus, resolveTypeToCreate, restrictTypeCode, setCommonEditorParameters, setCreateOnly, setEditorContext, setEditorLayout, setEditorListener, setLabelProviderBeanName, setNestedObjectCreationDisabled, setPageSize, setParentEditor, setParentObject, setReferenceSearchConditions, setRenderOnDemandSize, setSelectedItemsMaxSize, setSuccessNotificationId, setTypeCode, triggerReferenceSelected, updateReferencesListBoxModel, updateReferencesListBoxModel

    Methods inherited from class com.hybris.cockpitng.engine.impl.AbstractComponentWidgetAdapterAware

    addSocketInputEventListener, getComponentID, handleSocketInputEvent, initialize, initializeDefaultEventListeners, registerStubInstance, sendOutput, setComponentID, unregisterStubInstance

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • BoostItemReferenceEditor

      public BoostItemReferenceEditor()
  • Method Details

    • render

      public void render(org.zkoss.zk.ui.Component parent, com.hybris.cockpitng.editors.EditorContext<T> context, com.hybris.cockpitng.editors.EditorListener<T> listener)
      Specified by:
      render in interface com.hybris.cockpitng.editors.CockpitEditorRenderer<T>
      Overrides:
      render in class com.hybris.cockpitng.editor.defaultreferenceeditor.DefaultReferenceEditor<T>
    • populateContextWithPKCondition

      protected void populateContextWithPKCondition(com.hybris.cockpitng.editors.EditorContext<T> context, AbstractAsConfigurableSearchConfigurationModel searchConfiguration)
    • resolveConditionValue

      protected List<PK> resolveConditionValue(AbstractAsConfigurableSearchConfigurationModel searchConfiguration)