Class WebhookDestinationTargetEditor

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

public class WebhookDestinationTargetEditor extends com.hybris.cockpitng.editor.defaultreferenceeditor.DefaultReferenceEditor<DestinationTargetModel>
Reference editor for DestinationTargetModel when creating webhooks.
  • 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
    void
    render(org.zkoss.zk.ui.Component parent, com.hybris.cockpitng.editors.EditorContext<DestinationTargetModel> context, com.hybris.cockpitng.editors.EditorListener<DestinationTargetModel> listener)
    Extends the behavior of the EditorListener with WebhookDestinationTargetEditor.
    protected void
    setInitialValue(com.hybris.cockpitng.editors.EditorContext<DestinationTargetModel> context)
    Sets the initial value of the editor to the "webhookServices" destination target.

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

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

    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

    • WebhookDestinationTargetEditor

      public WebhookDestinationTargetEditor()
  • Method Details

    • render

      public void render(org.zkoss.zk.ui.Component parent, com.hybris.cockpitng.editors.EditorContext<DestinationTargetModel> context, com.hybris.cockpitng.editors.EditorListener<DestinationTargetModel> listener)
      Extends the behavior of the EditorListener with WebhookDestinationTargetEditor.
      Specified by:
      render in interface com.hybris.cockpitng.editors.CockpitEditorRenderer<DestinationTargetModel>
      Overrides:
      render in class com.hybris.cockpitng.editor.defaultreferenceeditor.DefaultReferenceEditor<DestinationTargetModel>
      Parameters:
      parent - parent component.
      context - the editor context.
      listener - the editor listener.
    • setInitialValue

      protected void setInitialValue(com.hybris.cockpitng.editors.EditorContext<DestinationTargetModel> context)
      Sets the initial value of the editor to the "webhookServices" destination target.
      Overrides:
      setInitialValue in class com.hybris.cockpitng.editor.defaultreferenceeditor.DefaultReferenceEditor<DestinationTargetModel>
      Parameters:
      context - the editor context.