Interface | osid.learning.ActivityObjectiveBankSession | ||
---|---|---|---|
Implements | osid.OsidSession | ||
Description |
This session provides methods to retrieve This lookup session defines two views:
| ||
Method | canLookupActivityObjectiveBankMappings | ||
Description |
Tests if this user can perform lookups of
activity/objective bank mappings. A return of true does
not guarantee successful authorization. A return of false
indicates that it is known lookup methods in this session
will result in a | ||
Return | boolean | false if looking up mappings is not authorized, true
otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | useComparativeObjectiveBankView | ||
Description |
The returns from the lookup methods may omit or translate elements based on this session, such as authorization, and not result in an error. This view is used when greater interoperability is desired at the expense of precision. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | usePlenaryObjectiveBankView | ||
Description |
A complete view of the | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getActivityIdsByObjectiveBank | ||
Description |
Gets the list of | ||
Parameters | osid.id.Id | objectiveBankId | Id of the ObjectiveBank |
Return | osid.id.IdList | list of related activity Ids | |
Errors | NOT_FOUND | objectiveBankId is not found | |
NULL_ARGUMENT | objectiveBankId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getActivitiesByObjectiveBank | ||
Description |
Gets the list of | ||
Parameters | osid.id.Id | objectiveBankId | Id of the ObjectiveBank |
Return | osid.learning.ActivityList | list of related activities | |
Errors | NOT_FOUND | objectiveBankId is not found | |
NULL_ARGUMENT | objectiveBankId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getActivityIdsByObjectiveBanks | ||
Description |
Gets the list of | ||
Parameters | osid.id.IdList | objectiveBankIds | list of objective bank Ids |
Return | osid.id.IdList | list of activity Ids | |
Errors | NULL_ARGUMENT | objectiveBankIds is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getActivitiesByObjectiveBanks | ||
Description |
Gets the list of | ||
Parameters | osid.id.IdList | objectiveBankIds | list of objective bank Ids |
Return | osid.learning.ActivityList | list of activities | |
Errors | NULL_ARGUMENT | objectiveBankIds is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getObjectiveBankIdsByActivity | ||
Description |
Gets the list of | ||
Parameters | osid.id.Id | activityId | Id of a Activity |
Return | osid.id.IdList | list of objective bank Ids | |
Errors | NOT_FOUND | activityId is not found | |
NULL_ARGUMENT | activityId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getObjectiveBanksByActivity | ||
Description |
Gets the list of | ||
Parameters | osid.id.Id | activityId | Id of a Activity |
Return | osid.learning.ObjectiveBankList | list of objective bank Ids | |
Errors | NOT_FOUND | activityId is not found | |
NULL_ARGUMENT | activityId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |