Interface CustomerSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing customer searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetCustomerSearchRecord(Type customerSearchRecordType) Gets the customer search record corresponding to the given customer search recordType.voidorderCustomerResults(CustomerSearchOrder customerSearchOrder) Specify an ordering to the search results.voidsearchAmongCustomers(IdList customerIds) Execute this search among the given list of customers.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
-
searchAmongCustomers
Execute this search among the given list of customers.- Parameters:
customerIds- list of customers- Throws:
NullArgumentException-customerIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderCustomerResults
Specify an ordering to the search results.- Parameters:
customerSearchOrder- customer search order- Throws:
NullArgumentException-customerSearchOrderisnullUnsupportedException-customerSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getCustomerSearchRecord
CustomerSearchRecord getCustomerSearchRecord(Type customerSearchRecordType) throws OperationFailedException Gets the customer search record corresponding to the given customer search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
customerSearchRecordType- a customer search record type- Returns:
- the customer search record
- Throws:
NullArgumentException-customerSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(customerSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-