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 TypeMethodDescriptionvoid
close()
final void
debug()
final InputStream
final String
final String
final TransactionManager
Retrieves the transaction manager associated with this object.final boolean
void
void
produce()
Produce the content.void
ready()
void
reportingIteratorValue
(T value) void
final void
setIterator
(Iterator<T> iterator) final void
setRawOutput
(boolean rawOutput) void
setTemplate
(Id templateId) void
setTemplate
(StreamData template) final void
setTransactionManager
(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, wait
Methods inherited from interface com.storedobject.core.ContentProducer
abort, execute, extractContent, getEntity, getError, getStreamData, getStreamDataProvider, getSystemEntity, saveTo, saveTo, saveTo, saveTo
Methods inherited from interface com.storedobject.core.ContentType
getLink, getMimeType, isAudio, isHTML, isImage, isLink, isMedia, isPDF, isText, isVideo
Methods 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:
getContent
in interfaceContentProducer
- Throws:
IOException
-
getContentType
- Specified by:
getContentType
in interfaceContentType
-
getFileExtension
- Specified by:
getFileExtension
in interfaceContentProducer
-
getFileName
- Specified by:
getFileName
in interfaceContentProducer
-
setTransactionManager
Description copied from interface:RequiresTransactionManager
Sets the transaction manager for this object. The transaction manager is responsible for managing transaction boundaries.- Specified by:
setTransactionManager
in interfaceRequiresTransactionManager
- Parameters:
transactionManager
- the transaction manager to be set
-
getTransactionManager
Description copied from interface:RequiresTransactionManager
Retrieves the transaction manager associated with this object.- Specified by:
getTransactionManager
in interfaceContentProducer
- Specified by:
getTransactionManager
in 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:ContentProducer
Produce the content.- Specified by:
produce
in interfaceContentProducer
-
ready
public void ready()- Specified by:
ready
in interfaceContentProducer
-
log
-
getFiller
-
setFiller
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-