public interface ReportingApi
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME |
Modifier and Type | Method and Description |
---|---|
com.haulmont.yarg.reporting.ReportOutputDocument |
bulkPrint(Report report,
java.util.List<java.util.Map<java.lang.String,java.lang.Object>> paramsList) |
com.haulmont.yarg.reporting.ReportOutputDocument |
bulkPrint(Report report,
java.lang.String templateCode,
ReportOutputType outputType,
java.util.List<java.util.Map<java.lang.String,java.lang.Object>> paramsList) |
void |
cancelReportExecution(java.util.UUID userSessionId,
java.util.UUID reportId)
Cancel report execution
|
Report |
convertToReport(java.lang.String xml) |
java.lang.String |
convertToString(Report report) |
Report |
copyReport(Report source) |
com.haulmont.cuba.core.entity.FileDescriptor |
createAndSaveReport(Report report,
java.util.Map<java.lang.String,java.lang.Object> params,
java.lang.String fileName) |
com.haulmont.cuba.core.entity.FileDescriptor |
createAndSaveReport(Report report,
ReportTemplate template,
java.util.Map<java.lang.String,java.lang.Object> params,
java.lang.String fileName) |
com.haulmont.cuba.core.entity.FileDescriptor |
createAndSaveReport(Report report,
java.lang.String templateCode,
java.util.Map<java.lang.String,java.lang.Object> params,
java.lang.String fileName) |
com.haulmont.yarg.reporting.ReportOutputDocument |
createReport(Report report,
java.util.Map<java.lang.String,java.lang.Object> params) |
com.haulmont.yarg.reporting.ReportOutputDocument |
createReport(Report report,
java.util.Map<java.lang.String,java.lang.Object> params,
ReportOutputType outputType) |
com.haulmont.yarg.reporting.ReportOutputDocument |
createReport(Report report,
ReportTemplate template,
java.util.Map<java.lang.String,java.lang.Object> params) |
com.haulmont.yarg.reporting.ReportOutputDocument |
createReport(Report report,
java.lang.String templateCode,
java.util.Map<java.lang.String,java.lang.Object> params) |
com.haulmont.yarg.reporting.ReportOutputDocument |
createReport(Report report,
java.lang.String templateCode,
java.util.Map<java.lang.String,java.lang.Object> params,
ReportOutputType outputType) |
java.util.Date |
currentDateOrTime(ParameterType parameterType)
Get current date
Date according to ParameterType value |
byte[] |
exportReports(java.util.Collection<Report> reports) |
com.haulmont.chile.core.model.MetaClass |
findMetaClassByDataSetEntityAlias(java.lang.String alias,
DataSetType dataSetType,
java.util.List<ReportInputParameter> reportInputParameters) |
java.lang.String |
generateReportName(java.lang.String sourceName) |
java.util.Collection<Report> |
importReports(byte[] zipBytes) |
java.util.Collection<Report> |
importReports(byte[] zipBytes,
java.util.EnumSet<ReportImportOption> importOptions) |
ReportImportResult |
importReportsWithResult(byte[] zipBytes,
java.util.EnumSet<ReportImportOption> importOptions) |
java.util.List |
loadDataForParameterPrototype(ParameterPrototype prototype) |
<T extends com.haulmont.cuba.core.entity.Entity> |
reloadEntity(T entity,
com.haulmont.cuba.core.global.View view) |
Report |
storeReportEntity(Report report) |
static final java.lang.String NAME
com.haulmont.yarg.reporting.ReportOutputDocument createReport(Report report, java.util.Map<java.lang.String,java.lang.Object> params)
com.haulmont.yarg.reporting.ReportOutputDocument createReport(Report report, java.util.Map<java.lang.String,java.lang.Object> params, ReportOutputType outputType)
com.haulmont.yarg.reporting.ReportOutputDocument createReport(Report report, java.lang.String templateCode, java.util.Map<java.lang.String,java.lang.Object> params)
com.haulmont.yarg.reporting.ReportOutputDocument createReport(Report report, java.lang.String templateCode, java.util.Map<java.lang.String,java.lang.Object> params, ReportOutputType outputType)
com.haulmont.yarg.reporting.ReportOutputDocument createReport(Report report, ReportTemplate template, java.util.Map<java.lang.String,java.lang.Object> params)
com.haulmont.cuba.core.entity.FileDescriptor createAndSaveReport(Report report, java.util.Map<java.lang.String,java.lang.Object> params, java.lang.String fileName)
com.haulmont.cuba.core.entity.FileDescriptor createAndSaveReport(Report report, java.lang.String templateCode, java.util.Map<java.lang.String,java.lang.Object> params, java.lang.String fileName)
com.haulmont.cuba.core.entity.FileDescriptor createAndSaveReport(Report report, ReportTemplate template, java.util.Map<java.lang.String,java.lang.Object> params, java.lang.String fileName)
byte[] exportReports(java.util.Collection<Report> reports)
java.util.Collection<Report> importReports(byte[] zipBytes)
java.util.Collection<Report> importReports(byte[] zipBytes, java.util.EnumSet<ReportImportOption> importOptions)
ReportImportResult importReportsWithResult(byte[] zipBytes, java.util.EnumSet<ReportImportOption> importOptions)
java.lang.String convertToString(Report report)
Report convertToReport(java.lang.String xml)
com.haulmont.yarg.reporting.ReportOutputDocument bulkPrint(Report report, java.util.List<java.util.Map<java.lang.String,java.lang.Object>> paramsList)
com.haulmont.yarg.reporting.ReportOutputDocument bulkPrint(Report report, java.lang.String templateCode, ReportOutputType outputType, java.util.List<java.util.Map<java.lang.String,java.lang.Object>> paramsList)
<T extends com.haulmont.cuba.core.entity.Entity> T reloadEntity(T entity, com.haulmont.cuba.core.global.View view)
com.haulmont.chile.core.model.MetaClass findMetaClassByDataSetEntityAlias(java.lang.String alias, DataSetType dataSetType, java.util.List<ReportInputParameter> reportInputParameters)
java.lang.String generateReportName(java.lang.String sourceName)
java.util.List loadDataForParameterPrototype(ParameterPrototype prototype)
void cancelReportExecution(java.util.UUID userSessionId, java.util.UUID reportId)
userSessionId
- - user session that started report executionreportId
- - identifier of executed reportjava.util.Date currentDateOrTime(ParameterType parameterType)
Date
according to ParameterType
valueparameterType
- - ParameterType value.