Package com.documentum.operations
Interface IDfExportNode
- All Superinterfaces:
IDfOperationNode
Represents a node in an export operation.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionReturns anIDfEnumeration
object containing a list ofIDfAcsRequest
objects.Returns theIDfAcsTransferPreferences
object to be used.int
Returns the content page number for the local content fille for this object.Returns the default content file format for this object in the repository.Returns the content file path in the local file system for this node.Returns the repository format name for the local content file of this object.int
Returns the setting for Mac handling for this node.Returns the file path to the resource fork for this node.Returns the IDfSysObject that is the subject of this operation node.Returns the repository object Id of the IDfSysObject for this node.Returns the content page modifier for the local content file for this object.int
Returns an integer that indicates if this node should be recorded in the client registry.void
setAcsTransferPreferences
(IDfAcsTransferPreferences acsTransferPreferences) Sets theIDfAcsTransferPreferences
object to be used.void
setContentPageNumber
(int pageNumber) Sets the content page number for the local content fille of this object.void
setFilePath
(String newFilePath) Sets the file path to use as the contents of this object.void
Sets the repository format name of the local content file for this object.void
setIncludeDCTMAttrsInXML
(boolean includeDCTMAttrsInXML) Determines whether or not dctm attributes(dctm:obj_id, dctm:status and dctm:version_label) are added to the chunk points of the XML stream.void
setLogicalPageRange
(int startPage, int endPage) Sets the page range of interest that needs to be retrieved as a result of the execution of the export operation.void
setMacOption
(int option) Sets the Mac behavior options for this node.void
setMacResourceFilePath
(String resourceForkFilePath) Specifies the file path to use to store the resource fork information.void
setPageModifier
(String pageModifier) Sets the content page modifier for the local content file for this object.void
setRecordInRegistry
(int registryRecordingPreference) Sets an integer that indicates if this node should be recorded in the client registry.Methods inherited from interface com.documentum.operations.IDfOperationNode
getChildren, getEdgeProperties, getId, getOperation, getParent, getPersistentProperties, getProperties, isRoot
-
Field Details
-
PAGE_RANGE_UNKNOWN
static final int PAGE_RANGE_UNKNOWN- See Also:
-
-
Method Details
-
getObject
Returns the IDfSysObject that is the subject of this operation node.- Returns:
- IDfSysObject for this node.
- Throws:
DfException
- See Also:
-
getObjectId
Returns the repository object Id of the IDfSysObject for this node.- Returns:
- object Id of the IDfSysObject for this node.
- Throws:
DfException
- See Also:
-
getFilePath
Returns the content file path in the local file system for this node. Returns null if the node object does not have a local content file.- Returns:
- the content file path in the local file system for this node.
- Throws:
DfException
-
setFilePath
Sets the file path to use as the contents of this object.- Parameters:
newFilePath
- file path in the local file system.- Throws:
DfException
-
getFormat
Returns the repository format name for the local content file of this object.- Returns:
- repository format name (e.g. msw6).
- Throws:
DfException
- See Also:
-
getDefaultFormat
Returns the default content file format for this object in the repository. The default format is generally the primary rendition of the object, the value returned from IDfSysObject.getContentType().- Returns:
- repository format name (e.g. msw6).
- Throws:
DfException
- See Also:
-
setFormat
Sets the repository format name of the local content file for this object.- Parameters:
formatName
- repository format name (e.g. msw6).- Throws:
DfException
- See Also:
-
getContentPageNumber
Returns the content page number for the local content fille for this object.- Returns:
- content page number for the local content fille for this object.
- Throws:
DfException
- See Also:
-
setContentPageNumber
Sets the content page number for the local content fille of this object.- Parameters:
pageNumber
- content page number for the local content fille of this object.- Throws:
DfException
- See Also:
-
getRecordInRegistry
Returns an integer that indicates if this node should be recorded in the client registry. Nodes in the client registry will be recognized as being from the repository.
Possible values include: 0 DONT_RECORD_IN_REGISTRY - just export the content file. 1 RECORD_AS_VIEWED_FILE_IN_REGISTRY - record the object as a Viewed file. 2 RECORD_AS_LOCAL_FILE_IN_REGISTRY - record the object as a Local copy item.
- Returns:
- intteger indicating the registry recording setting.
- Throws:
DfException
-
setRecordInRegistry
Sets an integer that indicates if this node should be recorded in the client registry. Nodes in the client registry will be recognized as being from the repository.
Possible values include: 0 DONT_RECORD_IN_REGISTRY - just export the content file. 1 RECORD_AS_VIEWED_FILE_IN_REGISTRY - record the object as a Viewed file. 2 RECORD_AS_LOCAL_FILE_IN_REGISTRY - record the object as a Local copy item.
- Parameters:
registryRecordingPreference
- intteger indicating the registry recording setting.- Throws:
DfException
-
getPageModifier
Returns the content page modifier for the local content file for this object.- Returns:
- content page modifier for the local content file for this object.
- Throws:
DfException
- Since:
- DFC 5.2
- See Also:
-
setPageModifier
Sets the content page modifier for the local content file for this object.- Parameters:
pageModifier
- content page modifier for the local content file for this object.- Throws:
DfException
- Since:
- DFC 5.2
- See Also:
-
setMacResourceFilePath
Specifies the file path to use to store the resource fork information.- Parameters:
resourceForkFilePath
-- Since:
- DFC 5.2.5
-
getMacResourceFilePath
String getMacResourceFilePath()Returns the file path to the resource fork for this node. Returns null if the node object does not have a resource fork file.- Returns:
- the resource fork file path in the local file system for this node.
- Since:
- DFC 5.2.5
-
getMacOption
int getMacOption()Returns the setting for Mac handling for this node. *
Possible values include: IGNORE_RESOURCE_FORK - No resource fork will be outputted, even if resource fork is present in the repository USE_RESOURCE_FORK_IF_AVAILABLE - Resource fork will be downloaded only if one is already available in repository. REQUIRE_RESOURCE_FORK - Resource fork is required. An error will be generated if resource fork is not available in the repository GENERATE_RESOURCE_FORK - A resource fork will be generated if it is not explicitly available.
- Returns:
- the setting for Mac handling for this node.If no mac option is set via setMacOption(), then RESOURCE_FORK_UNDEFINED will be returned.
- Since:
- DFC 5.2.5
-
setMacOption
void setMacOption(int option) Sets the Mac behavior options for this node.
Possible values include: IGNORE_RESOURCE_FORK - No resource fork will be outputted, even if resource fork is present in the repository. USE_RESOURCE_FORK_IF_AVAILABLE - Resource fork will be downloaded only if one is already available in repository REQUIRE_RESOURCE_FORK - Resource fork is required. An error will be generated if resource fork is not available in the repository. GENERATE_RESOURCE_FORK - A resource fork will be generated if it is not explicitly available.
- Parameters:
option
- - possible values: IGNORE_RESOURCE_FORK, USE_RESOURCE_FORK_IF_AVAILABLE, REQUIRE_RESOURCE_FORK, GENERATE_RESOURCE_FORK.- Since:
- DFC 5.2.5
-
setIncludeDCTMAttrsInXML
void setIncludeDCTMAttrsInXML(boolean includeDCTMAttrsInXML) Determines whether or not dctm attributes(dctm:obj_id, dctm:status and dctm:version_label) are added to the chunk points of the XML stream. All the xml nodes in the operation would have dctm attributes. If any of the chunk's content(that has dctm attributes set) is reused it would indicate that the object is already present in the repository. Pass true to add dctm attributes. The default value is false.- Parameters:
includeDCTMAttrsInXML
- if true the external references will not be downloaded.- Since:
- 5.3
-
getAcsTransferPreferences
IDfAcsTransferPreferences getAcsTransferPreferences()Returns theIDfAcsTransferPreferences
object to be used.- Returns:
IDfAcsTransferPreferences
object to be used- Since:
- 5.3 sp1
-
setAcsTransferPreferences
Sets theIDfAcsTransferPreferences
object to be used.- Parameters:
acsTransferPreferences
-IDfAcsTransferPreferences
object to be used- Since:
- 5.3 sp1
-
getAcsRequests
Returns anIDfEnumeration
object containing a list ofIDfAcsRequest
objects.IDfAcsRequest
objects record information about a client application's request to an ACS server.- Returns:
IDfEnumeration
ofIDfAcsRequest
objects- Throws:
DfException
- Since:
- 5.3 sp1
-
setLogicalPageRange
Sets the page range of interest that needs to be retrieved as a result of the execution of the export operation.- Parameters:
startPage
- logical starting page of the pages requested. Use IDfExportNode.PAGE_RANGE_UNKNOWN if page range is not known.endPage
- logical ending page of the pages requested. Use IDfExportNode.PAGE_RANGE_UNKNOWN if page range is not known.- Throws:
DfException
- Since:
- D6
-