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

Method to efficiently get children ids

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.1.4
    • Component/s: Core
    • Impact type:
      API change
    • Upgrade notes:
      Hide

      New methods:

      • CoreSession#getChildrenRefs()
      • Document#getChildrenIds()
      Show
      New methods: CoreSession#getChildrenRefs() Document#getChildrenIds()

      Description

      Today there's currently no way to get the list of children ids. We have to get the children DocumentModels and get their ids, which is costly when there are many children as lots of data is retrieved needlessly.

      -> add a getChildrenRefs() method on CoreSession.

        Attachments

          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:

                Time Tracking

                Estimated:
                Original Estimate - 3 hours
                3h
                Remaining:
                Remaining Estimate - 3 hours
                3h
                Logged:
                Time Spent - Not Specified
                Not Specified