public interface PackageSearchOrder extends OsidObjectSearchOrder, OsidSourceableSearchOrder
An interface for specifying the ordering of search results.
| Modifier and Type | Method and Description |
|---|---|
ResourceSearchOrder |
getCreatorSearchOrder()
Gets the search order for a creator resource.
|
PackageSearchOrderRecord |
getPackageSearchOrderRecord(Type packageRecordType)
Gets the package search order record corresponding to the given
package record
Type. |
void |
orderByCopyright(SearchOrderStyle style)
Specified a preference for ordering results by the copyright.
|
void |
orderByCreator(SearchOrderStyle style)
Specified a preference for ordering results by the creator.
|
void |
orderByReleaseDate(SearchOrderStyle style)
Specified a preference for ordering results by the release date.
|
void |
orderByRequiresLicenseAcknowledgement(SearchOrderStyle style)
Specified a preference for ordering results by the license
acknowledgement flag.
|
void |
orderByURL(SearchOrderStyle style)
Specified a preference for ordering results by the url.
|
void |
orderByVersion(SearchOrderStyle style)
Specified a preference for ordering results by the version.
|
boolean |
supportsCreatorSearchOrder()
Tests if a
ResourceSearchOrder is available for creator
resources. |
orderByCreateTime, orderByCumulativeRating, orderByDescription, orderByDisplayName, orderByGenusType, orderByLastModifiedTime, orderByState, orderByStatisticorderByIdgetRecordTypes, hasRecordTypegetProviderSearchOrder, orderByProvider, supportsProviderSearchOrdervoid orderByVersion(SearchOrderStyle style)
style - search order styleNullArgumentException - style is
null mandatory - This method must be implemented. void orderByCopyright(SearchOrderStyle style)
style - search order styleNullArgumentException - style is
null mandatory - This method must be implemented. void orderByRequiresLicenseAcknowledgement(SearchOrderStyle style)
style - search order styleNullArgumentException - style is
null mandatory - This method must be implemented. void orderByCreator(SearchOrderStyle style)
style - search order styleNullArgumentException - style is
null mandatory - This method must be implemented. boolean supportsCreatorSearchOrder()
ResourceSearchOrder is available for creator
resources. true if a creator resource search order is
available, false otherwisemandatory - This method must be implemented. ResourceSearchOrder getCreatorSearchOrder()
UnimplementedException -
supportsCreatorSearchOrder() is false optional - This method must be implemented if
supportsCreatorSearchOrder() is true.
void orderByReleaseDate(SearchOrderStyle style)
style - search order styleNullArgumentException - style is
null mandatory - This method must be implemented. void orderByURL(SearchOrderStyle style)
style - search order styleNullArgumentException - style is
null mandatory - This method must be implemented. PackageSearchOrderRecord getPackageSearchOrderRecord(Type packageRecordType) throws OperationFailedException
Type. Multiple retrievals return the
same underlying object.packageRecordType - a package record typeNullArgumentException - packageRecordType
is null OperationFailedException - unable to complete requestUnsupportedException -
hasRecordType(packageRecordType) is false
mandatory - This method must be implemented.