Class ComposerDS
java.lang.Object
com.aquima.interactions.portal.report.ReportingDelegate
com.aquima.interactions.portal.ds.sys.composer.ComposerDS
- All Implemented Interfaces:
IComposerDS
,IReportingDS
Composer data source wrapper that adds execute task page(s) if needed.
- Since:
- 7.1
- Author:
- O. Kerpershoek
-
Field Summary
Fields inherited from interface com.aquima.interactions.composer.ds.IComposerDS
CATEGORY
-
Constructor Summary
ConstructorsConstructorDescriptionComposerDS
(IComposerDS datasource, ExecuteTaskCall[] executeTaskCalls) Constructs the wrapper with the required parameters. -
Method Summary
Modifier and TypeMethodDescriptionvoid
iterateContent
(IContentVisitor visitor) This method should iterate over all the elements that need to be available in the composer, and add them to the provided visitor.void
iterateStyles
(IContentStyleVisitor visitor) This method should iterate over all the styles that may be used in documents, and add them to the supplied visitor.Methods inherited from class com.aquima.interactions.portal.report.ReportingDelegate
addMessage
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.aquima.interactions.foundation.report.IReportingDS
addMessage
-
Constructor Details
-
ComposerDS
Constructs the wrapper with the required parameters.- Parameters:
datasource
- The data source that should be wrapped.executeTaskCalls
- The execute task service calls for which pages should be created.
-
-
Method Details
-
iterateContent
Description copied from interface:IComposerDS
This method should iterate over all the elements that need to be available in the composer, and add them to the provided visitor.- Specified by:
iterateContent
in interfaceIComposerDS
- Parameters:
visitor
- The visitor that should be used to add the elements to.- Throws:
InitializationException
- This exception is thrown when the elements could not be added.
-
iterateStyles
Description copied from interface:IComposerDS
This method should iterate over all the styles that may be used in documents, and add them to the supplied visitor.Note: This method should be invoked before the iterateContent method, as the content depends on style definitions being present.
- Specified by:
iterateStyles
in interfaceIComposerDS
- Parameters:
visitor
- The visitor that should be used to add the style definitions to.- Throws:
InitializationException
- This exception is thrown when the style definitions could not be initialized due to a fatal error.
-