The CeReport
annotation is used exclusively for reports to define how and where the report results should be displayed. It specifies whether the output should be automatically generated or custom-rendered, as well as the data processing method (entity-based or cursor-based).
1️⃣ Standard Reports (GeneratorType.Report
)
resultUI
component automatically handles the output.2️⃣ Cursor-Based Reports (GeneratorType.ReportCursor
)
resultUI
.onResult
.resultEntity: KClass<*>
(Required)
resultExtEntity: KClass<*>
(Default: Nothing::class
)
resultUI: KClass<*>
(Default: Nothing::class
)
{resultEntity}UI
.standardOutput: Boolean
(Default: true
)
true
, the report is automatically generated.false
, a custom rendering function (onResult
) must be provided.query: String
(Default: ""
)
groups: String
(Default: ""
)
"GROUP BY"
keyword.