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

Need method in CHS to get resources of particular types

    XMLWordPrintable

    Details

    • Type: Task
    • Status: CLOSED
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: trunk
    • Fix Version/s: 2.5.0
    • Labels:
      None

      Description

      This is need for metaobj. The method signature is:

      /**

      • Retrieve a collection of ContentResource objects pf a particular resource-type. The collection will
      • contain no more than the number of items specified as the pageSize, where pageSize is a non-negative
      • number less than or equal to 1028. The resources will be selected in ascending order by resource-id.
      • If the resources of the specified resource-type in the ContentHostingService in ascending order by
      • resource-id are indexed from 0 to M and this method is called with parameters of N for pageSize and
      • I for page, the resources returned will be those with indexes (I*N) through ((I+1)*N - 1). For example,
      • if pageSize is 1028 and page is 0, the resources would be those with indexes of 0 to 1027.
      • @param resourceType
      • @param pageSize
      • @param page
      • @return
        */
        public Collection<ContentResource> getResourcesOfType(String resourceType, int pageSize, int page);

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  ostermmg@whitman.edu Mike Osterman
                  Reporter:
                  jimeng Jim Eng (Inactive)
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved:

                      Git Integration