Package org.ametys.odf.schedulable
Class EducationalBookletSchedulable.EducationalBookletReport
java.lang.Object
org.ametys.odf.schedulable.EducationalBookletSchedulable.EducationalBookletReport
- Enclosing class:
- EducationalBookletSchedulable
Object to represent list of programs exported and list of programs with error after PDF generation
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Status of export -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addExportedProgramItem
(Content content) Add a content as exportedvoid
addProgramItemIhError
(Content programItem) Add program item as errorGet the booklet directoryThe current status of the educational booklet generation.Get the list of exported program itemsGet the program items in errorvoid
setExportedProgramItems
(List<Content> programItems) Set the exported program items
-
Constructor Details
-
EducationalBookletReport
The constructor- Parameters:
bookletDirectory
- The booklet directory
-
-
Method Details
-
getBookletDirectory
Get the booklet directory- Returns:
- the booklet directory
-
getExportedProgramItems
Get the list of exported program items- Returns:
- the list of exported program items
-
addExportedProgramItem
Add a content as exported- Parameters:
content
- the content to add
-
setExportedProgramItems
Set the exported program items- Parameters:
programItems
- the list of exported program items
-
getProgramItemsInError
Get the program items in error- Returns:
- the list of program items in error
-
addProgramItemIhError
Add program item as error- Parameters:
programItem
- the program item to add
-
getCurrentStatus
The current status of the educational booklet generation.- Returns:
- The report status
-