Interface CMSModelCloningContextFactory

    • Method Detail

      • createCloningContextWithCatalogVersionPredicates

        CMSModelCloningContext createCloningContextWithCatalogVersionPredicates​(CatalogVersionModel targetCatalogVersion)
        Creates a CMSModelCloningContext and appends additional AttributePresetHandler handlers to the list of preset handlers. Each new handler gets a catalog version as an attribute which ensures that all new cloned component and media models has the given catalog version.
        Parameters:
        targetCatalogVersion - - the catalog version to be set for all new cloned item models
        Returns:
        a CMSModelCloningContext