Class CreateWebhookConfigurationModalController
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.CreateWebhookConfigurationModalController
- 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 CreateWebhookConfigurationModalController
extends com.hybris.cockpitng.util.DefaultWidgetController
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected com.hybris.cockpitng.core.events.CockpitEventQueueprotected com.hybris.cockpitng.components.Editorprotected org.zkoss.zul.Buttonprotected org.zkoss.zul.Comboboxprotected org.zkoss.zul.Comboboxprotected org.zkoss.zul.Comboboxprotected com.hybris.cockpitng.util.notifications.NotificationServiceprotected ReadServiceprotected WebhookConfigBackofficeServiceFields 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 TypeMethodDescriptionvoidreturn error message in resource bundle from exception's className.return error message title in resource bundle from exception's className.voidvoidvoidloadCreateWebhookConfigurationModal(String openModal) protected voidshowErrorMessageBox(String msgKey, String titleKey) Methods 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
-
readService
-
webhookConfigBackofficeService
-
cockpitEventQueue
protected transient com.hybris.cockpitng.core.events.CockpitEventQueue cockpitEventQueue -
notificationService
protected transient com.hybris.cockpitng.util.notifications.NotificationService notificationService -
integrationObjectComboBox
protected org.zkoss.zul.Combobox integrationObjectComboBox -
consumedDestinationEditor
protected com.hybris.cockpitng.components.Editor consumedDestinationEditor -
filterLocationComboBox
protected org.zkoss.zul.Combobox filterLocationComboBox -
eventTypesComboBox
protected org.zkoss.zul.Combobox eventTypesComboBox -
createButton
protected org.zkoss.zul.Button createButton
-
-
Constructor Details
-
CreateWebhookConfigurationModalController
public CreateWebhookConfigurationModalController()
-
-
Method Details
-
loadCreateWebhookConfigurationModal
-
integrationObjectComboBoxOnChange
public void integrationObjectComboBoxOnChange() -
consumedDestinationEditorOnChange
public void consumedDestinationEditorOnChange() -
createWebhookConfiguration
public void createWebhookConfiguration() -
convertExceptionToResourceMsg
return error message in resource bundle from exception's className.- Parameters:
exception- An exception, subclass of InterceptionException includingWebhookConfigEventNotSupportedExceptionWebhookConfigNoEventTypeExceptionWebhookConfigNoEventConfigExceptionWebhookConfigNotRegisteredEventExceptionWebhookConfigNotValidLocationException- Returns:
- error message
-
convertExceptionToResourceTitle
return error message title in resource bundle from exception's className.- Parameters:
exception- An exception, subclass of InterceptionException includingWebhookConfigEventNotSupportedExceptionWebhookConfigNoEventTypeExceptionWebhookConfigNoEventConfigExceptionWebhookConfigNotRegisteredEventExceptionWebhookConfigNotValidLocationException- Returns:
- error message title
-
showErrorMessageBox
-