Interface CustomVaultInterface


public interface CustomVaultInterface


Supported API: true
  • Method Details

    • isNodePublishable

      boolean isNodePublishable(NavNode parentAssembly, NavNode parentNode, NavNode node) throws VaultException
      Returns true if the given node should be added to the assembly else false will be returned.

      Supported API: true
      Parameters:
      parentAssembly - parent Assembly which is processed.
      parentNode - parent node as per the assembly structure in vault.
      node - node for which the function should return whether this node should be added to the assembly or not.
      Returns:
      boolean
      Throws:
      VaultException
    • getParentNode

      NavNode getParentNode(NavTree assembly, NavNode defaultParentNode, NavNode node) throws VaultException
      Returns parent node for the given Node. If the node returned is other than defaultParentNode ensure that node's resultant orientation is properly computed and set.

      Supported API: true
      Parameters:
      assembly - assembly which is processed
      defaultParentNode - parent node as per the assembly structure in vault
      node - node for which the function should return the parent node, which you wish to assign.
      Returns:
      NavNode
      Throws:
      VaultException
    • getAdditionalNodes

      NavNode[] getAdditionalNodes(NavTree assembly) throws VaultException
      Returns an array of additional NavNodes representing bulk parts to be added to the assembly. Returns null if no additional bulk nodes are to be added. The method allows to add NavNodes for bulk parts that are to be added to assembly but are not part of the assembly structure as stored in Vault.

      Supported API: true
      Parameters:
      assembly - assembly for which additional nodes are to be added.
      Returns:
      array of NavNodes
      Throws:
      VaultException