Package com.aquima.web.api.model.page
Interface IModelFactory
- All Known Implementing Classes:
ModelFactory
public interface IModelFactory
-
Method Details
-
convert
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.
-