-
Notifications
You must be signed in to change notification settings - Fork 1
/
contentreview.patch
72 lines (67 loc) · 2.73 KB
/
contentreview.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
Index: content-review-api/public/src/java/org/sakaiproject/contentreview/service/ContentReviewService.java
===================================================================
--- content-review-api/public/src/java/org/sakaiproject/contentreview/service/ContentReviewService.java (revision 313698)
+++ content-review-api/public/src/java/org/sakaiproject/contentreview/service/ContentReviewService.java (working copy)
@@ -47,12 +47,11 @@
*
* @param userID if nulll current user is used
* @param SiteId is null current site is used
- * @param Entity reference to the task this is for
- * @param Reference to the content object that should be submitted
+ * @param assignmentReference reference to the task this is for
+ * @param content list of content resources to be queued
*
*/
- public void queueContent(String userId, String siteId, String taskId, String contentId)
- throws QueueException;
+ public void queueContent(String userId, String siteId, String assignmentReference, List<ContentResource> content) throws QueueException;
/**
* Retrieve a score for a specific item
@@ -62,39 +61,45 @@
* @throws ReportException
* @throws Exception
*/
- public int getReviewScore(String contentId)
- throws QueueException, ReportException, Exception;
-
+ public int getReviewScore(String contentId, String assignmentRef, String userId) throws QueueException,
+ ReportException, Exception;
+
/**
* Get the URL of the report
* @param contentId
+ * @param assignmentRef
+ * @param userId
* @return the url
* @throws QueueException
* @throws ReportException
* * * @deprecated since Nov 2007, use {@link getReviewReportInstructor(String contentId)} or {@link getReviewReportInstructor(String contentId)}
*/
- public String getReviewReport(String contentId)
+ public String getReviewReport(String contentId, String assignmentRef, String userId)
throws QueueException, ReportException;
/**
* Get the URL of a report constructed for a student
* @param contentId
+ * @param assignmentRef
+ * @param userId
* @return
* @throws QueueException
* @throws ReportException
* */
- public String getReviewReportStudent(String contentId)
+ public String getReviewReportStudent(String contentId, String assignmentRef, String userId)
throws QueueException, ReportException;
/**
* Get the URL for a report constructed for an Instructor
*
* @param contentId
+ * @param assignmentRef
+ * @param userId
* @return
* @throws QueueException
* @throws ReportException
*/
- public String getReviewReportInstructor(String contentId)
+ public String getReviewReportInstructor(String contentId, String assignmentRef, String userId)
throws QueueException, ReportException;