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 java.lang.Object implements com.hybris.cockpitng.widgets.configurableflow.FlowActionHandlerWizard handler responsible for executing cron job which will create audit report.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringMODEL_WIZARD_DATA
-
Constructor Summary
Constructors Constructor Description CreateAuditReportWizardHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected CronJobModelcreateCronJobModel(AuditReportWizardData wizardData)CreatesCronJobModelwhich will be executed.CommonI18NServicegetCommonI18NService()java.lang.StringgetCronJobPerformableSpringId()CronJobServicegetCronJobService()KeyGeneratorgetKeyGenerator()ModelServicegetModelService()protected com.hybris.backoffice.widgets.notificationarea.NotificationServicegetNotificationService()UserServicegetUserService()protected voidnotifyUserGenerationInvoked(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 theNotificationService.notifyUser(String , String, NotificationEvent.Level, Object...)instead.voidperform(com.hybris.cockpitng.config.jaxb.wizard.CustomType customType, com.hybris.cockpitng.widgets.configurableflow.FlowActionHandlerAdapter adapter, java.util.Map<java.lang.String,java.lang.String> parameters)voidsetCommonI18NService(CommonI18NService commonI18NService)voidsetCronJobPerformableSpringId(java.lang.String cronJobPerformableSpringId)voidsetCronJobService(CronJobService cronJobService)voidsetKeyGenerator(KeyGenerator keyGenerator)voidsetModelService(ModelService modelService)voidsetNotificationService(com.hybris.backoffice.widgets.notificationarea.NotificationService notificationService)voidsetUserService(UserService userService)
-
-
-
Field Detail
-
MODEL_WIZARD_DATA
public static final java.lang.String MODEL_WIZARD_DATA
- See Also:
- Constant Field Values
-
-
Method Detail
-
perform
public void perform(com.hybris.cockpitng.config.jaxb.wizard.CustomType customType, com.hybris.cockpitng.widgets.configurableflow.FlowActionHandlerAdapter adapter, java.util.Map<java.lang.String,java.lang.String> parameters)- Specified by:
performin interfacecom.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 theNotificationService.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)
CreatesCronJobModelwhich 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 java.lang.String getCronJobPerformableSpringId()
-
setCronJobPerformableSpringId
public void setCronJobPerformableSpringId(java.lang.String cronJobPerformableSpringId)
-
getNotificationService
protected com.hybris.backoffice.widgets.notificationarea.NotificationService getNotificationService()
-
setNotificationService
public void setNotificationService(com.hybris.backoffice.widgets.notificationarea.NotificationService notificationService)
-
-