OSID Logo
OSID Specifications
installation package
Version 3.0.0
Release Candidate Preview
Interfaceosid.installation.InstallationContentQuery
Implementsosid.OsidObjectQuery
osid.OsidSubjugateableQuery
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.

Parameterscardinallowlow range
cardinalhighhigh range
booleanmatch true for a positive match, false for a negative match
ErrorsINVALID_ARGUMENT low is greater than high
CompliancemandatoryThis 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
CompliancemandatoryThis method must be implemented.
MethodclearDataLengthTerms
Description

Clears the data length terms.

CompliancemandatoryThis method must be implemented.
MethodmatchData
Description

Matches data in this content.

Parametersbyte[]datalist 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
CompliancemandatoryThis 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
CompliancemandatoryThis method must be implemented.
MethodclearDataTerms
Description

Clears the data terms.

CompliancemandatoryThis 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.TypeinstallationContentRecordTypean installation content query record type
Returnosid.installation.records.InstallationContentQueryRecordthe installation content query record
ErrorsNULL_ARGUMENT installationContentRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(installationContentRecordType) is false
CompliancemandatoryThis method must be implemented.