Interface IModelFactory

All Known Implementing Classes:
ModelFactory

public interface IModelFactory
  • Method Summary Link icon

    Modifier and Type
    Method
    Description
    convert(com.aquima.interactions.composer.IPage page, String defaultLanguageCode, String languageCode, com.aquima.interactions.foundation.IValueFormatter valueFormatter)
    This method converts the page to the viewmodel.
  • Method Details Link icon

    • convert Link icon

      PageContent convert(com.aquima.interactions.composer.IPage page, String defaultLanguageCode, String languageCode, com.aquima.interactions.foundation.IValueFormatter valueFormatter)
      This method converts the page to the viewmodel.
      Parameters:
      page - The page to convert, not null.
      defaultLanguageCode - The default language code to use (in case the languagecode isn't available), not null.
      languageCode - The current language code, not null.
      valueFormatter - The value formatter to use, not null.
      Returns:
      The page viewmodel, never null.