Package com.storedobject.office
Class ODTObjectReport<T extends StoredObject>
java.lang.Object
com.storedobject.office.ODT<Object>
com.storedobject.office.ODTReport
com.storedobject.office.ODTObjectReport<T>
- Type Parameters:
T- Type ofStringBuilderclass.
- All Implemented Interfaces:
Executable,ContentProducer,ContentType,RequiresTransactionManager,Closeable,AutoCloseable,Runnable
PDFObjectReport and ODTObjectReport are used to define report logic to be
used in PrintLogicDefinition. The
PrintLogicDefinition.getPrintLogicClassName() should return the name of the logic derived from either
PDFObjectReport or ODTObjectReport.
Please note: The format for the ODT will be read from PrintLogicDefinition.getODTFormat().
- Author:
- Syam
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.storedobject.office.ODTReport
execute, getDevice, getEntity, getReportFormat, log, setEntity, viewMethods inherited from class com.storedobject.office.ODT
close, debug, getContent, getContentType, getException, getFileExtension, getFileName, getFiller, getTransactionManager, isRawOutput, produce, ready, reportingIteratorValue, setFiller, setIterator, setRawOutput, setTemplate, setTemplate, setTransactionManagerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.storedobject.core.ContentProducer
abort, extractContent, getError, getStreamData, getStreamDataProvider, getSystemEntity, saveTo, saveTo, saveTo, saveToMethods inherited from interface com.storedobject.core.ContentType
getLink, getMimeType, isAudio, isHTML, isImage, isLink, isMedia, isPDF, isText, isVideoMethods inherited from interface com.storedobject.common.Executable
act, run
-
Field Details
-
object
The current object to report.
-
-
Constructor Details
-
ODTObjectReport
-
-
Method Details
-
getObject
Get the current object instance to report.- Returns:
- Current object instance.
-
fill
The fill method when this class acts as the value filler for this ODT report (by default this class will act as the value filler). The default implementation sees if this attribute is available in the object instance and if available, that value is returned.- Parameters:
name- Name of the variable to be filled.- Returns:
- Value to be filled.
-