Class AttributesCopier

java.lang.Object
com.emc.documentum.rest.dfc.conversion.AttributesCopier

public final class AttributesCopier extends Object
This is a utility, which copies all the attributes from source PersistentObject to target one
  • Method Details

    • copy

      public static com.documentum.fc.client.IDfPersistentObject copy(PersistentObject sourceObject, com.documentum.fc.client.IDfPersistentObject targetObject) throws com.documentum.fc.common.DfException
      Copies attributes from sourceObject to targetObject
      Parameters:
      sourceObject - the source object to be copied
      targetObject - the target object
      Returns:
      targetObject with copied attributes
      Throws:
      com.documentum.fc.common.DfException - exception during the operation
    • copyAttributesToParamURL

      public static String copyAttributesToParamURL(PersistentObject sourceObject, com.documentum.fc.client.IDfPersistentObject targetObject, String paramURL) throws com.documentum.fc.common.DfException
      Throws:
      com.documentum.fc.common.DfException