public class DefaultCMSModelCloningContextFactory extends java.lang.Object implements CMSModelCloningContextFactory
CMSModelCloningContextFactory| Constructor and Description |
|---|
DefaultCMSModelCloningContextFactory() |
| Modifier and Type | Method and Description |
|---|---|
CMSModelCloningContext |
createCloningContextWithCatalogVersionPredicates(CatalogVersionModel targetCatalogVersion)
Creates a
CMSModelCloningContext and append ComponentForCatalogVersionAttributePresetPredicate and
MediaForCatalogVersionAttributePresetPredicate to the list of preset predicates. |
protected <any> |
getCmsModelCloningContextObjectFactory() |
void |
setCmsModelCloningContextObjectFactory(<any> cmsModelCloningContextObjectFactory) |
public DefaultCMSModelCloningContextFactory()
public CMSModelCloningContext createCloningContextWithCatalogVersionPredicates(CatalogVersionModel targetCatalogVersion)
CMSModelCloningContextFactoryCMSModelCloningContext and append ComponentForCatalogVersionAttributePresetPredicate and
MediaForCatalogVersionAttributePresetPredicate to the list of preset predicates. This ensures that all new
cloned component and media models has a the given catalog version.createCloningContextWithCatalogVersionPredicates in interface CMSModelCloningContextFactorytargetCatalogVersion - - the catalog version to be set for all new cloned item modelsprotected <any> getCmsModelCloningContextObjectFactory()
public void setCmsModelCloningContextObjectFactory(<any> cmsModelCloningContextObjectFactory)
Copyright © 2018 SAP SE. All Rights Reserved.