| Interface | osid.search.Query | ||
|---|---|---|---|
| Implements | osid.OsidQuery | ||
| Description | This is the query interface. | ||
| Method | getQueryRecord | ||
| Description | Gets the query record corresponding to the given  | ||
| Parameters | osid.type.Type | queryRecordType | a query record type | 
| Return | osid.search.records.QueryRecord | the query record | |
| Errors | NULL_ARGUMENT |  queryRecordType is null  | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure occurred | ||
| UNSUPPORTED |  hasRecordType(queryRecordType) is false  | ||
| Compliance | mandatory | This method must be implemented. | |