Interface CustomerSearchResults
- All Superinterfaces:
Browsable, Extensible, OsidResult, OsidSearchResults
This interface provides a means to capture results of a search.
-
Method Summary
Modifier and TypeMethodDescriptionGets the inspector for the query to examine the terms used in the search.Gets the customer list resulting from a search.getCustomerSearchResultsRecord(Type customerSearchRecordType) Gets the customer search results record corresponding to the given customer search recordType.This method is used to retrieve an object implementing the requested record.Methods inherited from interface Browsable
getProperties, getPropertiesByRecordTypeMethods inherited from interface Extensible
getRecordTypes, hasRecordTypeMethods inherited from interface OsidSearchResults
getResultSize
-
Method Details
-
getCustomers
CustomerList getCustomers()Gets the customer list resulting from a search.- Returns:
- the customer list
- Throws:
IllegalStateException- the customer list has already been retrieved- Compliance:
mandatory- This method must be implemented.
-
getCustomerQueryInspector
CustomerQueryInspector getCustomerQueryInspector()Gets the inspector for the query to examine the terms used in the search.- Returns:
- the query inspector
- Compliance:
mandatory- This method must be implemented.
-
getCustomerSearchResultsRecord
CustomerSearchResultsRecord getCustomerSearchResultsRecord(Type customerSearchRecordType) throws OperationFailedException Gets the customer search results 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 results record
- Throws:
NullArgumentException-customerSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(customerSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-