Class ItemCopyCreator


  • @Deprecated
    public class ItemCopyCreator
    extends java.lang.Object
    Deprecated.
    since ages
    Manages the copying process of the assigned item.
    • Constructor Detail

      • ItemCopyCreator

        protected ItemCopyCreator​(ItemCopyContext itemCopyContext,
                                  ItemCopyCreator parent,
                                  Item source,
                                  Item target,
                                  java.util.Collection<java.lang.String> blackList,
                                  java.util.Collection<java.lang.String> whiteList,
                                  java.util.Map<java.lang.String,​java.lang.Object> presetedValues)
                           throws java.lang.IllegalArgumentException
        Deprecated.
        Throws:
        java.lang.IllegalArgumentException
    • Method Detail

      • hashCode

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

        public boolean equals​(java.lang.Object obj)
        Deprecated.
        Overrides:
        equals in class java.lang.Object
      • getStoredValues

        public java.util.Map<java.lang.String,​java.lang.Object> getStoredValues()
        Deprecated.
      • getModifiedValues

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

        public void resetStoredValues()
        Deprecated.
      • addToStoredValues

        protected void addToStoredValues​(java.util.Map<java.lang.String,​java.lang.Object> attributes)
        Deprecated.
      • setReferences

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

        public final PK getSourceItemPK()
        Deprecated.
      • isUpdate

        public final boolean isUpdate()
        Deprecated.
      • isPartOf

        public final boolean isPartOf()
        Deprecated.
      • addToPresetValues

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

        public final ComposedType getTargetType()
        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​(java.lang.Object translatedValue,
                                  boolean localized)
        Deprecated.
      • hasPartOfItems

        protected final boolean hasPartOfItems()
        Deprecated.
      • hasPendingAttributes

        protected final boolean hasPendingAttributes()
        Deprecated.
      • getPartOfAttributeCreators

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

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

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

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

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

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

        public java.lang.String getReport()
        Deprecated.
      • getTargetItemPK

        public PK getTargetItemPK()
        Deprecated.