public class AssetTemplate extends ElementTemplate
Template that can be used to initialize an asset definition.
Since:
6.0
Author:
O. Kerpershoek
  • Constructor Details

    • AssetTemplate

      protected AssetTemplate(com.aquima.interactions.foundation.report.IInitializationReport report, String name)
  • Method Details

    • addText

      public void addText(String format, String text)
      This method can be used to add a text to the asset.
      Parameters:
      format - The format of the text.
      text - The actual text that needs to be added.
    • addText

      public void addText(String format, com.aquima.interactions.foundation.text.IMultilingualText text)
      This method can be used to add a text to the asset.
      Parameters:
      format - The format of the text.
      text - The actual text that needs to be added.
      Since:
      8.4
    • getTexts

      protected Map<String,com.aquima.interactions.foundation.text.IMultilingualText> getTexts()
    • toDataSource

      public com.aquima.interactions.composer.ds.IAssetDS toDataSource()
      This method converts the template to a data source that can be used to initialize an asset.
      Returns:
      a data source that can be used to initialize an asset.