Class PingWebhookConfigModalController
java.lang.Object
org.zkoss.zk.ui.event.GenericEventListener
org.zkoss.zk.ui.util.GenericComposer<T>
org.zkoss.zk.ui.util.GenericAutowireComposer<T>
org.zkoss.zk.ui.util.GenericForwardComposer<org.zkoss.zk.ui.Component>
com.hybris.cockpitng.util.ViewAnnotationAwareComposer
com.hybris.cockpitng.util.DefaultWidgetController
de.hybris.platform.webhookbackoffice.widgets.modals.controllers.PingWebhookConfigModalController
- All Implemented Interfaces:
com.hybris.cockpitng.core.WidgetController,com.hybris.cockpitng.dnd.WidgetDragAndDropAware,com.hybris.cockpitng.engine.WidgetInstanceManagerAware,Serializable,org.zkoss.zk.ui.event.EventListener,org.zkoss.zk.ui.event.SerializableEventListener,org.zkoss.zk.ui.util.ComponentActivationListener,org.zkoss.zk.ui.util.ComponentCloneListener,org.zkoss.zk.ui.util.Composer<org.zkoss.zk.ui.Component>,org.zkoss.zk.ui.util.ComposerExt<org.zkoss.zk.ui.Component>
public class PingWebhookConfigModalController
extends com.hybris.cockpitng.util.DefaultWidgetController
Controller to load mocked JSON and send to destination.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected WebhookFilterServiceprotected WebhookValidationServiceprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected com.hybris.cockpitng.components.Editorprotected com.hybris.cockpitng.util.notifications.NotificationServiceprotected IntegrationObjectJsonGeneratorprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected org.zkoss.zul.Tabprotected org.zkoss.zul.Textboxprotected org.zkoss.zul.Tabprotected org.zkoss.zul.Textboxprotected org.zkoss.zul.Textboxprotected org.zkoss.zul.Tabboxprotected org.zkoss.zul.Buttonprotected WebhookConfigurationModelFields inherited from class org.zkoss.zk.ui.util.GenericAutowireComposer
_separator, application, applicationScope, arg, componentScope, desktop, desktopScope, execution, page, pageScope, param, requestScope, self, session, sessionScope, spaceOwner, spaceScopeFields inherited from class org.zkoss.zk.ui.util.GenericComposer
_applied -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringgetFallbackMessage(int statusCode) voidloadTestWebhookConfigurationModal(WebhookConfigurationModel webhookConfigurationModel) voidMethods inherited from class com.hybris.cockpitng.util.DefaultWidgetController
doAfterCompose, doBeforeCompose, doBeforeComposeChildren, executeOperation, getDragAndDropStrategy, getLabel, getLabel, getModel, getValue, getWidgetDragAndDropStrategyRepository, getWidgetInstanceManager, getWidgetRoot, getWidgetSettings, getWidgetslot, getWidgetTitle, getWidgetUtils, initDragAndDropAwareness, initialize, initWidgetSetting, initWidgetSetting, initWidgetSetting, initWidgetSetting, initWidgetSetting, invokeListenerMethod, onSocketInput, preInitialize, sendOutput, sendOutputAfterOperation, sendOutputAfterOperation, sendOutputAfterOperation, setValue, setWidgetInstanceManager, setWidgetTitleMethods inherited from class com.hybris.cockpitng.util.ViewAnnotationAwareComposer
scanEventListenersMethods inherited from class org.zkoss.zk.ui.util.GenericAutowireComposer
alert, didActivate, getPage, willClone, willPassivateMethods inherited from class org.zkoss.zk.ui.util.GenericComposer
doCatch, doFinallyMethods inherited from class org.zkoss.zk.ui.event.GenericEventListener
bindComponent, getController, onEvent, unbindComponent
-
Field Details
-
WEBHOOK_CONFIG_PARAM
- See Also:
-
WEBHOOK_SEND_BUTTON
- See Also:
-
PING_WEBHOOK_CONFIG_SUCCESS
- See Also:
-
PING_WEBHOOK_CONFIG_FAILURE
- See Also:
-
SELECT_ENTITY_ERROR
- See Also:
-
ITEM_FILTERED_OUT_WARNING
- See Also:
-
REFERENCE
- See Also:
-
ERROR_400
- See Also:
-
ERROR_401
- See Also:
-
ERROR_403
- See Also:
-
ERROR_404
- See Also:
-
ERROR_405
- See Also:
-
ERROR_500
- See Also:
-
ERROR_503
- See Also:
-
ERROR_DEFAULT
- See Also:
-
ERROR_SOCKET_TIME_OUT
- See Also:
-
ERROR_EMPTY_PAYLOAD
- See Also:
-
HTTP_ERROR_CODE_MAP
-
outboundIntegrationObjectJsonGenerator
-
defaultWebhookValidationService
-
notificationService
protected transient com.hybris.cockpitng.util.notifications.NotificationService notificationService -
defaultWebhookFilterService
-
webhookbackofficeJsonTextBox
protected org.zkoss.zul.Textbox webhookbackofficeJsonTextBox -
webhookbackofficeJsonTextDestinationPathBox
protected org.zkoss.zul.Textbox webhookbackofficeJsonTextDestinationPathBox -
webhookbackofficeIODestinationPathBox
protected org.zkoss.zul.Textbox webhookbackofficeIODestinationPathBox -
webhookbackofficeMockedJsonSendButton
protected org.zkoss.zul.Button webhookbackofficeMockedJsonSendButton -
itemModelInstanceEditor
protected com.hybris.cockpitng.components.Editor itemModelInstanceEditor -
webhookbackofficeMetadataTabbox
protected org.zkoss.zul.Tabbox webhookbackofficeMetadataTabbox -
webhookbackofficeJsonTab
protected org.zkoss.zul.Tab webhookbackofficeJsonTab -
webhookbackofficeIntegrationObjectInstanceTab
protected org.zkoss.zul.Tab webhookbackofficeIntegrationObjectInstanceTab -
webhookConfiguration
-
-
Constructor Details
-
PingWebhookConfigModalController
public PingWebhookConfigModalController()
-
-
Method Details
-
loadTestWebhookConfigurationModal
-
sendWebhookPayload
public void sendWebhookPayload() -
getFallbackMessage
-