Package com.storedobject.office
Class ODT<T>
java.lang.Object
com.storedobject.office.ODT<T>
- All Implemented Interfaces:
Executable,ContentProducer,ContentType,RequiresTransactionManager,Closeable,AutoCloseable,Runnable
- Direct Known Subclasses:
IteratorODTReport,ODTReport
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()final voiddebug()final InputStreamfinal Stringfinal Stringfinal TransactionManagerRetrieves the transaction manager associated with this object.final booleanvoidvoidproduce()Produce the content.voidready()voidreportingIteratorValue(T value) voidfinal voidsetIterator(Iterator<T> iterator) final voidsetRawOutput(boolean rawOutput) voidsetTemplate(Id templateId) voidsetTemplate(StreamData template) final voidsetTransactionManager(TransactionManager transactionManager) Sets the transaction manager for this object.Methods 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, execute, extractContent, getEntity, 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
-
Constructor Details
-
ODT
public ODT() -
ODT
-
ODT
-
ODT
-
ODT
-
-
Method Details
-
getDevice
-
setTemplate
-
setTemplate
-
setRawOutput
public final void setRawOutput(boolean rawOutput) -
isRawOutput
public final boolean isRawOutput() -
getContent
- Specified by:
getContentin interfaceContentProducer- Throws:
IOException
-
getContentType
- Specified by:
getContentTypein interfaceContentType
-
getFileExtension
- Specified by:
getFileExtensionin interfaceContentProducer
-
getFileName
- Specified by:
getFileNamein interfaceContentProducer
-
setTransactionManager
Description copied from interface:RequiresTransactionManagerSets the transaction manager for this object. The transaction manager is responsible for managing transaction boundaries.- Specified by:
setTransactionManagerin interfaceRequiresTransactionManager- Parameters:
transactionManager- the transaction manager to be set
-
getTransactionManager
Description copied from interface:RequiresTransactionManagerRetrieves the transaction manager associated with this object.- Specified by:
getTransactionManagerin interfaceContentProducer- Specified by:
getTransactionManagerin interfaceRequiresTransactionManager- Returns:
- the transaction manager responsible for managing transaction boundaries
-
getException
-
debug
public final void debug() -
setIterator
-
reportingIteratorValue
-
produce
public void produce()Description copied from interface:ContentProducerProduce the content.- Specified by:
producein interfaceContentProducer
-
ready
public void ready()- Specified by:
readyin interfaceContentProducer
-
log
-
getFiller
-
setFiller
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-