Package de.xima.fc.pdf
Class ProcessLogExport
java.lang.Object
de.xima.fc.pdf.ProcessLogExport
Exportor for creating Documents based on
ProtocolEntryProcessing entities.- Since:
- 7.2.0
- Author:
- XIMA MEDIA GmbH
-
Constructor Summary
ConstructorsConstructorDescriptionProcessLogExport(List<ProtocolEntryProcessing> history, Locale locale) Constructor of the exporter. -
Method Summary
Modifier and TypeMethodDescriptionbyte[]doExport()Creates a document for the given history.withFormat(EProcessLogFormat format) A method to extend the exporter with a given format.withProcess(Vorgang process) A method to change the form record whose data will be exported.
-
Constructor Details
-
ProcessLogExport
Constructor of the exporter.- Parameters:
history- aListofProtocolEntryProcessingentitieslocale- the given locale
-
-
Method Details
-
withFormat
A method to extend the exporter with a given format.- Parameters:
format- Theprint formatto use.- Returns:
- This exporter instance for chaining method calls.
-
withProcess
A method to change the form record whose data will be exported.- Parameters:
process- The form record to export.- Returns:
- This exporter instance for chaining method calls.
-
doExport
public byte[] doExport()Creates a document for the given history.- Returns:
- byte array of the created history document
-