Class LogoSettingController

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
com.hybris.backoffice.widgets.branding.logosetting.LogoSettingController
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 LogoSettingController extends com.hybris.cockpitng.util.DefaultWidgetController
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected static final String
     
    protected org.zkoss.zul.Button
     
    protected org.zkoss.zul.Div
     
     
    protected static final String
     
    protected static final String
     
    protected static final String
     
    protected org.zkoss.zul.Button
     
    protected static final String
     

    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
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    enableSave(boolean enabled)
     
     
    com.hybris.cockpitng.util.notifications.NotificationService
     
     
    void
    initialize(org.zkoss.zk.ui.Component comp)
     
    void
     
    protected void
    onLogoSaved(String logoCode, MediaModel mediaModel)
     
    void
     
    protected void
     
    void
    setBackofficeMediaUtil(MediaUtil backofficeMediaUtil)
     
    void
    setNotificationService(com.hybris.cockpitng.util.notifications.NotificationService notificationService)
     
    void
     

    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, 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 Details

  • Constructor Details

    • LogoSettingController

      public LogoSettingController()
  • Method Details

    • initialize

      public void initialize(org.zkoss.zk.ui.Component comp)
      Overrides:
      initialize in class com.hybris.cockpitng.util.DefaultWidgetController
    • onSave

      public void onSave()
    • onCancel

      public void onCancel()
    • reset

      protected void reset()
    • enableSave

      protected void enableSave(boolean enabled)
    • onLogoSaved

      protected void onLogoSaved(String logoCode, MediaModel mediaModel)
    • getBackofficeMediaUtil

      public MediaUtil getBackofficeMediaUtil()
    • setBackofficeMediaUtil

      public void setBackofficeMediaUtil(MediaUtil backofficeMediaUtil)
    • getNotificationService

      public com.hybris.cockpitng.util.notifications.NotificationService getNotificationService()
    • setNotificationService

      public void setNotificationService(com.hybris.cockpitng.util.notifications.NotificationService notificationService)
    • getUserService

      public UserService getUserService()
    • setUserService

      public void setUserService(UserService userService)