Interface ProgramSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing program searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetProgramSearchRecord(Type programSearchRecordType) Gets the program search record corresponding to the given program search recordType.voidorderProgramResults(ProgramSearchOrder programSearchOrder) Specify an ordering to the search results.voidsearchAmongPrograms(IdList programIds) Execute this search among the given list of programs.Methods inherited from interface Extensible
getRecordTypes, hasRecordTypeModifier and TypeMethodDescriptionGets the record types available in this object.booleanhasRecordType(Type recordType) Tests if this object supports the given recordType.Methods inherited from interface OsidSearch
limitResultSetModifier and TypeMethodDescriptionvoidlimitResultSet(long start, long end) By default, searches return all matching results.
-
Method Details
-
searchAmongPrograms
Execute this search among the given list of programs.- Parameters:
programIds- list of programIds- Throws:
NullArgumentException-programIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderProgramResults
Specify an ordering to the search results.- Parameters:
programSearchOrder- program search order- Throws:
NullArgumentException-programSearchOrderisnullUnsupportedException-programSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getProgramSearchRecord
ProgramSearchRecord getProgramSearchRecord(Type programSearchRecordType) throws OperationFailedException Gets the program search record corresponding to the given program search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
programSearchRecordType- a program search record type- Returns:
- the program search record
- Throws:
NullArgumentException-programSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(programSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-