OSID Logo
OSID Specifications
installation package
Version 3.1.0
Interfaceosid.installation.InstallationPackageSearchOrder
Implementsosid.OsidObjectSearchOrder
osid.OsidSourceableSearchOrder
Used Byosid.installation.InstallationPackageSearchSession
osid.installation.InstallationPackageSmartDepotSession
osid.installation.InstallationSearchOrder
Description

An interface for specifying the ordering of search results.

MethodorderByVersion
Description

Specified a preference for ordering results by the version.

Parametersosid.SearchOrderStylestyle search order style
ErrorsNULL_ARGUMENT style is null
Compliancemandatory This method must be implemented.
MethodorderByCopyright
Description

Specified a preference for ordering results by the copyright.

Parametersosid.SearchOrderStylestyle search order style
ErrorsNULL_ARGUMENT style is null
Compliancemandatory This method must be implemented.
MethodorderByRequiresLicenseAcknowledgement
Description

Specified a preference for ordering results by the license acknowledgement flag.

Parametersosid.SearchOrderStylestyle search order style
ErrorsNULL_ARGUMENT style is null
Compliancemandatory This method must be implemented.
MethodorderByCreator
Description

Specified a preference for ordering results by the creator.

Parametersosid.SearchOrderStylestyle search order style
ErrorsNULL_ARGUMENT style is null
Compliancemandatory This method must be implemented.
MethodsupportsCreatorSearchOrder
Description

Tests if a ResourceSearchOrder is available for creator resources.

Returnboolean true if a creator resource search order is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetCreatorSearchOrder
Description

Gets the search order for a creator resource.

Returnosid.resource.ResourceSearchOrder the resource search order
ErrorsUNIMPLEMENTED supportsCreatorSearchOrder() is false
Complianceoptional This method must be implemented if supportsCreatorSearchOrder() is true.
MethodorderByReleaseDate
Description

Specified a preference for ordering results by the release date.

Parametersosid.SearchOrderStylestyle search order style
ErrorsNULL_ARGUMENT style is null
Compliancemandatory This method must be implemented.
MethodorderByURL
Description

Specified a preference for ordering results by the url.

Parametersosid.SearchOrderStylestyle search order style
ErrorsNULL_ARGUMENT style is null
Compliancemandatory This method must be implemented.
MethodgetInstallationPackageSearchOrderRecord
Description

Gets the package search order record corresponding to the given package record Type.Multiple retrievals return the same underlying object.

Parametersosid.type.TypeinstallationPackageRecordType a package record type
Returnosid.installation.records.InstallationPackageSearchOrderRecord the package search order record
ErrorsNULL_ARGUMENT installationPackageRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(packageRecordType) is false
Compliancemandatory This method must be implemented.