OSID Logo
OSID Specifications
installation package
Version 3.1.0
Interfaceosid.installation.SiteQuery
Implementsosid.OsidObjectQuery
Used Byosid.installation.InstallationQuery
osid.installation.SiteQuery
Description

This is the query for searching installations. Each method match request produces an AND term while multiple invocations of a method produces a nested OR.

MethodmatchInstallationId
Description

Sets the installation Id for this query.

Parametersosid.id.IdinstallationId a site Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT installationId is null
Compliancemandatory This method must be implemented.
MethodclearInstallationIdTerms
Description

Clears the installation Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsInstallationQuery
Description

Tests if an InstallationQuery is available for querying installations.

Returnboolean true if an installation query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetInstallationQuery
Description

Gets the query for an installation. Multiple retrievals produce a nested OR term.

Returnosid.installation.SiteQuery the site query
ErrorsUNIMPLEMENTED supportsInstallationQuery() is false
Complianceoptional This method must be implemented if supportsInstallationQuery() is true.
MethodmatchAnyInstallation
Description

Matches sites with any installation.

Parametersbooleanmatch true to match sites with any package, false to match sites with no packages
Compliancemandatory This method must be implemented.
MethodclearInstallationTerms
Description

Clears the installation query terms.

Compliancemandatory This method must be implemented.
MethodgetSiteQueryRecord
Description

Gets the site query record corresponding to the given Site record Type.Multiple retrievals produce a nested OR term.

Parametersosid.type.TypesiteRecordType a site query record type
Returnosid.installation.records.SiteQueryRecord the site query record
ErrorsNULL_ARGUMENT siteRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(siteRecordType) is false
Compliancemandatory This method must be implemented.