@Service(value="report_ReportWizardService") public class ReportWizardServiceBean extends java.lang.Object implements ReportWizardService
NAME
Constructor and Description |
---|
ReportWizardServiceBean() |
Modifier and Type | Method and Description |
---|---|
EntityTree |
buildEntityTree(com.haulmont.chile.core.model.MetaClass metaClass) |
ReportRegion |
createReportRegionByView(EntityTree entityTree,
boolean isTabulated,
com.haulmont.cuba.core.global.View view,
java.lang.String collectionPropertyName) |
com.haulmont.cuba.core.global.View |
createViewByReportRegions(EntityTreeNode entityTreeRootNode,
java.util.List<ReportRegion> reportRegions) |
byte[] |
generateTemplate(ReportData reportData,
TemplateFileType templateFileType) |
boolean |
isEntityAllowedForReportWizard(com.haulmont.chile.core.model.MetaClass metaClass) |
boolean |
isPropertyAllowedForReportWizard(com.haulmont.chile.core.model.MetaClass metaClass,
com.haulmont.chile.core.model.MetaProperty metaProperty) |
Report |
toReport(ReportData reportData,
boolean temporary) |
public Report toReport(ReportData reportData, boolean temporary)
toReport
in interface ReportWizardService
public com.haulmont.cuba.core.global.View createViewByReportRegions(EntityTreeNode entityTreeRootNode, java.util.List<ReportRegion> reportRegions)
createViewByReportRegions
in interface ReportWizardService
public ReportRegion createReportRegionByView(EntityTree entityTree, boolean isTabulated, @Nullable com.haulmont.cuba.core.global.View view, @Nullable java.lang.String collectionPropertyName)
createReportRegionByView
in interface ReportWizardService
public boolean isEntityAllowedForReportWizard(com.haulmont.chile.core.model.MetaClass metaClass)
isEntityAllowedForReportWizard
in interface ReportWizardService
public boolean isPropertyAllowedForReportWizard(com.haulmont.chile.core.model.MetaClass metaClass, com.haulmont.chile.core.model.MetaProperty metaProperty)
isPropertyAllowedForReportWizard
in interface ReportWizardService
public byte[] generateTemplate(ReportData reportData, TemplateFileType templateFileType) throws TemplateGenerationException
generateTemplate
in interface ReportWizardService
TemplateGenerationException
public EntityTree buildEntityTree(com.haulmont.chile.core.model.MetaClass metaClass)
buildEntityTree
in interface ReportWizardService