| Interface | osid.course.program.CredentialSearchOrder | ||
|---|---|---|---|
| Implements | osid.OsidObjectSearchOrder | ||
| Description | An interface for specifying the ordering of search results. | ||
| Method | orderByLifetime | ||
| Description | Specifies a preference for ordering the result set by lifetime. | ||
| Parameters | osid.SearchOrderStyle | style | a search order style | 
| Errors | NULL_ARGUMENT |  style is null  | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getCredentialSearchOrderRecord | ||
| Description | Gets the credential search order record corresponding 
                    to the given credential record  | ||
| Parameters | osid.type.Type | credentialRecordType | a credential record type | 
| Return | osid.course.program.records.CredentialSearchOrderRecord | the credential search order record | |
| Errors | NULL_ARGUMENT |  credentialRecordType is null  | |
| OPERATION_FAILED | unable to complete request | ||
| UNSUPPORTED |  hasRecordType(credentialRecordType) is false  | ||
| Compliance | mandatory | This method must be implemented. | |