public interface CustomerSearch extends OsidSearch
The search interface for governing customer searches.
Modifier and Type | Method and Description |
---|---|
CustomerSearchRecord |
getCustomerSearchRecord(Type customerSearchRecordType)
Gets the customer search record corresponding to the given customer
search record
Type. |
void |
orderCustomerResults(CustomerSearchOrder customerSearchOrder)
Specify an ordering to the search results.
|
void |
searchAmongCustomers(IdList customerIds)
Execute this search among the given list of customers.
|
limitResultSet
getRecordTypes, hasRecordType
void searchAmongCustomers(IdList customerIds)
customerIds
- list of customersNullArgumentException
- customerIds
is
null
mandatory
- This method must be implemented. void orderCustomerResults(CustomerSearchOrder customerSearchOrder)
customerSearchOrder
- customer search orderNullArgumentException
- customerSearchOrder
is null
UnsupportedException
- customerSearchOrder
is not of this servicemandatory
- This method must be implemented. CustomerSearchRecord getCustomerSearchRecord(Type customerSearchRecordType) throws OperationFailedException
Type.
This method is used to retrieve an
object implementing the requested record.customerSearchRecordType
- a customer search record typeNullArgumentException
- customerSearchRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(customerSearchRecordType)
is
false
mandatory
- This method must be implemented.