Interface | osid.inquiry.ResponseInquestSession | ||
---|---|---|---|
Implements | osid.OsidSession | ||
Description |
This session provides methods to retrieve This lookup session defines several views:
| ||
Method | canLookupResponseInquestResponses | ||
Description |
Tests if this user can perform lookups of
response/inquest 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 responses is not authorized, true
otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | useComparativeResponseInquestView | ||
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 | usePlenaryResponseInquestView | ||
Description |
A complete view of the | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getResponseIdsByInquest | ||
Description |
Gets the list of | ||
Parameters | osid.id.Id | inquestId | Id of the Inquest |
Return | osid.id.IdList | list of related response Ids | |
Errors | NOT_FOUND | inquestId is not found | |
NULL_ARGUMENT | inquestId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getResponsesByInquest | ||
Description |
Gets the list of | ||
Parameters | osid.id.Id | inquestId | Id of the Inquest |
Return | osid.inquiry.ResponseList | list of related responses | |
Errors | NOT_FOUND | inquestId is not found | |
NULL_ARGUMENT | inquestId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getResponseIdsByInquests | ||
Description |
Gets the list of | ||
Parameters | osid.id.IdList | inquestIds | list of inquest Ids |
Return | osid.id.IdList | list of response Ids | |
Errors | NULL_ARGUMENT | inquestIds is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getResponsesByInquests | ||
Description |
Gets the list of | ||
Parameters | osid.id.IdList | inquestIds | list of inquest Ids |
Return | osid.inquiry.ResponseList | list of responses | |
Errors | NULL_ARGUMENT | inquestIds is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getInquestIdsByResponse | ||
Description |
Gets the | ||
Parameters | osid.id.Id | responseId | Id of a Response |
Return | osid.id.IdList | list of inquests | |
Errors | NOT_FOUND | responseId is not found | |
NULL_ARGUMENT | responseId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getInquestsByResponse | ||
Description |
Gets the | ||
Parameters | osid.id.Id | responseId | Id of a Response |
Return | osid.inquiry.InquestList | list of inquests | |
Errors | NOT_FOUND | responseId is not found | |
NULL_ARGUMENT | responseId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |