Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-1660

Need efficient method for expanding all content collections

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 2.0.1, 2.1.0, 2.1.1, 2.1.2, 2.2.0, 2.2.1, 2.2.2, 2.2.3
    • Fix Version/s: None
    • Labels:
      None

      Description

      When the user clicks on the resource tool's "expand-all" twiggle, the tool does a depth-first search for content collections within a base collection and adds each ContentCollection object to a Map keyed on the collection-id. With large collections, the number of separate database queries results in a slow response. It would be more efficient to aggregate results at the database level, rather than making repeated queries from the java code. We are looking for something similar to ContentHostingService.getAllResources, except it will get ContentCollection objects instead of ContentResource objects. Also, it would be helpful if the return value was a Map keyed on the collection-id, instead of a List.

      Please assign this to someone adept at SQL programming.

        Gliffy Diagrams

          Zeplin

            Attachments

              Activity

                People

                Assignee:
                baholladay Bryan Holladay
                Reporter:
                jimeng Jim Eng (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Git Integration