Class ContainerExpanderVisitor

java.lang.Object
com.aquima.interactions.portal.model.def.ContainerExpanderVisitor
All Implemented Interfaces:
IContainerExpanderVisitor

public class ContainerExpanderVisitor extends Object implements IContainerExpanderVisitor
The dynamic container visitor that is used during initialization to add all dynamic containers that are available through the data source.
Since:
7.0
Author:
Jon van Leuven
  • Constructor Details

  • Method Details

    • process

      public static Map<String,IContainerExpanderDefinition> process(IModuleDS datasource, IProject project, IModule module, IParserFactory parserFactory, IContainerFactory containerFactory)
      This method initializes a map with the container expanders from the datasource.
      Parameters:
      datasource - Data source providing the container expander information.
      project - Project containing the expander definitions.
      module - The module whose expanders are being added
      parserFactory - Factory that may be used to create expression parsers.
      containerFactory - Factory that is used to check if an implementation is available for the expanders.
      Returns:
      Map containing the container expanders.
      Throws:
      InitializationException - This exception is thrown when the container expanders could not be initialized.
    • addContainerExpander

      public void addContainerExpander(IContainerExpanderDS datasource)
      Description copied from interface: IContainerExpanderVisitor
      This method should be invoked by the data-source implementation to notify the portal engine of the existence of a container expander. The method should be invoked for each container expander.
      Specified by:
      addContainerExpander in interface IContainerExpanderVisitor
      Parameters:
      datasource - The container expander datasource.