Class AttributesCopier
java.lang.Object
com.emc.documentum.rest.dfc.conversion.AttributesCopier
This is a utility, which copies all the attributes from source
PersistentObject
to target one-
Method Summary
Modifier and TypeMethodDescriptionstatic com.documentum.fc.client.IDfPersistentObject
copy
(PersistentObject sourceObject, com.documentum.fc.client.IDfPersistentObject targetObject) Copies attributes from sourceObject to targetObjectstatic String
copyAttributesToParamURL
(PersistentObject sourceObject, com.documentum.fc.client.IDfPersistentObject targetObject, String paramURL)
-
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 copiedtargetObject
- 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
-