Class CMSCopyContext
- java.lang.Object
-
- de.hybris.platform.servicelayer.internal.model.impl.ItemModelCloneCreator.CopyContext
-
- de.hybris.platform.cms2.cloning.service.impl.CMSCopyContext
-
public class CMSCopyContext extends ItemModelCloneCreator.CopyContext
CMSCopyContextextends theItemModelCloneCreator.CopyContextto overrides theskipAttribute(Object, String)method not to skip an attribute if the attribute was set aspartOf.
-
-
Constructor Summary
Constructors Constructor Description CMSCopyContext()Creates a new copy context.CMSCopyContext(ModelCloningContext cloningContext)Creates a new copy context with cloning context
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Collection<ItemModelCloneCreator.CopyItem>getAll()Returns all item copy wrappers.protected booleanisOneEndAttributeOfRelation(RelationDescriptor rd)protected booleanskipAttribute(java.lang.Object original, java.lang.String qualifier)Verifies if an attribute should to be skipped-
Methods 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 Detail
-
CMSCopyContext
public CMSCopyContext()
Creates a new copy context.
-
CMSCopyContext
public CMSCopyContext(ModelCloningContext cloningContext)
Creates a new copy context with cloning context
-
-
Method Detail
-
skipAttribute
protected boolean skipAttribute(java.lang.Object original, java.lang.String qualifier)Verifies if an attribute should to be skipped- Overrides:
skipAttributein classItemModelCloneCreator.CopyContext
-
isOneEndAttributeOfRelation
protected boolean isOneEndAttributeOfRelation(RelationDescriptor rd)
-
getAll
public java.util.Collection<ItemModelCloneCreator.CopyItem> getAll()
Returns all item copy wrappers.- Overrides:
getAllin classItemModelCloneCreator.CopyContext
-
-