OSID Logo
OSID Specifications
installation package
Version 3.1.0
Interfaceosid.installation.InstallationSearchOrder
Implementsosid.OsidObjectSearchOrder
Used Byosid.installation.InstallationSearchSession
Description

An interface for specifying the ordering of search results.

MethodorderBySite
Description

Specified a preference for ordering results by the site.

Parametersosid.SearchOrderStylestyle search order style
ErrorsNULL_ARGUMENT style is null
Compliancemandatory This 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
Compliancemandatory This method must be implemented.
MethodgetSiteSearchOrder
Description

Gets the search order for a site.

Returnosid.installation.SiteSearchOrder the site search order
ErrorsUNIMPLEMENTED supportsSiteSearchOrder() is false
Complianceoptional This method must be implemented if supportsSiteSearchOrder() is true.
MethodorderByInstallationPackage
Description

Specified a preference for ordering results by the package.

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

Tests if a InstallationPackageSearchOrder is available for packages.

Returnboolean true if a package search order is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetInstallationPackageSearchOrder
Description

Gets the search order for a package.

Returnosid.installation.InstallationPackageSearchOrder the package search order
ErrorsUNIMPLEMENTED supportsInstallationPackageSearchOrder() is false
Complianceoptional This method must be implemented if supportsInstallationPackageSearchOrder() is true.
MethodorderByInstallDate
Description

Specified a preference for ordering results by the install date.

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

Specified a preference for ordering results by the agent.

Parametersosid.SearchOrderStylestyle search order style
ErrorsNULL_ARGUMENT style is null
Compliancemandatory This 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
Compliancemandatory This method must be implemented.
MethodgetAgentSearchOrder
Description

Gets the search order for an agent.

Returnosid.authentication.AgentSearchOrder the agent search order
ErrorsUNIMPLEMENTED supportsAgentSearchOrder() is false
Complianceoptional This method must be implemented if supportsAgentSearchOrder() is true.
MethodorderByLastCheckDate
Description

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

Parametersosid.SearchOrderStylestyle search order style
ErrorsNULL_ARGUMENT style is null
Compliancemandatory This 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.TypeinstallationRecordType an installation record type
Returnosid.installation.records.InstallationSearchOrderRecord the installation search order record
ErrorsNULL_ARGUMENT installationRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(installationRecordType) is false
Compliancemandatory This method must be implemented.