Interface RelevancySearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
RelevancySearch defines the interface for specifying relevancy
search options.
-
Method Summary
Modifier and TypeMethodDescriptiongetRelevancySearchRecord(Type relevancySearchRecordType) Gets the relevancy search record corresponding to the given relevancy search recordType.voidorderRelevancyResults(RelevancySearchOrder relevancySearchOrder) Specify an ordering to the search results.voidsearchAmongRelevancies(IdList relevancyIds) Execute this search among the given list of relevancies.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
-
searchAmongRelevancies
Execute this search among the given list of relevancies.- Parameters:
relevancyIds- list of relevancies- Throws:
NullArgumentException-relevancyIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderRelevancyResults
Specify an ordering to the search results.- Parameters:
relevancySearchOrder- relevancy search order- Throws:
NullArgumentException-relevancySearchOrderisnullUnsupportedException-relevancySearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getRelevancySearchRecord
RelevancySearchRecord getRelevancySearchRecord(Type relevancySearchRecordType) throws OperationFailedException, PermissionDeniedException Gets the relevancy search record corresponding to the given relevancy search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
relevancySearchRecordType- a relevancy search record type- Returns:
- the relevancy search record
- Throws:
NullArgumentException-relevancySearchRecordTypeisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure occurredUnsupportedException-hasRecordType(relevancySearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-