Interface DistributorSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing distributor searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetDistributorSearchRecord(Type distributorSearchRecordType) Gets the distributor search record corresponding to the given distributor search recordType.This method is used to retrieve an object implementing the requested record.voidorderDistributorResults(DistributorSearchOrder distributorSearchOrder) Specify an ordering to the search results.voidsearchAmongDistributors(IdList distributorIds) Execute this search among the given list of distributors.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
-
searchAmongDistributors
Execute this search among the given list of distributors.- Parameters:
distributorIds- list of distributors- Throws:
NullArgumentException-distributorIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderDistributorResults
Specify an ordering to the search results.- Parameters:
distributorSearchOrder- distributor search order- Throws:
NullArgumentException-distributorSearchOrderisnullUnsupportedException-distributorSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getDistributorSearchRecord
DistributorSearchRecord getDistributorSearchRecord(Type distributorSearchRecordType) throws OperationFailedException Gets the distributor search record corresponding to the given distributor search recordType.This method is used to retrieve an object implementing the requested record.- Parameters:
distributorSearchRecordType- a distributor search record type- Returns:
- the distributor search record
- Throws:
NullArgumentException-distributorSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(distributorSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-