Class WebhookConsumedDestinationEditor

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

public class WebhookConsumedDestinationEditor extends com.hybris.cockpitng.editor.defaultreferenceeditor.DefaultReferenceEditor<ConsumedDestinationModel>
Custom WebhookConfiguration ConsumedDestination Editor.
  • 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
    Update the references list to show only consumed destinations that are assigned to destination targets with WEBHOOKSERVICES destination channels.

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

    addSelectedObject, forwardEditorEvent, getRegexEditorPattern, isEditable, readTypeCode, refreshObjects, removeSelectedObject, render, 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

    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

    • WebhookConsumedDestinationEditor

      public WebhookConsumedDestinationEditor()
  • Method Details

    • updateReferencesListBoxModel

      public void updateReferencesListBoxModel()
      Update the references list to show only consumed destinations that are assigned to destination targets with WEBHOOKSERVICES destination channels.
      Specified by:
      updateReferencesListBoxModel in interface com.hybris.cockpitng.editor.commonreferenceeditor.ReferenceEditorLogic<ConsumedDestinationModel>
      Overrides:
      updateReferencesListBoxModel in class com.hybris.cockpitng.editor.commonreferenceeditor.AbstractReferenceEditor<ConsumedDestinationModel,ConsumedDestinationModel>