public interface ExternalAssignmentProvider
| Modifier and Type | Method and Description |
|---|---|
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 externalAppName,
String externalId)
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.
|
String getAppKey()
boolean isAssignmentDefined(String externalAppName, String externalId)
externalId - boolean isAssignmentGrouped(String id)
id - The prefixed external ID as registered with Gradebookboolean 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 identifierMap<String,List<String>> getAllExternalAssignments(String gradebookUid, Collection<String> studentIds)
gradebookUid - The gradebook's unique identifierstudentIds - The collection of user IDs to search/filter forCopyright © 2003–2018 Sakai Project. All rights reserved.