click here for details... Sakai Executive Director Position Search now open
Issue Details (XML | Word | Printable)

Key: SAK-11535
Type: Task Task
Status: Closed Closed
Resolution: Fixed
Priority: Critical Critical
Assignee: Mike Osterman
Reporter: Jim Eng
Votes: 0
Watchers: 4
Operations

If you were logged in you would be able to see more operations.
Sakai

Need method in CHS to get resources of particular types

Created: 16-Sep-2007 20:04   Updated: 22-Apr-2009 14:32
Component/s: Content service (Pre-K1/2.6)
Affects Version/s: trunk [DO NOT USE]
Fix Version/s: 2.5.0

Time Tracking:
Not Specified

Issue Links:
Depend
 
Relate

2.6.x Status: None
2.5.x Status: None
2.4.x Status: None


 Description  « Hide
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);


 All   Comments   Work Log   Change History   Subversion Commits   git Commits      Sort Order: Ascending order - Click to sort in descending order
Jim Eng added a comment - 17-Sep-2007 13:10
Most of this was in for code freeze. If there was stuff that didn't make the cutoff, it needs to be picked up in the next tag.

Jim Eng added a comment - 14-Nov-2007 08:29
This needs to be included in post-2.4.

Megan May added a comment - 06-Feb-2008 11:59
Tasks for 2.5.0 have been completed. We're nearing the end of the QA cycle and A lot of general regression testing has been going on for the past few months - the changes have likely been reviewed via this method of testing