Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-316

Various improvements to the Graph API

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Major
    • 0.4
    • 0.3
    • API, Graph (2.x)
    • None
    • Low

    Description

      The Graph API needs a few improvements, including:
      1) add a request to verify the existance of a node (basically, this checks for existence and fetches the actual location)
      2) add a way to copy a node by specifying the path of the desired location (in addition to the current mechanism of specifying the parent and inferring the name of the new node from the original). This could be accomplished by adding the desired name to the CopyBranchRequest, and then updating all of the RequestProcessor implementations to use this optional information. This may affect a number of classes.
      3) make NamespaceRegistry.Namespace extend Comparable<Namespace> so that namespaces can be sorted naturally
      4) improve the efficiency of the AbstractPath.equals(...) implementation, which is not efficiently iterating up the Path.Segment instances.

      Attachments

        Activity

          People

            rhauch Randall Hauch (Inactive)
            rhauch Randall Hauch (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: