java.lang.Object
com.aquima.interactions.portal.report.ReportingDelegate
com.aquima.interactions.portal.ds.sys.composer.ComposerDS
All Implemented Interfaces:
IComposerDS, IReportingDS

public class ComposerDS extends ReportingDelegate implements IComposerDS
Composer data source wrapper that adds execute task page(s) if needed.
Since:
7.1
Author:
O. Kerpershoek
  • Constructor Details

    • ComposerDS

      public ComposerDS(IComposerDS datasource, ExecuteTaskCall[] executeTaskCalls)
      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

      public void iterateContent(IContentVisitor visitor) throws InitializationException
      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 interface IComposerDS
      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

      public void iterateStyles(IContentStyleVisitor visitor) throws InitializationException
      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 interface IComposerDS
      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.