Class ItemCopyCreator
java.lang.Object
de.hybris.platform.catalog.jalo.copy.ItemCopyCreator
Deprecated.
since ages
Manages the copying process of the assigned item.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedItemCopyCreator(ItemCopyContext itemCopyContext, ItemCopyCreator parent, Item source, Item target, Collection<String> blackList, Collection<String> whiteList, Map<String, Object> presetedValues) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionfinal voidaddToPresetValues(String qualifier, Object value) Deprecated.protected voidaddToStoredValues(Map<String, Object> attributes) Deprecated.protected Itemcopy(ItemCopyContext itemCopyContext) Deprecated.booleanDeprecated.protected ItemCopyContextDeprecated.protected final ItemCopyCreatorgetEnclosingCreatorFor(Item value) Deprecated.Finds the parent creator which actually copies the given item value.protected final Set<AttributeCopyCreator>Deprecated.Deprecated.protected final Set<AttributeCopyCreator>Deprecated.protected ItemCopyCreatorDeprecated.protected final Set<AttributeCopyCreator>Deprecated.Deprecated.protected final Set<AttributeCopyCreator>Deprecated.Deprecated.final PKDeprecated.Deprecated.Deprecated.final ComposedTypeDeprecated.inthashCode()Deprecated.protected final booleanDeprecated.protected final booleanDeprecated.protected booleanDeprecated.final booleanisPartOf()Deprecated.final booleanisUpdate()Deprecated.protected final voidreadSourceValues(Item sourceItem, Item targetItem, ItemCopyContext itemCopyContext) Deprecated.Reads all copyable attribute values of the source item which are not blocked by the blacklist or already defined by the preset value map.voidDeprecated.protected voidsetPendingReferences(ItemCopyContext itemCopyContext, Set<AttributeCopyCreator> accs) Deprecated.protected voidsetReferences(Item targetItem, ItemCopyContext itemCopyContext) Deprecated.toString()Deprecated.
-
Constructor Details
-
ItemCopyCreator
protected ItemCopyCreator(ItemCopyContext itemCopyContext, ItemCopyCreator parent, Item source, Item target, Collection<String> blackList, Collection<String> whiteList, Map<String, Object> presetedValues) throws IllegalArgumentExceptionDeprecated.- Throws:
IllegalArgumentException
-
-
Method Details
-
hashCode
public int hashCode()Deprecated. -
equals
Deprecated. -
copy
Deprecated. -
getStoredValues
Deprecated. -
getModifiedValues
Deprecated.- Returns:
- [ {previousValues}, {storedValues} ]
-
resetStoredValues
public void resetStoredValues()Deprecated. -
addToStoredValues
Deprecated. -
getCopyContext
Deprecated. -
setReferences
Deprecated. -
setPendingReferences
protected void setPendingReferences(ItemCopyContext itemCopyContext, Set<AttributeCopyCreator> accs) Deprecated. -
getSourceItemPK
Deprecated. -
isUpdate
public final boolean isUpdate()Deprecated. -
isPartOf
public final boolean isPartOf()Deprecated. -
addToPresetValues
Deprecated. -
getTargetType
Deprecated. -
getParent
Deprecated. -
getEnclosingCreatorFor
Deprecated.Finds the parent creator which actually copies the given item value. This method is used for translating references from partOf items to their enclosing items.- Parameters:
value- the item reference value- Returns:
- the parent copy creator which copies the item, or null no such creator exists
-
readSourceValues
protected final void readSourceValues(Item sourceItem, Item targetItem, ItemCopyContext itemCopyContext) Deprecated.Reads all copyable attribute values of the source item which are not blocked by the blacklist or already defined by the preset value map. -
isEmpty
Deprecated. -
hasPartOfItems
protected final boolean hasPartOfItems()Deprecated. -
hasPendingAttributes
protected final boolean hasPendingAttributes()Deprecated. -
getPartOfAttributeCreators
Deprecated. -
getInitialAttributeCreators
Deprecated. -
getOtherAttributeCreators
Deprecated. -
getPendingAttributes
Deprecated. -
getPendingAttributeQualifiers
Deprecated. -
toString
Deprecated. -
getReport
Deprecated. -
getTargetItemPK
Deprecated.
-