Class RegisterIntegrationObjectController

  • All Implemented Interfaces:
    com.hybris.cockpitng.core.WidgetController, com.hybris.cockpitng.dnd.WidgetDragAndDropAware, com.hybris.cockpitng.engine.WidgetInstanceManagerAware, java.io.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>
    Direct Known Subclasses:
    RegisterIntegrationObjectWithBasicCredentialController, RegisterIntegrationObjectWithOAuthCredentialController

    public abstract class RegisterIntegrationObjectController
    extends com.hybris.cockpitng.util.DefaultWidgetController
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected com.hybris.cockpitng.util.notifications.NotificationService notificationService  
      protected RegisterIntegrationObjectDefaultService registerIntegrationObjectService  
      • Fields 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, spaceScope
      • Fields inherited from class org.zkoss.zk.ui.util.GenericComposer

        _applied
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      protected abstract void createExposedDestinations()  
      protected org.zkoss.zul.Listitem createListItem​(DestinationTargetModel item)  
      protected java.util.List<DestinationTargetModel> extractDestinationTargets​(org.zkoss.zul.Listbox destinationTarget)  
      protected java.lang.String getMessage​(java.lang.Throwable throwable)  
      protected abstract boolean isInputValid()  
      protected abstract void loadCredentials()  
      protected void loadDestinationTargets​(org.zkoss.zul.Listbox destinationTarget)  
      protected void registerIntegrationObject​(java.lang.String socketId)  
      • 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, setWidgetTitle
      • Methods inherited from class com.hybris.cockpitng.util.ViewAnnotationAwareComposer

        scanEventListeners
      • Methods inherited from class org.zkoss.zk.ui.util.GenericAutowireComposer

        alert, didActivate, getPage, willClone, willPassivate
      • Methods inherited from class org.zkoss.zk.ui.util.GenericComposer

        doCatch, doFinally
      • Methods inherited from class org.zkoss.zk.ui.event.GenericEventListener

        bindComponent, getController, onEvent, unbindComponent
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • notificationService

        protected transient com.hybris.cockpitng.util.notifications.NotificationService notificationService
    • Constructor Detail

      • RegisterIntegrationObjectController

        public RegisterIntegrationObjectController()
    • Method Detail

      • loadCredentials

        protected abstract void loadCredentials()
      • isInputValid

        protected abstract boolean isInputValid()
      • createExposedDestinations

        protected abstract void createExposedDestinations()
      • registerIntegrationObject

        protected void registerIntegrationObject​(java.lang.String socketId)
      • loadDestinationTargets

        protected void loadDestinationTargets​(org.zkoss.zul.Listbox destinationTarget)
      • extractDestinationTargets

        protected java.util.List<DestinationTargetModel> extractDestinationTargets​(org.zkoss.zul.Listbox destinationTarget)
      • getMessage

        protected java.lang.String getMessage​(java.lang.Throwable throwable)