Class CMSCopyContext
java.lang.Object
de.hybris.platform.servicelayer.internal.model.impl.ItemModelCloneCreator.CopyContext
de.hybris.platform.cms2.cloning.service.impl.CMSCopyContext
CMSCopyContext extends the ItemModelCloneCreator.CopyContext to overrides the skipAttribute(Object, String) method
not to skip an attribute if the attribute was set as partOf.-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new copy context.CMSCopyContext(ModelCloningContext cloningContext) Creates a new copy context with cloning context -
Method Summary
Modifier and TypeMethodDescriptiongetAll()Returns all item copy wrappers.protected booleanprotected booleanskipAttribute(Object original, String qualifier) Verifies if an attribute should to be skippedMethods inherited from class de.hybris.platform.servicelayer.internal.model.impl.ItemModelCloneCreator.CopyContext
add, addPreset, getCopy, getCopyWrapper, getPendingItems, getPreset, getPresets, getTargetType, gotPreset, hasPendingItems, mustBeTranslated, treatAsPartOf
-
Constructor Details
-
CMSCopyContext
public CMSCopyContext()Creates a new copy context. -
CMSCopyContext
Creates a new copy context with cloning context
-
-
Method Details
-
skipAttribute
Verifies if an attribute should to be skipped- Overrides:
skipAttributein classItemModelCloneCreator.CopyContext
-
isOneEndAttributeOfRelation
-
getAll
Returns all item copy wrappers.- Overrides:
getAllin classItemModelCloneCreator.CopyContext
-