OSID Logo
OSID Specifications
installation package
Version 3.1.0
Interfaceosid.installation.InstallationQuery
Implementsosid.OsidObjectQuery
Used Byosid.installation.InstallationPackageQuery
osid.installation.InstallationQuerySession
osid.installation.InstallationSearchSession
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.

MethodmatchSiteId
Description

Sets the site Id for this query.

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

Clears the site Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsSiteQuery
Description

Tests if a SiteQuery is available for querying sites.

Returnboolean true if a site query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetSiteQuery
Description

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

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

Clears the site query terms.

Compliancemandatory This method must be implemented.
MethodmatchInstallationPackageId
Description

Sets the package Id for this query.

Parametersosid.id.IdinstallationPackageId a package Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT installationPackageId is null
Compliancemandatory This method must be implemented.
MethodclearInstallationPackageIdTerms
Description

Clears the package Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsInstallationPackageQuery
Description

Tests if a InstallationPackageQuery is available for querying agents.

Returnboolean true if a package query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetInstallationPackageQuery
Description

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

Returnosid.installation.InstallationPackageQuery the package query
ErrorsUNIMPLEMENTED supportsInstallationPackageQuery() is false
Complianceoptional This method must be implemented if supportsInstallationPackageQuery() is true.
MethodclearInstallationPackageTerms
Description

Clears the package query terms.

Compliancemandatory This method must be implemented.
MethodmatchInstallDate
Description

Matches the install date between the given times inclusive.

Parametersosid.calendaring.DateTimefrom starting range
osid.calendaring.DateTimeto ending range
booleanmatch true for a positive match, false for a negative match
ErrorsINVALID_ARGUMENT to is less than from
Compliancemandatory This method must be implemented.
MethodclearInstallDateTerms
Description

Clears the install date query terms.

Compliancemandatory This method must be implemented.
MethodmatchAgentId
Description

Sets the agent Id for this query.

Parametersosid.id.IdagentId an agent Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT agentId is null
Compliancemandatory This method must be implemented.
MethodclearAgentIdTerms
Description

Clears the agent Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsAgentQuery
Description

Tests if an AgentQuery is available for querying agents.

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

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

Returnosid.authentication.AgentQuery the agent query
ErrorsUNIMPLEMENTED supportsAgentQuery() is false
Complianceoptional This method must be implemented if supportsAgentQuery() is true.
MethodclearAgentTerms
Description

Clears the agent query terms.

Compliancemandatory This method must be implemented.
MethodmatchLastCheckDate
Description

Matches the last checked date between the given times inclusive.

Parametersosid.calendaring.DateTimefrom starting range
osid.calendaring.DateTimeto ending range
booleanmatch true for a positive match, false for a negative match
ErrorsINVALID_ARGUMENT to is less than from
Compliancemandatory This method must be implemented.
MethodclearLastCheckDateTerms
Description

Clears the last check date query terms.

Compliancemandatory This method must be implemented.
MethodgetInstallationQueryRecord
Description

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

Parametersosid.type.TypeinstallationRecordType an installation query record type
Returnosid.installation.records.InstallationQueryRecord the installation query record
ErrorsNULL_ARGUMENT installationRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(installationRecordType) is false
Compliancemandatory This method must be implemented.