Class TaskPrintService
java.lang.Object
fr.tiogars.chat.domains.task.services.TaskPrintService
Generates a printable PDF for one active Task.
-
Constructor Summary
ConstructorsConstructorDescriptionTaskPrintService(TaskFindByIdService findByIdService, TaskPdfRenderer renderer) -
Method Summary
-
Constructor Details
-
TaskPrintService
-
-
Method Details
-
print
Prints an active record.- Parameters:
id- persistent identifier- Returns:
- PDF bytes, or empty if the record was not found
- Throws:
IOException- when the PDF cannot be generated
-