Class SiteModelPopulator

    • Constructor Detail

      • SiteModelPopulator

        public SiteModelPopulator()
    • Method Detail

      • getSiteModelNameGetter

        protected java.util.function.Function<java.util.Locale,​java.lang.String> getSiteModelNameGetter​(CMSSiteModel source)
      • getSiteDataNameSetter

        protected java.util.function.BiConsumer<java.util.Locale,​java.lang.String> getSiteDataNameSetter​(SiteData target)
      • getSortedContentCatalogsID

        protected java.util.List<java.lang.String> getSortedContentCatalogsID​(java.util.List<ContentCatalogModel> contentCatalogs)
        This method returns a list of the IDs of the provided content catalogs. Please note that the order is maintained.
        Parameters:
        contentCatalogs - The content catalogs for which to retrieve their IDs.
        Returns:
        The list of IDs of the provided content catalogs.
      • setLocalizedPopulator

        public void setLocalizedPopulator​(LocalizedPopulator localizedPopulator)