Package com.documentum.operations
Interface IDfMoveOperation
- All Superinterfaces:
IDfOperation
IDfMoveOperation performs a move of one or more nodes from one source folder to a destination folder.
Performs a link to the target folder and an unlink from the source folder.
IDfSysObject, IDfFolder, IDfVirtualDocumentNode, and IDfVirtualDocument objects may be added to a move
operation. Folder and virtual
document objects will also have their sub-structure moved to the destination folder.
Note that checked out objects cannot be moved. An error is returned for checked out objects.
-
Field Summary
Fields inherited from interface com.documentum.operations.IDfOperation
GENERATE_RESOURCE_FORK, IGNORE_RESOURCE_FORK, REQUIRE_RESOURCE_FORK, RESOURCE_FORK_UNDEFINED, USE_RESOURCE_FORK_IF_AVAILABLE
-
Method Summary
Modifier and TypeMethodDescriptionReturns the docbase object Id of the destination folder for the move operation.Returns the list of unique objects in this operation.Gets the source folder id for the move operation.void
setDestinationFolderId
(IDfId folderId) Sets the docbase object Id for the destination folder for the move operation.void
setSourceFolderId
(IDfId sourceFolderId) Sets the source folder id for the move operation.Methods inherited from interface com.documentum.operations.IDfOperation
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
-
Method Details
-
getDestinationFolderId
Returns the docbase object Id of the destination folder for the move operation. This is the folder where, by default, objects will be moved. The destination folder has to be specified before the move operation.- Returns:
- docbase Id of the default destination folder for the operation.
- Throws:
DfException
- See Also:
-
setDestinationFolderId
Sets the docbase object Id for the destination folder for the move operation. This is the folder where, by default, new objects will be created. The destination location must be specified before the move operation is executed- Parameters:
folderId
- - IDfId destination docbase folder / cabinet Id.- Throws:
DfException
- See Also:
-
getSourceFolderId
Gets the source folder id for the move operation. The source folder location may be overridden for individual nodes using DfMoveNode.getSourceFolderId(). The source folder has to be specified before the move operation is executed.- Returns:
- docbase Id of the source folder for this operation
- Throws:
DfException
- See Also:
-
setSourceFolderId
Sets the source folder id for the move operation. The source folder location may be overridden for individual nodes using DfMoveNode.setSourceFolderId(). The source folder has to be specified before the move operation is executed.- Parameters:
sourceFolderId
- the source folder id- Throws:
DfException
- See Also:
-
getObjects
Returns the list of unique objects in this operation. Each entry in the list is an IDfSysObject.- Returns:
- returns the list of unique objects in this operation
- Throws:
DfException
- See Also:
-