OSID Logo
OSID Specifications
installation package
Version 3.0.0
Release Candidate Preview
Interfaceosid.installation.InstallationSearchOrder
Implementsosid.OsidObjectSearchOrder
Description

An interface for specifying the ordering of search results.

MethodorderBySite
Description

Specified a preference for ordering results by the site.

Parametersosid.SearchOrderStylestylesearch order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodsupportsSiteSearchOrder
Description

Tests if a SiteSearchOrder is available for sites.

Returnboolean true if a site search order is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetSiteSearchOrder
Description

Gets the search order for a site.

Returnosid.installation.SiteSearchOrderthe site search order
ErrorsUNIMPLEMENTED supportsSiteSearchOrder() is false
ComplianceoptionalThis method must be implemented if supportsSiteSearchOrder() is true.
MethodorderByPackage
Description

Specified a preference for ordering results by the package.

Parametersosid.SearchOrderStylestylesearch order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodsupportsPackageSearchOrder
Description

Tests if a PackageSearchOrder is available for packages.

Returnboolean true if a package search order is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetPackageSearchOrder
Description

Gets the search order for a package.

Returnosid.installation.PackageSearchOrderthe package search order
ErrorsUNIMPLEMENTED supportsPackageSearchOrder() is false
ComplianceoptionalThis method must be implemented if supportsPackageSearchOrder() is true.
MethodorderByInstallDate
Description

Specified a preference for ordering results by the install date.

Parametersosid.SearchOrderStylestylesearch order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodorderByAgent
Description

Specified a preference for ordering results by the agent.

Parametersosid.SearchOrderStylestylesearch order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodsupportsAgentSearchOrder
Description

Tests if an AgenteSearchOrder is available for agents.

Returnboolean true if an agent search order is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetAgentSearchOrder
Description

Gets the search order for an agent.

Returnosid.authentication.AgentSearchOrderthe agent search order
ErrorsUNIMPLEMENTED supportsAgentSearchOrder() is false
ComplianceoptionalThis method must be implemented if supportsAgentSearchOrder() is true.
MethodorderByLastCheckDate
Description

Specified a preference for ordering results by the last checked date.

Parametersosid.SearchOrderStylestylesearch order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodgetInstallationSearchOrderRecord
Description

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

Parametersosid.type.TypeinstallationRecordTypean installation record type
Returnosid.installation.records.InstallationSearchOrderRecordthe installation search order record
ErrorsNULL_ARGUMENT installationRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(installationRecordType) is false
CompliancemandatoryThis method must be implemented.