Interface BankSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The interface for governing bank searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetBankSearchRecord(Type bankSearchRecordType) Gets the bank search record corresponding to the given bank search recordType.voidorderBankResults(BankSearchOrder bankSearchOrder) Specify an ordering to the search results.voidsearchAmongBanks(IdList bankIds) Execute this search among the given list of banks.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
-
searchAmongBanks
Execute this search among the given list of banks.- Parameters:
bankIds- list of banks- Throws:
NullArgumentException-bankIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderBankResults
Specify an ordering to the search results.- Parameters:
bankSearchOrder- bank search order- Throws:
NullArgumentException-bankSearchOrderisnullUnsupportedException-bankSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getBankSearchRecord
Gets the bank search record corresponding to the given bank search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
bankSearchRecordType- a bank search record type- Returns:
- the bank search record
- Throws:
NullArgumentException-bankSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(bankSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-