public interface IDfCopyOperation extends IDfOperation
Modifier and Type | Field and Description |
---|---|
static int |
COPY_COPY
Create new copies of referenced children when virtual document is copied.
|
static int |
COPY_OPTION_DONT_MARK_SYMBOLIC_LABELS
Documentum internal use
|
static int |
COPY_OPTION_PERFORM_MOVE
Documentum internal use
|
static int |
COPY_OPTIONS_PERFORM_MOVE_AND_DONT_MARK_SYMOLIC_LABELS
Documentum internal use
|
static int |
COPY_REFERENCE
Reference existing children when virtual document is copied.
|
static int |
COPY_UNSPECIFIED
Documentum internal use
|
GENERATE_RESOURCE_FORK, IGNORE_RESOURCE_FORK, REQUIRE_RESOURCE_FORK, RESOURCE_FORK_UNDEFINED, USE_RESOURCE_FORK_IF_AVAILABLE
Modifier and Type | Method and Description |
---|---|
int |
getCopyOptionsFlag()
Returns the current copy option settings.
|
int |
getCopyPreference()
Returns an integer representing the copy option settings for the operation.
|
boolean |
getDeepFolders()
When working with folders, copy the folder and all of its descendants.
|
IDfId |
getDestinationFolderId()
Returns the repository object ID of the destination folder for the copy operation.
|
IDfList |
getNewObjects()
Returns the list of unique new objects created as a result of this operation.
|
IDfList |
getObjects()
Returns the list of unique objects in this operation.
|
void |
setCopyPreference(int copyPreference)
Sets an integer representing the copy option settings for the operation.
|
void |
setDeepFolders(boolean deepFolders)
When working with folders, copy the folder and all of its descendants.
|
void |
setDestinationFolderId(IDfId folderId)
Sets the repository object ID for the destination folder for the copy operation.
|
void |
setRetainStorageAreas(boolean retainStorageAreas)
Determine if the storage area of the primary content and renditions for the new object should
be the same as the original objects rather than the default storage area set for the primary content
of the new object. i.e. if the original object has rendition A in storage A and rendition B
in storage B, then the new object's renditions must be in similar storage.
|
boolean |
shouldRetainStorageAreas()
Determine if the storage area of the primary content and renditions of the new object should
be the same as the original objects rather than the default storage area set for the primary content
of the new object; that is, if the original object has rendition A in storage A and rendition B
in storage B, then the new object's renditions must also be in similar storage.
|
abort, add, areDisabledRegistryUpdates, canUndo, disableRegistryUpdates, enablePopulateWithReferences, execute, getContext, getDescription, getErrors, getName, getNodes, getOperationMonitor, getOperationType, getProperties, getRootNodes, getSession, getSteps, isAborted, isEnabledPopulateWithReferences, logError, removeNode, reportError, resetErrors, setOperationMonitor, setSession, succeeded
static final int COPY_UNSPECIFIED
static final int COPY_REFERENCE
static final int COPY_COPY
static final int COPY_OPTION_PERFORM_MOVE
static final int COPY_OPTION_DONT_MARK_SYMBOLIC_LABELS
static final int COPY_OPTIONS_PERFORM_MOVE_AND_DONT_MARK_SYMOLIC_LABELS
int getCopyPreference() throws DfException
1 COPY_REFERENCE - Reference existing children when parent is copied. 2 COPY_COPY - Create new copies of referenced children when parent is copied.
DfException
int getCopyOptionsFlag() throws DfException
1 COPY_OPTION_PERFORM_MOVE to indicate that the copy is performed on behalf of move. 2 COPY_OPTION_DONT_MARK_SYMBOLIC_LABELS to specify that when the copy of object is done, don't copy the symbolic labels of the original object. 3 COPY_OPTIONS_PERFORM_MOVE_AND_DONT_MARK_SYMOLIC_LABELS to specify both,perform move and dont mark symbolic labels on the copy object
DfException
IDfId getDestinationFolderId() throws DfException
DfException
IDfFolder
void setDestinationFolderId(IDfId folderId) throws DfException
folderId
- - IDfId destination repository folder / cabinet Id.DfException
IDfFolder
boolean getDeepFolders() throws DfException
true
if deep copy of folder needs to be performed, false
otherwise.DfException
void setDeepFolders(boolean deepFolders) throws DfException
deepFolders
- true
if deep copy of folder needs to be performed, false
otherwise.DfException
IDfList getObjects() throws DfException
DfException
IDfSysObject
IDfList getNewObjects() throws DfException
DfException
IDfSysObject
void setCopyPreference(int copyPreference)
1 COPY_REFERENCE - Reference existing children when parent is copied. 2 COPY_COPY - Create new copies of referenced children when parent is copied.Default is COPY_COPY
copyPreference
- int representing the copy preference settings for the operation.void setRetainStorageAreas(boolean retainStorageAreas)
retainStorageAreas
- true
if the storage area of the renditions and primary content of the new object
should be the same as the original object, false
otherwise.boolean shouldRetainStorageAreas()
true
if the storage area of the renditions and primary content of the new object is set
to be same as the original object, false
otherwise.Copyright 1994-2023 OpenText Corporation. All rights reserved.