Interface BusinessSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing business searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetBusinessSearchRecord(Type businessSearchRecordType) Gets the business search record corresponding to the given business search recordType.voidorderBusinessResults(BusinessSearchOrder businessSearchOrder) Specify an ordering to the search results.voidsearchAmongBusinesses(IdList businessIds) Execute this search among the given list of businesses.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
-
searchAmongBusinesses
Execute this search among the given list of businesses.- Parameters:
businessIds- list of businesses- Throws:
NullArgumentException-businessIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderBusinessResults
Specify an ordering to the search results.- Parameters:
businessSearchOrder- business search order- Throws:
NullArgumentException-businessSearchOrderisnullUnsupportedException-businessSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getBusinessSearchRecord
BusinessSearchRecord getBusinessSearchRecord(Type businessSearchRecordType) throws OperationFailedException Gets the business search record corresponding to the given business search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
businessSearchRecordType- a business search record type- Returns:
- the business search record
- Throws:
NullArgumentException-businessSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(businessSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-