OSID Logo
OSID Specifications
installation package
Version 3.1.0
Interfaceosid.installation.InstallationContentQuery
Implementsosid.OsidObjectQuery
osid.OsidSubjugateableQuery
Used Byosid.installation.InstallationPackageQuery
Description

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

MethodmatchDataLength
Description

Matches content whose length of the data in bytes are inclusive of the given range.

Parameterscardinallow low range
cardinalhigh high range
booleanmatch true for a positive match, false for a negative match
ErrorsINVALID_ARGUMENT low is greater than high
Compliancemandatory This method must be implemented.
MethodmatchAnyDataLength
Description

Matches content that has any data length.

Parametersbooleanmatch true to match content with any data length, false to match content with no data length
Compliancemandatory This method must be implemented.
MethodclearDataLengthTerms
Description

Clears the data length terms.

Compliancemandatory This method must be implemented.
MethodmatchData
Description

Matches data in this content.

Parametersbyte[]data list of matching strings
booleanmatch true for a positive match, false for a negative match
booleanpartial true for a partial match, false for a complete match
ErrorsNULL_ARGUMENT data is null
Compliancemandatory This method must be implemented.
MethodmatchAnyData
Description

Matches content that has any data.

Parametersbooleanmatch true to match content with any data, false to match content with no data
Compliancemandatory This method must be implemented.
MethodclearDataTerms
Description

Clears the data terms.

Compliancemandatory This method must be implemented.
MethodgetInstallationContentQueryRecord
Description

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

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