public interface RelevancySearch extends OsidSearch
RelevancySearch defines the interface for specifying
relevancy search options.
| Modifier and Type | Method and Description |
|---|---|
RelevancySearchRecord |
getRelevancySearchRecord(Type relevancySearchRecordType)
Gets the relevancy search record corresponding to the given relevancy
search record
Type. |
void |
orderRelevancyResults(RelevancySearchOrder relevancySearchOrder)
Specify an ordering to the search results.
|
void |
searchAmongRelevancies(IdList relevancyIds)
Execute this search among the given list of relevancies.
|
limitResultSetgetRecordTypes, hasRecordTypevoid searchAmongRelevancies(IdList relevancyIds)
relevancyIds - list of relevanciesNullArgumentException - relevancyIds is
null mandatory - This method must be implemented. void orderRelevancyResults(RelevancySearchOrder relevancySearchOrder)
relevancySearchOrder - relevancy search orderNullArgumentException - relevancySearchOrder
is null UnsupportedException - relevancySearchOrder
is not of this servicemandatory - This method must be implemented. RelevancySearchRecord getRelevancySearchRecord(Type relevancySearchRecordType) throws OperationFailedException, PermissionDeniedException
Type. This method is used to retrieve an
object implementing the requested record.relevancySearchRecordType - a relevancy search record typeNullArgumentException -
relevancySearchRecordType is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failure
occurredUnsupportedException -
hasRecordType(relevancySearchRecordType) is
false mandatory - This method must be implemented.