|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ExternalAssignmentProvider
Provider model to integrate external assessment sources with the gradebook. Its present use is to provide advice about activity grouping and visibility so that learners are not shown activities in which they cannot participate. https://jira.sakaiproject.org/browse/SAK-19668
| Method Summary | |
|---|---|
Map<String,List<String>> |
getAllExternalAssignments(String gradebookUid,
Collection<String> studentIds)
Retrieve all assignments for a gradebook that are marked as externally maintained and are (potentially variably) visible to a set of users. |
String |
getAppKey()
Get the application identifier for this provider. |
List<String> |
getExternalAssignmentsForCurrentUser(String gradebookUid)
Retrieve all assignments for a gradebook that are marked as externally maintained and are visible to the current user. |
boolean |
isAssignmentDefined(String id)
Check if an assignment/assessment exists with the given identifier. |
boolean |
isAssignmentGrouped(String id)
Check if the given assignment is grouped. |
boolean |
isAssignmentVisible(String id,
String userId)
Check if the given assignment is visible to the given user. |
| Method Detail |
|---|
String getAppKey()
boolean isAssignmentDefined(String id)
boolean isAssignmentGrouped(String id)
id - The prefixed external ID as registered with Gradebook
boolean isAssignmentVisible(String id,
String userId)
id - The prefixed external ID as registered with GradebookuserId - The internal user ID for the user to checkList<String> getExternalAssignmentsForCurrentUser(String gradebookUid)
gradebookUid - The gradebook's unique identifier
Map<String,List<String>> getAllExternalAssignments(String gradebookUid,
Collection<String> studentIds)
gradebookUid - The gradebook's unique identifierstudentIds - The collection of user IDs to search/filter for
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||