Create document from report.
Create document from report. Send message to server with serialized report specification. Server will return template populated with found data.
DSL example:
module Todo { report LoadData { List<Task> unfinishedTasks 'it => it.finishedAt == null' ORDER BY createdAt; templater createDocument 'Tasks.docx' pdf; } }
report specification
templater name
future to document content
Populate template using found domain object.
Populate template using found domain object. Optionally convert document to PDF.
template file
domain object identity
convert populated document to PDF
future to populated document
Get aggregate root history.
Get aggregate root history.
History History
is collection of snapshots made at state changes.
collection of aggregate identities
future to collection of found aggregate histories
Perform data analysis on specified data source.
Perform data analysis on specified data source. Data source is filtered using provided specification. Analysis is performed by grouping data by dimensions and aggregating information using specified facts.
templater report
filter data source
group by dimensions
analyze using facts
maximum number of results
skip initial results
custom order for result
future to document content
Populate report.
Populate report. Send message to server with serialized report specification.
specification
future to populated results
Populate template using domain objects which satisfies
Specification[TSearchable] specification
.
Populate template using domain objects which satisfies
Specification[TSearchable] specification
.
Optionally convert document to PDF.
domain object type
template file
filter domain objects using specification
convert populated document to PDF
future to populated document
Helper method for Olap cube.
Helper method for Olap cube. Perform data analysis on specified data source. Data source is filtered using provided specification. Analysis is performed by grouping data by dimensions and aggregating information using specified facts.
templater report
filter data source
group by dimensions
analyze using facts
future to document content
Proxy service to reporting operations such as document generation, report population and history lookup. Report should be used to minimize calls to server.
It is preferred to use domain patterns instead of this proxy service.
DSL example: