| Interface | osid.course.program.ProgramSearchSession | ||
|---|---|---|---|
| Implements | osid.course.program.ProgramQuerySession | ||
| Description | This session provides methods for searching among    This session defines views that offer differing behaviors for searching. 
  Programs may have a query record indicated by their 
                respective record types. The query record is accessed via the 
                 | ||
| Method | getProgramSearch | ||
| Description | Gets a program search. | ||
| Return | osid.course.program.ProgramSearch | the program search | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getProgramSearchOrder | ||
| Description | Gets a program search order. The  | ||
| Return | osid.course.program.ProgramSearchOrder | the program search order | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getProgramsBySearch | ||
| Description | Gets the search results matching the given search query using the given search. | ||
| Parameters | osid.course.program.ProgramQuery | programQuery | the program query | 
| osid.course.program.ProgramSearch | programSearch | the program search | |
| Return | osid.course.program.ProgramSearchResults | the program search results | |
| Errors | NULL_ARGUMENT |  programQuery or programSearch is null 
 | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED |  programQuery or programSearch is not of this 
service | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getProgramQueryFromInspector | ||
| Description | Gets a program query from an inspector. The inspector 
                    is available from a  | ||
| Parameters | osid.course.program.ProgramQueryInspector | programQueryInspector | a program query inspector | 
| Return | osid.course.program.ProgramQuery | the program query | |
| Errors | NULL_ARGUMENT |  programQueryInspector is null  | |
| UNSUPPORTED |  programQueryInspector is not of this service | ||
| Compliance | mandatory | This method must be implemented. | |