Interface CommissionSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing commission searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetCommissionSearchRecord(Type commissionSearchRecordType) Gets the commission search record corresponding to the given commission search recordType.This method is used to retrieve an object implementing the requested record.voidorderCommissionResults(CommissionSearchOrder commissionSearchOrder) Specify an ordering to the search results.voidsearchAmongCommissions(IdList commissionIds) Execute this search among the given list of commissions.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
-
searchAmongCommissions
Execute this search among the given list of commissions.- Parameters:
commissionIds- list of commissions- Throws:
NullArgumentException-commissionIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderCommissionResults
Specify an ordering to the search results.- Parameters:
commissionSearchOrder- commission search order- Throws:
NullArgumentException-commissionSearchOrderisnullUnsupportedException-commissionSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getCommissionSearchRecord
CommissionSearchRecord getCommissionSearchRecord(Type commissionSearchRecordType) throws OperationFailedException Gets the commission search record corresponding to the given commission search recordType.This method is used to retrieve an object implementing the requested record.- Parameters:
commissionSearchRecordType- a commission search record type- Returns:
- the commission search record
- Throws:
NullArgumentException-commissionSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(commissionSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-