public interface PaymentSearchOrder extends OsidObjectSearchOrder
An interface for specifying the ordering of search results.
| Modifier and Type | Method and Description |
|---|---|
CustomerSearchOrder |
getCustomerSearchOrder()
Specifies a preference for ordering the result set by the customer.
|
PayerSearchOrder |
getPayerSearchOrder()
Specifies a preference for ordering the result set by the payer.
|
PaymentSearchOrderRecord |
getPaymentSearchOrderRecord(Type paymentRecordType)
Gets the payment search order record corresponding to the given
payment record
Type. |
PeriodSearchOrder |
getPeriodSearchOrder()
Specifies a preference for ordering the result set by the billing
period.
|
void |
orderByAmount(SearchOrderStyle style)
Specifies a preference for ordering the result set by the amount.
|
void |
orderByCustomer(SearchOrderStyle style)
Specifies a preference for ordering the result set by the customer.
|
void |
orderByPayer(SearchOrderStyle style)
Specifies a preference for ordering the result set by the payer.
|
void |
orderByPaymentDate(SearchOrderStyle style)
Specifies a preference for ordering the result set by the payment
date.
|
void |
orderByPeriod(SearchOrderStyle style)
Specifies a preference for ordering the result set by the billing
period.
|
void |
orderByProcessDate(SearchOrderStyle style)
Specifies a preference for ordering the result set by the process
date.
|
boolean |
supportsCustomerSearchOrder()
Tests if a customer search order is available.
|
boolean |
supportsPayerSearchOrder()
Tests if a payer search order is available.
|
boolean |
supportsPeriodSearchOrder()
Tests if a billing period search order is available.
|
orderByCreateTime, orderByCumulativeRating, orderByDescription, orderByDisplayName, orderByGenusType, orderByLastModifiedTime, orderByState, orderByStatisticorderByIdgetRecordTypes, hasRecordTypevoid orderByPayer(SearchOrderStyle style)
style - a search order styleNullArgumentException - style is
null mandatory - This method must be implemented. boolean supportsPayerSearchOrder()
true if a payer search order is available,
false otherwisemandatory - This method must be implemented. PayerSearchOrder getPayerSearchOrder()
UnimplementedException -
supportsPayerSearchOrder() is false optional - This method must be implemented if
supportsPayerSearchOrder() is true. void orderByCustomer(SearchOrderStyle style)
style - a search order styleNullArgumentException - style is
null mandatory - This method must be implemented. boolean supportsCustomerSearchOrder()
true if a customer search order is available,
false otherwisemandatory - This method must be implemented. CustomerSearchOrder getCustomerSearchOrder()
UnimplementedException -
supportsCustomerSearchOrder() is false optional - This method must be implemented if
supportsCustomerSearchOrder() is true.
void orderByPeriod(SearchOrderStyle style)
style - a search order styleNullArgumentException - style is
null mandatory - This method must be implemented. boolean supportsPeriodSearchOrder()
true if a period search order is available,
false otherwisemandatory - This method must be implemented. PeriodSearchOrder getPeriodSearchOrder()
UnimplementedException -
supportsPeriodSearchOrder() is false optional - This method must be implemented if
supportsPeriodSearchOrder() is true.
void orderByPaymentDate(SearchOrderStyle style)
style - a search order styleNullArgumentException - style is
null mandatory - This method must be implemented. void orderByProcessDate(SearchOrderStyle style)
style - a search order styleNullArgumentException - style is
null mandatory - This method must be implemented. void orderByAmount(SearchOrderStyle style)
style - a search order styleNullArgumentException - style is
null mandatory - This method must be implemented. PaymentSearchOrderRecord getPaymentSearchOrderRecord(Type paymentRecordType) throws OperationFailedException
Type. Multiple retrievals return the
same underlying object.paymentRecordType - a payment record typeNullArgumentException - paymentRecordType
is null OperationFailedException - unable to complete requestUnsupportedException -
hasRecordType(paymentRecordType) is false
mandatory - This method must be implemented.