public interface CustomerSearchOrder extends OsidObjectSearchOrder, OsidTemporalSearchOrder
An interface for specifying the ordering of search results.
| Modifier and Type | Method and Description |
|---|---|
ActivitySearchOrder |
getActivitySearchOrder()
Specifies a preference for ordering the result set by the activity,
|
CustomerSearchOrderRecord |
getCustomerSearchOrderRecord(Type customerRecordType)
Gets the customer search order record corresponding to the given
customer record
Type. |
ResourceSearchOrder |
getResourceSearchOrder()
Specifies a preference for ordering the result set by the resource.
|
void |
orderByActivity(SearchOrderStyle style)
Specifies a preference for ordering the result set by the activity.
|
void |
orderByCustomerNumber(SearchOrderStyle style)
Specifies a preference for ordering the result set by the customer
number.
|
void |
orderByResource(SearchOrderStyle style)
Specifies a preference for ordering the result set by the resource.
|
boolean |
supportsActivitySearchOrder()
Tests if an activity search order is available.
|
boolean |
supportsResourceSearchOrder()
Tests if a resource search order is available.
|
orderByCreateTime, orderByCumulativeRating, orderByDescription, orderByDisplayName, orderByGenusType, orderByLastModifiedTime, orderByState, orderByStatisticorderByIdgetRecordTypes, hasRecordTypeorderByEffective, orderByEndDate, orderByStartDatevoid orderByResource(SearchOrderStyle style)
style - a search order styleNullArgumentException - style is
null mandatory - This method must be implemented. boolean supportsResourceSearchOrder()
true if a resource search order is available,
false otherwisemandatory - This method must be implemented. ResourceSearchOrder getResourceSearchOrder()
UnimplementedException -
supportsResourceSearchOrder() is false optional - This method must be implemented if
supportsResourceSearchOrder() is true.
void orderByCustomerNumber(SearchOrderStyle style)
style - a search order styleNullArgumentException - style is
null mandatory - This method must be implemented. void orderByActivity(SearchOrderStyle style)
style - a search order styleNullArgumentException - style is
null mandatory - This method must be implemented. boolean supportsActivitySearchOrder()
true if an activity search order is available,
false otherwisemandatory - This method must be implemented. ActivitySearchOrder getActivitySearchOrder()
UnimplementedException -
supportsActivitySearchOrder() is false optional - This method must be implemented if
supportsActivitySearchOrder() is true.
CustomerSearchOrderRecord getCustomerSearchOrderRecord(Type customerRecordType) throws OperationFailedException
Type. Multiple retrievals return the
same underlying object.customerRecordType - a customer record typeNullArgumentException - customerRecordType
is null OperationFailedException - unable to complete requestUnsupportedException -
hasRecordType(customerRecordType) is false
mandatory - This method must be implemented.