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 Details

    • newNode

      IDfOperationNode newNode(IDfId id) throws DfException
      Creates a new node for the given object.
      Parameters:
      id -
      Returns:
      IDfOperationNode returns a new node for the object
      Throws:
      DfException
    • newNode

      IDfOperationNode newNode(IDfFile file) throws DfException
      Creates a new node for the given file.
      Parameters:
      file -
      Returns:
      IDfOperationNode returns a new node for the file
      Throws:
      DfException
    • newNode

      IDfOperationNode newNode(IDfInputStreamContent inputStreamContent) throws DfException
      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 id
      childId - child object's id
      relationType - Currently, the relation type is one of dmr_containment, dm_relation, folder_link, or dm_assembly
      Returns:
      IDfOperationEdge
      Throws:
      DfException