Class AccountSettingsController

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

    public class AccountSettingsController
    extends com.hybris.cockpitng.util.DefaultWidgetController
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected boolean isChangePasswordEnabled()  
      void onOpenAccountSettingsButton()  
      void preInitialize​(org.zkoss.zk.ui.Component comp)  
      • 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, 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

      • ENABLE_CHANGE_PASSWORD_PROPERTY

        protected static final java.lang.String ENABLE_CHANGE_PASSWORD_PROPERTY
        See Also:
        Constant Field Values
      • COMP_ID_ACCOUNT_SETTINGS_BUTTON

        protected static final java.lang.String COMP_ID_ACCOUNT_SETTINGS_BUTTON
        See Also:
        Constant Field Values
      • SOCKET_ACCOUNT_SETTINGS_OUTPUT

        protected static final java.lang.String SOCKET_ACCOUNT_SETTINGS_OUTPUT
        See Also:
        Constant Field Values
      • CONTEXT_COMPONENT_CHANGE_PASSWORD

        protected static final java.lang.String CONTEXT_COMPONENT_CHANGE_PASSWORD
        See Also:
        Constant Field Values
      • CONTEXT_TYPE_CODE

        protected static final java.lang.String CONTEXT_TYPE_CODE
        See Also:
        Constant Field Values
      • ENABLE_CHANGE_PASSWORD_SETTING

        protected static final java.lang.String ENABLE_CHANGE_PASSWORD_SETTING
        See Also:
        Constant Field Values
    • Constructor Detail

      • AccountSettingsController

        public AccountSettingsController()
    • Method Detail

      • preInitialize

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

        public void onOpenAccountSettingsButton()
      • isChangePasswordEnabled

        protected boolean isChangePasswordEnabled()