Class ItemCopyCreator

java.lang.Object
de.hybris.platform.catalog.jalo.copy.ItemCopyCreator

@Deprecated(since="ages", forRemoval=false) public class ItemCopyCreator extends Object
Deprecated.
since ages
Manages the copying process of the assigned item.
  • Constructor Details

  • Method Details

    • hashCode

      public int hashCode()
      Deprecated.
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Deprecated.
      Overrides:
      equals in class Object
    • copy

      protected Item copy(ItemCopyContext itemCopyContext)
      Deprecated.
    • getStoredValues

      public Map<String,Object> getStoredValues()
      Deprecated.
    • getModifiedValues

      public Map<String,Object>[] getModifiedValues()
      Deprecated.
      Returns:
      [ {previousValues}, {storedValues} ]
    • resetStoredValues

      public void resetStoredValues()
      Deprecated.
    • addToStoredValues

      protected void addToStoredValues(Map<String,Object> attributes)
      Deprecated.
    • getCopyContext

      protected ItemCopyContext getCopyContext()
      Deprecated.
    • setReferences

      protected void setReferences(Item targetItem, ItemCopyContext itemCopyContext)
      Deprecated.
    • setPendingReferences

      protected void setPendingReferences(ItemCopyContext itemCopyContext, Set<AttributeCopyCreator> accs)
      Deprecated.
    • getSourceItemPK

      public final PK getSourceItemPK()
      Deprecated.
    • isUpdate

      public final boolean isUpdate()
      Deprecated.
    • isPartOf

      public final boolean isPartOf()
      Deprecated.
    • addToPresetValues

      public final void addToPresetValues(String qualifier, Object value)
      Deprecated.
    • getTargetType

      public final ComposedType getTargetType()
      Deprecated.
    • getParent

      protected ItemCopyCreator getParent()
      Deprecated.
    • getEnclosingCreatorFor

      protected final ItemCopyCreator getEnclosingCreatorFor(Item value)
      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

      protected boolean isEmpty(Object translatedValue, boolean localized)
      Deprecated.
    • hasPartOfItems

      protected final boolean hasPartOfItems()
      Deprecated.
    • hasPendingAttributes

      protected final boolean hasPendingAttributes()
      Deprecated.
    • getPartOfAttributeCreators

      protected final Set<AttributeCopyCreator> getPartOfAttributeCreators()
      Deprecated.
    • getInitialAttributeCreators

      protected final Set<AttributeCopyCreator> getInitialAttributeCreators()
      Deprecated.
    • getOtherAttributeCreators

      protected final Set<AttributeCopyCreator> getOtherAttributeCreators()
      Deprecated.
    • getPendingAttributes

      protected final Set<AttributeCopyCreator> getPendingAttributes()
      Deprecated.
    • getPendingAttributeQualifiers

      protected final Set<String> getPendingAttributeQualifiers()
      Deprecated.
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class Object
    • getReport

      public String getReport()
      Deprecated.
    • getTargetItemPK

      public PK getTargetItemPK()
      Deprecated.