Class MultiCodeCouponGeneratorInset

  • All Implemented Interfaces:
    com.hybris.cockpitng.editors.CockpitEditorRenderer<java.lang.Object>

    public class MultiCodeCouponGeneratorInset
    extends java.lang.Object
    implements com.hybris.cockpitng.editors.CockpitEditorRenderer<java.lang.Object>
    • Field Detail

      • ERROR_WRONG_PARENT_TYPE_MSG

        protected static final java.lang.String ERROR_WRONG_PARENT_TYPE_MSG
        See Also:
        Constant Field Values
      • EDITOR_PLACEHOLDER

        protected static final java.lang.String EDITOR_PLACEHOLDER
        See Also:
        Constant Field Values
      • GENERATE_BUTTON_LABEL

        protected static final java.lang.String GENERATE_BUTTON_LABEL
        See Also:
        Constant Field Values
      • UNEXPECTED_ERROR_MSG

        protected static final java.lang.String UNEXPECTED_ERROR_MSG
        See Also:
        Constant Field Values
      • ERROR_GENERATE_FOR_NOT_SAVED_MSG

        protected static final java.lang.String ERROR_GENERATE_FOR_NOT_SAVED_MSG
        See Also:
        Constant Field Values
      • PARENT_OBJECT_PARAM

        protected static final java.lang.String PARENT_OBJECT_PARAM
        See Also:
        Constant Field Values
      • CURRENT_OBJECT_PARAM

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

      • MultiCodeCouponGeneratorInset

        public MultiCodeCouponGeneratorInset()
    • Method Detail

      • render

        public void render​(org.zkoss.zk.ui.Component parent,
                           com.hybris.cockpitng.editors.EditorContext<java.lang.Object> context,
                           com.hybris.cockpitng.editors.EditorListener<java.lang.Object> listener)
        Specified by:
        render in interface com.hybris.cockpitng.editors.CockpitEditorRenderer<java.lang.Object>
      • createButtonForGenerateCouponCodes

        protected org.zkoss.zul.Button createButtonForGenerateCouponCodes​(org.zkoss.zul.Div insetContainer,
                                                                          com.hybris.cockpitng.engine.WidgetInstanceManager wim,
                                                                          MultiCodeCouponModel multiCodeCoupon,
                                                                          org.zkoss.zul.Intbox editorView)
      • setCouponCodeGenerationService

        public void setCouponCodeGenerationService​(CouponCodeGenerationService couponCodeGenerationService)
      • getModelService

        protected ModelService getModelService()
      • setModelService

        public void setModelService​(ModelService modelService)
      • getNotificationService

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

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