Interface PaymentSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing payment searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetPaymentSearchRecord(Type paymentSearchRecordType) Gets the payment search record corresponding to the given payment search recordType.voidorderPaymentResults(PaymentSearchOrder paymentSearchOrder) Specify an ordering to the search results.voidsearchAmongPayments(IdList paymentIds) Execute this search among the given list of payments.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
-
searchAmongPayments
Execute this search among the given list of payments.- Parameters:
paymentIds- list of payers- Throws:
NullArgumentException-paymentIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderPaymentResults
Specify an ordering to the search results.- Parameters:
paymentSearchOrder- payer search order- Throws:
NullArgumentException-paymentSearchOrderisnullUnsupportedException-paymentSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getPaymentSearchRecord
PaymentSearchRecord getPaymentSearchRecord(Type paymentSearchRecordType) throws OperationFailedException Gets the payment search record corresponding to the given payment search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
paymentSearchRecordType- a payer search record type- Returns:
- the payment search record
- Throws:
NullArgumentException-paymentSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(paymentSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-