Class DefaultCloneAbstractOrderStrategy.OrderCopyContext
java.lang.Object
de.hybris.platform.servicelayer.internal.model.impl.ItemModelCloneCreator.CopyContext
de.hybris.platform.order.strategies.ordercloning.impl.DefaultCloneAbstractOrderStrategy.OrderCopyContext
- Enclosing class:
- DefaultCloneAbstractOrderStrategy
protected static class DefaultCloneAbstractOrderStrategy.OrderCopyContext
extends ItemModelCloneCreator.CopyContext
CopyContext extension to account for order entries and skipped attributes in
this document context
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedOrderCopyContext(ComposedTypeModel entryType, Set<String> skippedAttributes) -
Method Summary
Modifier and TypeMethodDescriptiongetTargetType(ItemModel originalModel) Tells which type should be used for creating a copy of the specified original item.protected booleanskipAttribute(Object original, String qualifier) tell us if attribute have to be skippedMethods inherited from class de.hybris.platform.servicelayer.internal.model.impl.ItemModelCloneCreator.CopyContext
add, addPreset, getAll, getCopy, getCopyWrapper, getPendingItems, getPreset, getPresets, gotPreset, hasPendingItems, mustBeTranslated, treatAsPartOf
-
Constructor Details
-
OrderCopyContext
-
-
Method Details
-
getTargetType
Description copied from class:ItemModelCloneCreator.CopyContextTells which type should be used for creating a copy of the specified original item. Default is simply using its current type.- Overrides:
getTargetTypein classItemModelCloneCreator.CopyContext
-
skipAttribute
Description copied from class:ItemModelCloneCreator.CopyContexttell us if attribute have to be skipped- Overrides:
skipAttributein classItemModelCloneCreator.CopyContext
-