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

Deprecated public use of DocumentPart

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 8.2
    • Fix Version/s: 8.10
    • Component/s: Core
    • Upgrade notes:
      Hide

      Deprecated:

      • DocumentPart
      • DocumentModel.getPart(schema)
      • DocumentModel.getParts()
        New methods:
      • DocumentModel.getPropertyObject(schema, name)
      • DocumentModel.getPropertyObjects(schema)
      Show
      Deprecated: DocumentPart DocumentModel.getPart(schema) DocumentModel.getParts() New methods: DocumentModel.getPropertyObject(schema, name) DocumentModel.getPropertyObjects(schema)
    • Sprint:
      nxFG 8.4.6

      Description

      A DocumentPart should be an internal aspect of the DocumentModel. But it's currently visible to outside code through DocumentModel methods.

      With this change, the DocumentPart class and the DocumentModel.getPart(schema) and DocumentModel.getParts() methods are now deprecated. Two new additional methods are provided to achieve the same goals: DocumentModel.getPropertyObject(schema, name) and DocumentModel.getPropertyObjects(schema).

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  PagerDuty

                  Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.