Interface AcademySearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing academy searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetAcademySearchRecord(Type academySearchRecordType) Gets the academy search record corresponding to the given academy search recordType.voidorderAcademyResults(AcademySearchOrder academysearchOrder) Specify an ordering to the search results.voidsearchAmongAcademies(IdList academyIds) Execute this search among the given list of academies.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
-
searchAmongAcademies
Execute this search among the given list of academies.- Parameters:
academyIds- list of academies- Throws:
NullArgumentException-academyIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderAcademyResults
Specify an ordering to the search results.- Parameters:
academysearchOrder- academy search order- Throws:
NullArgumentException-academysearchOrderisnullUnsupportedException-academysearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getAcademySearchRecord
AcademySearchRecord getAcademySearchRecord(Type academySearchRecordType) throws OperationFailedException Gets the academy search record corresponding to the given academy search recordType. This method is used to retrieve an object implementing the requested record interface.- Parameters:
academySearchRecordType- an academy search record type- Returns:
- the academy search record
- Throws:
NullArgumentException-academysearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(academysearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-