Interface CMSModelCloningContextFactory
-
- All Known Implementing Classes:
DefaultCMSModelCloningContextFactory
public interface CMSModelCloningContextFactoryFactory to provide a new instance ofCMSModelCloningContext
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CMSModelCloningContextcreateCloningContextWithCatalogVersionPredicates(CatalogVersionModel targetCatalogVersion)Creates aCMSModelCloningContextand appends additionalAttributePresetHandlerhandlers to the list of preset handlers.
-
-
-
Method Detail
-
createCloningContextWithCatalogVersionPredicates
CMSModelCloningContext createCloningContextWithCatalogVersionPredicates(CatalogVersionModel targetCatalogVersion)
Creates aCMSModelCloningContextand appends additionalAttributePresetHandlerhandlers 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
-
-