Interface BrokerSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing broker searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetBrokerSearchRecord(Type brokerSearchRecordType) Gets the broker search record corresponding to the given broker search recordType.voidorderBrokerResults(BrokerSearchOrder brokerSearchOrder) Specify an ordering to the search results.voidsearchAmongBrokers(IdList brokerIds) Execute this search among the given list of brokers.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
-
searchAmongBrokers
Execute this search among the given list of brokers.- Parameters:
brokerIds- list of brokers- Throws:
NullArgumentException-brokerIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderBrokerResults
Specify an ordering to the search results.- Parameters:
brokerSearchOrder- broker search order- Throws:
NullArgumentException-brokerSearchOrderisnullUnsupportedException-brokerSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getBrokerSearchRecord
BrokerSearchRecord getBrokerSearchRecord(Type brokerSearchRecordType) throws OperationFailedException Gets the broker search record corresponding to the given broker search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
brokerSearchRecordType- a broker search record type- Returns:
- the broker search record
- Throws:
NullArgumentException-brokerSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(brokerSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-