Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-13631

Refactoring RelationManager

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.9.2
    • Component/s: Relations

      Description

      There is some code duplication between org.nuxeo.ecm.platform.relations.web.listener.ejb.RelationActionsBean and org.nuxeo.ecm.automation.core.operations.services.CreateRelation

      The event are not sent from CreateRelation, after talking with Thierry, i think a new DocumentRelationService with

      • addDocumentRelation(DocumentModel from, DocumentModel to, String predicate) ( not sure of the predicate type )
      • listDocumentOutgoingRelations(DocumentModel doc)
      • listDocumentIngoingRelations(DocumentModel doc)
      • deleteDocumentRelation(DocumentModel form, DocumentModel to, String predicate )

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: