Interface StoreSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing store searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetStoreSearchRecord(Type storeSearchRecordType) Gets the store search record corresponding to the given store search recordType.voidorderStoreResults(StoreSearchOrder storesearchOrder) Specify an ordering to the search results.voidsearchAmongStores(IdList storeIds) Execute this search among the given list of stores.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
-
searchAmongStores
Execute this search among the given list of stores.- Parameters:
storeIds- list of stores- Throws:
NullArgumentException-storeIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderStoreResults
Specify an ordering to the search results.- Parameters:
storesearchOrder- store search order- Throws:
NullArgumentException-storesearchOrderisnullUnsupportedException-storesearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getStoreSearchRecord
Gets the store search record corresponding to the given store search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
storeSearchRecordType- a store search record type- Returns:
- the store search record
- Throws:
NullArgumentException-storesearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(storesearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-