Interface CategorySearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing category searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetCategorySearchRecord(Type categorySearchRecordType) Gets the category search record corresponding to the given category search recordType.voidorderCategoryResults(CategorySearchOrder categorySearchOrder) Specify an ordering to the search results.voidsearchAmongCategories(IdList categoryIds) Execute this search among the given list of categories.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
-
searchAmongCategories
Execute this search among the given list of categories.- Parameters:
categoryIds- list of customers- Throws:
NullArgumentException-categoryIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderCategoryResults
Specify an ordering to the search results.- Parameters:
categorySearchOrder- customer search order- Throws:
NullArgumentException-categorySearchOrderisnullUnsupportedException-categorySearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getCategorySearchRecord
CategorySearchRecord getCategorySearchRecord(Type categorySearchRecordType) throws OperationFailedException Gets the category search record corresponding to the given category search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
categorySearchRecordType- a customer search record type- Returns:
- the category search record
- Throws:
NullArgumentException-categorySearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(categorySearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-