Interface CatalogSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing the search query for
Catalogs .
-
Method Summary
Modifier and TypeMethodDescriptiongetCatalogSearchRecord(Type catalogSearchRecordType) Gets the catalog search record corresponding to the given catalog search recordType.voidorderCatalogResults(CatalogSearchOrder catalogSearchOrder) Specify an ordering to the search results.voidsearchAmongCatalogs(IdList catalogIds) Execute this search among the given list of catalogs.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
-
searchAmongCatalogs
Execute this search among the given list of catalogs.- Parameters:
catalogIds- list of catalogs- Throws:
NullArgumentException-catalogIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderCatalogResults
Specify an ordering to the search results.- Parameters:
catalogSearchOrder- catalog search order- Throws:
NullArgumentException-catalogSearchOrderisnullUnsupportedException-catalogSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getCatalogSearchRecord
CatalogSearchRecord getCatalogSearchRecord(Type catalogSearchRecordType) throws OperationFailedException Gets the catalog search record corresponding to the given catalog search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
catalogSearchRecordType- a catalog search record type- Returns:
- the catalog search record
- Throws:
NullArgumentException-catalogSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(catalogSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-