XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.5
    • Component/s: Core VCS, Relations
    • Impact type:
      API added
    • Upgrade notes:
      Hide

      To use the new graph type, define your graph like:

      <extension target="org.nuxeo.ecm.platform.relations.services.RelationService"
      point="graphs">
      <graph name="myrelations" type="core">
      <option name="doctype">DefaultRelation</option>
      </graph>
      </extension>

      The doctype defines what is used to store the relation objects for this graph. DefaultRelation is available by default.

      Two graphs may use the same doctype, which means that they can see each other's relations, so should probably filter on the predicate when searching them.

      Show
      To use the new graph type, define your graph like: <extension target="org.nuxeo.ecm.platform.relations.services.RelationService" point="graphs"> <graph name="myrelations" type="core"> <option name="doctype">DefaultRelation</option> </graph> </extension> The doctype defines what is used to store the relation objects for this graph. DefaultRelation is available by default. Two graphs may use the same doctype, which means that they can see each other's relations, so should probably filter on the predicate when searching them.

      Description

      This core graph stores relation in subtypes of the Relation doctype.
      The relation schema is extended with more info to allow for relations pointing to other things that doc ids:

      • predicate
      • sourceUri
      • targetUri
      • targetString

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                fguillaume Florent Guillaume
                Reporter:
                fguillaume Florent Guillaume
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: