public interface ProductSearchOrder extends OsidObjectSearchOrder
An interface for specifying the ordering of search results.
| Modifier and Type | Method and Description |
|---|---|
ProductSearchOrderRecord |
getProductSearchOrderRecord(Type productRecordType)
Gets the product search record order corresponding to the given
product record Type.
|
void |
orderByAvailability(SearchOrderStyle style)
Specifies a preference for ordering the result set by the
availability.
|
void |
orderByCode(SearchOrderStyle style)
Specifies a preference for ordering the result set by the code.
|
orderByCreateTime, orderByCumulativeRating, orderByDescription, orderByDisplayName, orderByGenusType, orderByLastModifiedTime, orderByState, orderByStatisticorderByIdgetRecordTypes, hasRecordTypevoid orderByCode(SearchOrderStyle style)
style - search order styleNullArgumentException - style is
null mandatory - This method must be implemented. void orderByAvailability(SearchOrderStyle style)
style - search order styleNullArgumentException - style is
null mandatory - This method must be implemented. ProductSearchOrderRecord getProductSearchOrderRecord(Type productRecordType) throws OperationFailedException, PermissionDeniedException
productRecordType - an product record typeNullArgumentException - productRecordType
is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failure
occurredUnsupportedException -
hasRecordType(productRecordType) is false
mandatory - This method must be implemented.