OSID Logo
OSID Specifications
installation package
Version 3.0.0
Interfaceosid.installation.InstallationContentQuery
Implementsosid.OsidObjectQuery
osid.OsidSubjugateableQuery
Used Byosid.installation.PackageQuery
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
booleanmatchtrue for a positive match, false for a negative match
ErrorsINVALID_ARGUMENTlow is greater than high
CompliancemandatoryThis method must be implemented.
MethodmatchAnyDataLength
Description

Matches content that has any data length.

Parametersbooleanmatchtrue 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
booleanmatchtrue for a positive match, false for a negative match
booleanpartialtrue for a partial match, false for a complete match
ErrorsNULL_ARGUMENTdata is null
CompliancemandatoryThis method must be implemented.
MethodmatchAnyData
Description

Matches content that has any data.

Parametersbooleanmatchtrue 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_ARGUMENTinstallationContentRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(installationContentRecordType) is false
CompliancemandatoryThis method must be implemented.