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
Nested ClassesModifier and TypeClassDescriptionstatic enumStatus of export -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddExportedProgramItem(Content content) Add a content as exportedvoidaddProgramItemIhError(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 errorvoidsetExportedProgramItems(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
-