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
FieldsModifier and TypeFieldDescriptionprotected static final Stringprotected org.zkoss.zul.Buttonprotected org.zkoss.zul.Divprotected List<LogoSettingItem>protected static final Stringprotected static final Stringprotected static final Stringprotected org.zkoss.zul.Buttonprotected static final StringFields 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 TypeMethodDescriptionprotected voidenableSave(boolean enabled) com.hybris.cockpitng.util.notifications.NotificationServicevoidinitialize(org.zkoss.zk.ui.Component comp) voidonCancel()protected voidonLogoSaved(String logoCode, MediaModel mediaModel) voidonSave()protected voidreset()voidsetBackofficeMediaUtil(MediaUtil backofficeMediaUtil) voidsetNotificationService(com.hybris.cockpitng.util.notifications.NotificationService notificationService) voidsetUserService(UserService userService) 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, 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
-
SOCKET_OUTPUT_LOGO_CHANGED
- See Also:
-
NOTIFICATION_AREA
- See Also:
-
NOTIFICATION_TYPE_LOGO_CHANGED
- See Also:
-
SAVE_BUTTON
- See Also:
-
CANCEL_BUTTON
- See Also:
-
logoSettingItems
-
logoSettingDiv
protected org.zkoss.zul.Div logoSettingDiv -
saveButton
protected org.zkoss.zul.Button saveButton -
cancelButton
protected org.zkoss.zul.Button cancelButton
-
-
Constructor Details
-
LogoSettingController
public LogoSettingController()
-
-
Method Details
-
initialize
public void initialize(org.zkoss.zk.ui.Component comp) - Overrides:
initializein classcom.hybris.cockpitng.util.DefaultWidgetController
-
onSave
public void onSave() -
onCancel
public void onCancel() -
reset
protected void reset() -
enableSave
protected void enableSave(boolean enabled) -
onLogoSaved
-
getBackofficeMediaUtil
-
setBackofficeMediaUtil
-
getNotificationService
public com.hybris.cockpitng.util.notifications.NotificationService getNotificationService() -
setNotificationService
public void setNotificationService(com.hybris.cockpitng.util.notifications.NotificationService notificationService) -
getUserService
-
setUserService
-