Interface PayerSearchOrder
- All Superinterfaces:
Extensible, OsidBrowsableSearchOrder, OsidExtensibleSearchOrder, OsidIdentifiableSearchOrder, OsidObjectSearchOrder, OsidSearchOrder, OsidTemporalSearchOrder, Suppliable
An interface for specifying the ordering of search results.
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies a preference for ordering the result set by the customer.getPayerSearchOrderRecord(Type payerRecordType) Gets the payer search order record corresponding to the given payer recordType.Specifies a preference for ordering the result set by the resource.voidSpecifies a preference for ordering the result set by the bank account number.voidSpecifies a preference for ordering the result set by the bank routing number.voidSpecifies a preference for ordering the result set by the credit card code.voidSpecifies a preference for ordering the result set by the credit card expiration.voidSpecifies a preference for ordering the result set by the credit card number.voidorderByCustomer(SearchOrderStyle style) Specifies a preference for ordering the result set by the customer.voidorderByResource(SearchOrderStyle style) Specifies a preference for ordering the result set by the resource.voidSpecifies a preference for ordering the result set by activity based customers.voidorderByUsesCash(SearchOrderStyle style) Specifies a preference for ordering the result set by cash customers.booleanTests if a customer search order is available.booleanTests if a resource search order is available.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 OsidIdentifiableSearchOrder
orderByIdModifier and TypeMethodDescriptionvoidorderById(SearchOrderStyle style) Specifies a preference for ordering the result set by theId.Methods inherited from interface OsidObjectSearchOrder
orderByCreateTime, orderByCumulativeRating, orderByDescription, orderByDisplayName, orderByGenusType, orderByLastModifiedTime, orderByState, orderByStatisticModifier and TypeMethodDescriptionvoidOrders by the timestamp of the first journal entry.voidorderByCumulativeRating(Id bookId, SearchOrderStyle style) Orders by the cumulative rating in a givenBook.voidSpecifies a preference for ordering the result set by the description.voidSpecifies a preference for ordering the result set by the display name.voidorderByGenusType(SearchOrderStyle style) Specifies a preference for ordering the result set by the genus type.voidOrders by the timestamp of the last journal entry.voidorderByState(Id processId, SearchOrderStyle style) Orders by the state in a givenProcess.voidorderByStatistic(Id meterId, SearchOrderStyle style) Orders by a statistic for a givenMeter.Methods inherited from interface OsidTemporalSearchOrder
orderByEffective, orderByEndDate, orderByStartDateModifier and TypeMethodDescriptionvoidorderByEffective(SearchOrderStyle style) Specifies a preference for ordering the result set by the effective status.voidorderByEndDate(SearchOrderStyle style) Specifies a preference for ordering the result set by the end date.voidorderByStartDate(SearchOrderStyle style) Specifies a preference for ordering the result set by the start date.
-
Method Details
-
orderByResource
Specifies a preference for ordering the result set by the resource.- Parameters:
style- a search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
supportsResourceSearchOrder
boolean supportsResourceSearchOrder()Tests if a resource search order is available.- Returns:
trueif a resource search order is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getResourceSearchOrder
ResourceSearchOrder getResourceSearchOrder()Specifies a preference for ordering the result set by the resource.- Returns:
- the resource search order
- Throws:
UnimplementedException-supportsResourceSearchOrder()isfalse- Compliance:
optional- This method must be implemented if {@code supportsResourceSearchOrder()} is {@code true} .
-
orderByCustomer
Specifies a preference for ordering the result set by the customer.- Parameters:
style- a search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
supportsCustomerSearchOrder
boolean supportsCustomerSearchOrder()Tests if a customer search order is available.- Returns:
trueif a customer search order is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getCustomerSearchOrder
CustomerSearchOrder getCustomerSearchOrder()Specifies a preference for ordering the result set by the customer.- Returns:
- the customer search order
- Throws:
UnimplementedException-supportsCustomerSearchOrder()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCustomerSearchOrder()} is {@code true} .
-
orderByUsesActivity
Specifies a preference for ordering the result set by activity based customers.- Parameters:
style- a search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByUsesCash
Specifies a preference for ordering the result set by cash customers.- Parameters:
style- a search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByCreditCardNumber
Specifies a preference for ordering the result set by the credit card number.- Parameters:
style- a search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByCreditCardExpiration
Specifies a preference for ordering the result set by the credit card expiration.- Parameters:
style- a search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByCreditCardCode
Specifies a preference for ordering the result set by the credit card code.- Parameters:
style- a search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByBankRoutingNumber
Specifies a preference for ordering the result set by the bank routing number.- Parameters:
style- a search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByBankAccountNumber
Specifies a preference for ordering the result set by the bank account number.- Parameters:
style- a search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
getPayerSearchOrderRecord
PayerSearchOrderRecord getPayerSearchOrderRecord(Type payerRecordType) throws OperationFailedException Gets the payer search order record corresponding to the given payer recordType. Multiple retrievals return the same underlying object.- Parameters:
payerRecordType- a payer record type- Returns:
- the payer search order record
- Throws:
NullArgumentException-payerRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(payerRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-