public interface ProgramSearch extends OsidSearch
The search interface for governing program searches.
Modifier and Type | Method and Description |
---|---|
ProgramSearchRecord |
getProgramSearchRecord(Type programSearchRecordType)
Gets the program search record corresponding to the given program
search record
Type. |
void |
orderProgramResults(ProgramSearchOrder programSearchOrder)
Specify an ordering to the search results.
|
void |
searchAmongPrograms(IdList programIds)
Execute this search among the given list of programs.
|
limitResultSet
getRecordTypes, hasRecordType
void searchAmongPrograms(IdList programIds)
programIds
- list of program Ids
NullArgumentException
- programIds
is
null
mandatory
- This method must be implemented. void orderProgramResults(ProgramSearchOrder programSearchOrder)
programSearchOrder
- program search orderNullArgumentException
- programSearchOrder
is null
UnsupportedException
- programSearchOrder
is not of this servicemandatory
- This method must be implemented. ProgramSearchRecord getProgramSearchRecord(Type programSearchRecordType) throws OperationFailedException
Type.
This method is used to retrieve an
object implementing the requested record.programSearchRecordType
- a program search record typeNullArgumentException
- programSearchRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(programSearchRecordType)
is false
mandatory
- This method must be implemented.