OSID Logo
OSID Specifications
installation package
Version 3.0.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.SearchOrderStylestylesearch order style
ErrorsNULL_ARGUMENTstyle is null
CompliancemandatoryThis method must be implemented.
MethodsupportsSiteSearchOrder
Description

Tests if a SiteSearchOrder is available for sites.

Returnbooleantrue 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
ErrorsUNIMPLEMENTEDsupportsSiteSearchOrder() 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_ARGUMENTstyle is null
CompliancemandatoryThis method must be implemented.
MethodsupportsPackageSearchOrder
Description

Tests if a PackageSearchOrder is available for packages.

Returnbooleantrue 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
ErrorsUNIMPLEMENTEDsupportsPackageSearchOrder() 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_ARGUMENTstyle is null
CompliancemandatoryThis method must be implemented.
MethodorderByAgent
Description

Specified a preference for ordering results by the agent.

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

Tests if an AgenteSearchOrder is available for agents.

Returnbooleantrue 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
ErrorsUNIMPLEMENTEDsupportsAgentSearchOrder() 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_ARGUMENTstyle 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_ARGUMENTinstallationRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(installationRecordType) is false
CompliancemandatoryThis method must be implemented.