Interface CookbookSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing cookbook searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetCookbookSearchRecord(Type cookbookSearchRecordType) Gets the cookbook search record corresponding to the given cookbook search recordType.voidorderCookbookResults(CookbookSearchOrder cookbooksearchOrder) Specify an ordering to the search results.voidsearchAmongCookbooks(IdList cookbookIds) Execute this search among the given list of cookbooks.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
-
searchAmongCookbooks
Execute this search among the given list of cookbooks.- Parameters:
cookbookIds- list of cookbooks- Throws:
NullArgumentException-cookbookIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderCookbookResults
Specify an ordering to the search results.- Parameters:
cookbooksearchOrder- cookbook search order- Throws:
NullArgumentException-cookbooksearchOrderisnullUnsupportedException-cookbooksearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getCookbookSearchRecord
CookbookSearchRecord getCookbookSearchRecord(Type cookbookSearchRecordType) throws OperationFailedException Gets the cookbook search record corresponding to the given cookbook search recordType. This method is used to retrieve an object implementing the requested record interface.- Parameters:
cookbookSearchRecordType- a cookbook search record type- Returns:
- the cookbook search record
- Throws:
NullArgumentException-cookbooksearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(cookbooksearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-