public interface ProgramSearchResults extends OsidSearchResults
This interface provides a means to capture results of a search.
Modifier and Type | Method and Description |
---|---|
ProgramQueryInspector |
getProgramQueryInspector()
Gets the inspector for the query to examine the terms used in the
search.
|
ProgramList |
getPrograms()
Gets the program list resulting from a search.
|
ProgramSearchResultsRecord |
getProgramSearchResultsRecord(Type programSearchRecordType)
Gets the program search results record corresponding to the given
program search record
Type. |
getResultSize
getRecordTypes, hasRecordType
getProperties, getPropertiesByRecordType
ProgramList getPrograms()
IllegalStateException
- the program list has already
been retrievedmandatory
- This method must be implemented. ProgramQueryInspector getProgramQueryInspector()
mandatory
- This method must be implemented. ProgramSearchResultsRecord getProgramSearchResultsRecord(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.