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

Create variant of getResourcesOfType that restricts query to specific site/contexts

    XMLWordPrintable

    Details

    • Type: Task
    • Status: CLOSED
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.6.x, 2.7.x
    • Fix Version/s: 2.6.x, 2.7.x
    • Component/s: Kernel
    • Labels:

      Description

      ContentHostingService should implement a new method as follows, to address issues described in SAK-14165:

      /**

      • Retrieve a collection of ContentResource objects of a particular resource-type in a set of contexts
        *
      • @param resourceType select resources where CONTENT_RESOURCE.RESOURCE_TYPE_ID equals resourceType
      • @param context select resources where CONTENT_RESOURCE.CONTEXT in [context,...]
      • @return collection of ContentResource
        */
        public Collection<ContentResource> getContextResourcesOfType(String resourceType, Set<String> contextIds);

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  • Assignee:
                    bkirschn Beth Kirschner
                    Reporter:
                    bkirschn Beth Kirschner
                  • Votes:
                    0 Vote for this issue
                    Watchers:
                    1 Start watching this issue

                    Dates

                    • Created:
                      Updated:
                      Resolved:

                      Git Integration