| Interface | osid.OsidObjectSearchOrder | ||
|---|---|---|---|
| Implements | osid.OsidIdentifiableSearchOrder | ||
osid.OsidExtensibleSearchOrder | |||
osid.OsidBrowsableSearchOrder | |||
| Description |
OsidObjectSearch os = session.getObjectSearch();
os.limitResultSet(1, 25);
OsidObjectSearchOrder order = session.getObjectSearchOrder();
order.orderByDisplayName();
os.orderResults(order);
OsidObjectQuery query;
query = session.getObjectQuery();
query.addDescriptionMatch("*food*", wildcardStringMatchType, true);
ObjectSearchResults results = session.getObjectsBySearch(query, os);
ObjectList list = results.getObjectList();
| ||
| Method | orderByDisplayName | ||
| Description |
Specifies a preference for ordering the result set by the display name. | ||
| Parameters | osid.SearchOrderStyle | style | search order style |
| Errors | NULL_ARGUMENT | style is null | |
| Compliance | mandatory | This method must be implemented. | |
| Method | orderByDescription | ||
| Description |
Specifies a preference for ordering the result set by the description. | ||
| Parameters | osid.SearchOrderStyle | style | search order style |
| Errors | NULL_ARGUMENT | style is null | |
| Compliance | mandatory | This method must be implemented. | |
| Method | orderByGenusType | ||
| Description |
Specifies a preference for ordering the result set by the genus type. | ||
| Parameters | osid.SearchOrderStyle | style | search order style |
| Errors | NULL_ARGUMENT | style is null | |
| Compliance | mandatory | This method must be implemented. | |
| Method | orderByState | ||
| Description |
Orders by the state in a given | ||
| Parameters | osid.id.Id | processId | a process Id |
osid.SearchOrderStyle | style | search order style | |
| Errors | NULL_ARGUMENT | processId or style is null | |
| Compliance | mandatory | This method must be implemented. | |
| Method | orderByCumulativeRating | ||
| Description |
Orders by the cumulative rating in a given | ||
| Parameters | osid.id.Id | bookId | a book Id |
osid.SearchOrderStyle | style | search order style | |
| Errors | NULL_ARGUMENT | bookId or style is null | |
| Compliance | mandatory | This method must be implemented. | |
| Method | orderByStatistic | ||
| Description |
Orders by a statistic for a given | ||
| Parameters | osid.id.Id | meterId | a meter Id |
osid.SearchOrderStyle | style | search order style | |
| Errors | NULL_ARGUMENT | meterId or style is null | |
| Compliance | mandatory | This method must be implemented. | |
| Method | orderByCreateTime | ||
| Description |
Orders by the timestamp of the first journal entry. | ||
| Parameters | osid.SearchOrderStyle | style | search order style |
| Errors | NULL_ARGUMENT | style is null | |
| Compliance | mandatory | This method must be implemented. | |
| Method | orderByLastModifiedTime | ||
| Description |
Orders by the timestamp of the last journal entry. | ||
| Parameters | osid.SearchOrderStyle | style | search order style |
| Errors | NULL_ARGUMENT | style is null | |
| Compliance | mandatory | This method must be implemented. | |