Interface OrderSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing order searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetOrderSearchRecord(Type orderSearchRecordType) Gets the order record corresponding to the given order search recordType.voidorderOrderResults(OrderSearchOrder orderSearchOrder) Specify an ordering to the search results.voidsearchAmongOrders(IdList orderIds) Execute this search among the given list of orders.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
-
searchAmongOrders
Execute this search among the given list of orders.- Parameters:
orderIds- list of orders- Throws:
NullArgumentException-orderIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderOrderResults
Specify an ordering to the search results.- Parameters:
orderSearchOrder- order search order- Throws:
NullArgumentException-orderSearchOrderisnullUnsupportedException-orderSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getOrderSearchRecord
Gets the order record corresponding to the given order search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
orderSearchRecordType- an order search record type- Returns:
- the order search record
- Throws:
NullArgumentException-orderSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(orderSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-