Interface CatalogueSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing catalogue searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetCatalogueSearchRecord(Type catalogueSearchRecordType) Gets the record corresponding to the given catalogue search recordType.voidorderCatalogueResults(CatalogueSearchOrder catalogueSearchOrder) Specify an ordering to the search results.voidsearchAmongCatalogues(IdList catalogueIds) Execute this search among the given list of catalogues.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
-
searchAmongCatalogues
Execute this search among the given list of catalogues.- Parameters:
catalogueIds- list of catalogues- Throws:
NullArgumentException-catalogueIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderCatalogueResults
Specify an ordering to the search results.- Parameters:
catalogueSearchOrder- catalogue search order- Throws:
NullArgumentException-catalogueSearchOrderisnullUnsupportedException-catalogueSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getCatalogueSearchRecord
CatalogueSearchRecord getCatalogueSearchRecord(Type catalogueSearchRecordType) throws OperationFailedException Gets the record corresponding to the given catalogue search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
catalogueSearchRecordType- a catalogue search record type- Returns:
- the catalogue search record
- Throws:
NullArgumentException-catalogueSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(catalogueSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-