Class PasswordSettingController

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.userprofile.passwordsetting.PasswordSettingController
All Implemented Interfaces:
MDDetailLogic, 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 PasswordSettingController extends com.hybris.cockpitng.util.DefaultWidgetController implements MDDetailLogic
See Also:
  • Field Details

  • Constructor Details

    • PasswordSettingController

      public PasswordSettingController()
  • Method Details

    • preInitialize

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

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

      protected boolean isChangePasswordEnabled()
    • isDataChanged

      public boolean isDataChanged()
      Description copied from interface: MDDetailLogic
      Check if data changed in detail view
      Specified by:
      isDataChanged in interface MDDetailLogic
      Returns:
      true if data changed or false if not
    • needRefreshUI

      public boolean needRefreshUI()
      Description copied from interface: MDDetailLogic
      Check if need to refresh UI after save
      Specified by:
      needRefreshUI in interface MDDetailLogic
      Returns:
      true if need to refresh UI after save or false if not
    • save

      public boolean save()
      Description copied from interface: MDDetailLogic
      Perform save operation
      Specified by:
      save in interface MDDetailLogic
      Returns:
      true if save success, false if save failure
    • reset

      public void reset()
      Description copied from interface: MDDetailLogic
      Resets the detail view to the initial state
      Specified by:
      reset in interface MDDetailLogic
    • getSettingItem

      public SettingItem getSettingItem()
      Description copied from interface: MDDetailLogic
      Returns the setting item data of this detail view
      Specified by:
      getSettingItem in interface MDDetailLogic
      Returns:
      a SettingItem data of detail view
    • setNotificationService

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

      protected com.hybris.cockpitng.util.notifications.NotificationService getNotificationService()
    • setChangePasswordRendererUtil

      public void setChangePasswordRendererUtil(ChangePasswordRendererUtil changePasswordRendererUtil)
    • getChangePasswordRendererUtil

      protected ChangePasswordRendererUtil getChangePasswordRendererUtil()
    • setUserService

      public void setUserService(UserService userService)
    • getUserService

      protected UserService getUserService()
    • setModelService

      public void setModelService(ModelService modelService)
    • getModelService

      protected ModelService getModelService()
    • setUserProfileSettingService

      public void setUserProfileSettingService(MasterDetailService userProfileSettingService)
    • getUserProfileSettingService

      protected MasterDetailService getUserProfileSettingService()
    • setOldInput

      public void setOldInput(org.zkoss.zul.Textbox oldInput)
    • getOldInput

      protected org.zkoss.zul.Textbox getOldInput()
    • setPwdInput

      public void setPwdInput(org.zkoss.zul.Textbox pwdInput)
    • getPwdInput

      protected org.zkoss.zul.Textbox getPwdInput()
    • setConfInput

      public void setConfInput(org.zkoss.zul.Textbox confInput)
    • getConfInput

      protected org.zkoss.zul.Textbox getConfInput()