Package com.documentum.operations
Interface IDfOperationNodeFactory
public interface IDfOperationNodeFactory
A factory object used by populators to create a node or an edge for given objects.
- Since:
- 7.0
-
Method Summary
Modifier and TypeMethodDescriptionCreates a new node for the given object.Creates a new node for the given file.newNode
(IDfInputStreamContent inputStreamContent) Creates a new node for the given inputStream.newNodeRelationship
(IDfId parentId, IDfId childId, String relationType)
-
Method Details
-
newNode
Creates a new node for the given object.- Parameters:
id
-- Returns:
- IDfOperationNode returns a new node for the object
- Throws:
DfException
-
newNode
Creates a new node for the given file.- Parameters:
file
-- Returns:
- IDfOperationNode returns a new node for the file
- Throws:
DfException
-
newNode
Creates a new node for the given inputStream.- Parameters:
inputStreamContent
-- Returns:
- IDfOperationNode returns a new node for the file
- Throws:
DfException
-
newNodeRelationship
IDfNodeRelationship newNodeRelationship(IDfId parentId, IDfId childId, String relationType) throws DfException - Parameters:
parentId
- parent object's idchildId
- child object's idrelationType
- Currently, the relation type is one of dmr_containment, dm_relation, folder_link, or dm_assembly- Returns:
- IDfOperationEdge
- Throws:
DfException
-