Class CreateAuditReportWizardHandler

java.lang.Object
com.hybris.backoffice.widgets.actions.audit.CreateAuditReportWizardHandler
All Implemented Interfaces:
com.hybris.cockpitng.widgets.configurableflow.FlowActionHandler

public class CreateAuditReportWizardHandler extends Object implements com.hybris.cockpitng.widgets.configurableflow.FlowActionHandler
Wizard handler responsible for executing cron job which will create audit report.
  • Field Details

  • Constructor Details

    • CreateAuditReportWizardHandler

      public CreateAuditReportWizardHandler()
  • Method Details

    • perform

      public void perform(com.hybris.cockpitng.config.jaxb.wizard.CustomType customType, com.hybris.cockpitng.widgets.configurableflow.FlowActionHandlerAdapter adapter, Map<String,String> parameters)
      Specified by:
      perform in interface com.hybris.cockpitng.widgets.configurableflow.FlowActionHandler
    • notifyUserGenerationInvoked

      @Deprecated(since="6.7", forRemoval=true) protected void notifyUserGenerationInvoked(com.hybris.cockpitng.engine.WidgetInstanceManager wim, com.hybris.backoffice.widgets.notificationarea.event.NotificationEvent.Level level)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 6.7, use the NotificationService.notifyUser(String, String, NotificationEvent.Level, Object...) instead.
      Invokes notification containing information about the triggered process of report generation.
      Parameters:
      wim - widget instance manager.
      level - notification level.
    • createCronJobModel

      protected CronJobModel createCronJobModel(AuditReportWizardData wizardData)
      Creates CronJobModel which will be executed.
      Parameters:
      wizardData - the wizard's data.
      Returns:
      the instance of CronJobModel.
    • getModelService

      public ModelService getModelService()
    • setModelService

      public void setModelService(ModelService modelService)
    • getKeyGenerator

      public KeyGenerator getKeyGenerator()
    • setKeyGenerator

      public void setKeyGenerator(KeyGenerator keyGenerator)
    • getUserService

      public UserService getUserService()
    • setUserService

      public void setUserService(UserService userService)
    • getCommonI18NService

      public CommonI18NService getCommonI18NService()
    • setCommonI18NService

      public void setCommonI18NService(CommonI18NService commonI18NService)
    • getCronJobService

      public CronJobService getCronJobService()
    • setCronJobService

      public void setCronJobService(CronJobService cronJobService)
    • getCronJobPerformableSpringId

      public String getCronJobPerformableSpringId()
    • setCronJobPerformableSpringId

      public void setCronJobPerformableSpringId(String cronJobPerformableSpringId)
    • getNotificationService

      protected com.hybris.backoffice.widgets.notificationarea.NotificationService getNotificationService()
    • setNotificationService

      public void setNotificationService(com.hybris.backoffice.widgets.notificationarea.NotificationService notificationService)