Interface | osid.inquiry.InquiryLookupSession | ||
---|---|---|---|
Implements | osid.OsidSession | ||
Description |
This session provides methods for retrieving This session defines views that offer differing behaviors when retrieving multiple objects.
Generally, the comparative view should be used for most
applications as it permits operation even if there is data
that cannot be accessed. The methods | ||
Method | getInquestId | ||
Description |
Gets the | ||
Return | osid.id.Id | the Inquest Id associated with this session | |
Compliance | mandatory | This method must be implemented. | |
Method | getInquest | ||
Description |
Gets the | ||
Return | osid.inquiry.Inquest | the inquest | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | canLookupInquiries | ||
Description |
Tests if this user can perform | ||
Return | boolean | false if lookup methods are not authorized, true
otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | useComparativeInquiryView | ||
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 | usePlenaryInquiryView | ||
Description |
A complete view of the | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useFederatedInquestView | ||
Description |
Federates the view for methods in this session. A federated view will include inquiries in inquests which are children of this inquest in the inquest hierarchy. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useIsolatedInquestView | ||
Description |
Isolates the view for methods in this session. An isolated view restricts lookups to this inquest only. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useActiveInquiryView | ||
Description |
Only active inquiries are returned by methods in this session. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useAnyStatusInquiryView | ||
Description |
All inquiries of any active or inactive status are returned by methods in this session. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getInquiry | ||
Description |
Gets the In active mode, inquiries are returned that are currently active. In any status mode, both active and inactive inquiries are returned. | ||
Parameters | osid.id.Id | inquiryId | Id of the Inquiry |
Return | osid.inquiry.Inquiry | the inquiry | |
Errors | NOT_FOUND | inquiryId not found | |
NULL_ARGUMENT | inquiryId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getInquiriesByIds | ||
Description |
Gets an In active mode, inquiries are returned that are currently active. In any status mode, both active and inactive inquiries are returned. | ||
Parameters | osid.id.IdList | inquiryIds | the list of Ids to retrieve |
Return | osid.inquiry.InquiryList | the returned Inquiry list | |
Errors | NOT_FOUND | an Id was not found | |
NULL_ARGUMENT | inquiryIds is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getInquiriesByGenusType | ||
Description |
Gets an In active mode, inquiries are returned that are currently active. In any status mode, both active and inactive inquiries are returned. | ||
Parameters | osid.type.Type | inquiryGenusType | an inquiry genus type |
Return | osid.inquiry.InquiryList | the returned Inquiry list | |
Errors | NULL_ARGUMENT | inquiryGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getInquiriesByParentGenusType | ||
Description |
Gets an In effective mode, inquiries are returned that are currently effective. In any effective mode, effective inquiries and those currently expired are returned. | ||
Parameters | osid.type.Type | inquiryGenusType | an inquiry genus type |
Return | osid.inquiry.InquiryList | the returned Inquiry list | |
Errors | NULL_ARGUMENT | inquiryGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getInquiriesByRecordType | ||
Description |
Gets an In active mode, inquiries are returned that are currently active. In any status mode, both active and inactive inquiries are returned. | ||
Parameters | osid.type.Type | inquiryRecordType | an inquiry record type |
Return | osid.inquiry.InquiryList | the returned Inquiry list | |
Errors | NULL_ARGUMENT | inquiryRecordType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getInquiriesForAudit | ||
Description |
Gets a list of inquiries for a supplied audit. In active mode, inquiries are returned that are currently active. In any status mode, both active and inactive inquiries are returned. | ||
Parameters | osid.id.Id | auditId | an audit Id |
Return | osid.inquiry.InquiryList | the returned Inquiry list | |
Errors | NULL_ARGUMENT | auditId is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getInquiries | ||
Description |
Gets all In active mode, inquiries are returned that are currently active. In any status mode, both active and inactive inquiries are returned. | ||
Return | osid.inquiry.InquiryList | a list of Inquiries | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |