Class CreateAuditReportParams
- java.lang.Object
-
- de.hybris.platform.auditreport.service.CreateAuditReportParams
-
public class CreateAuditReportParams extends java.lang.ObjectParameter object to pass all data necessary to create audit report instance.
-
-
Constructor Summary
Constructors Constructor Description CreateAuditReportParams(ItemModel rootItem, java.lang.String configName, java.lang.String reportId, boolean audit, java.util.Collection<LanguageModel> includedLanguages, AuditReportTemplateModel template)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetConfigName()java.util.Collection<LanguageModel>getIncludedLanguages()java.lang.StringgetReportId()ItemModelgetRootItem()AuditReportTemplateModelgetTemplate()booleanisAudit()
-
-
-
Constructor Detail
-
CreateAuditReportParams
public CreateAuditReportParams(ItemModel rootItem, java.lang.String configName, java.lang.String reportId, boolean audit, java.util.Collection<LanguageModel> includedLanguages, AuditReportTemplateModel template)
- Parameters:
rootItem- the rootItem for which report will be generated.configName- the configuration name used to create a new report.reportId- the new report identifier.audit- if set to true the generated report will contain audit data. Otherwise data snapshot will be taken.includedLanguages- all mentioned languages will be included in the report. Other languages will be omitted. In case no language is set all available languages will be exported.template- template used to generate the report view.
-
-
Method Detail
-
getRootItem
public ItemModel getRootItem()
-
getConfigName
public java.lang.String getConfigName()
-
getReportId
public java.lang.String getReportId()
-
isAudit
public boolean isAudit()
-
getIncludedLanguages
public java.util.Collection<LanguageModel> getIncludedLanguages()
-
getTemplate
public AuditReportTemplateModel getTemplate()
-
-