Interface | osid.installation.InstallationContentQuery | ||
---|---|---|---|
Implements | osid.OsidObjectQuery | ||
osid.OsidSubjugateableQuery | |||
Description |
This is the query for searching installation contents. Each
method match request produces an | ||
Method | matchDataLength | ||
Description |
Matches content whose length of the data in bytes are inclusive of the given range. | ||
Parameters | cardinal | low | low range |
cardinal | high | high range | |
boolean | match | true for a positive match, false for a
negative match | |
Errors | INVALID_ARGUMENT | low is greater than high | |
Compliance | mandatory | This method must be implemented. | |
Method | matchAnyDataLength | ||
Description |
Matches content that has any data length. | ||
Parameters | boolean | match | true to match content with any data length, false
to match content with no data length |
Compliance | mandatory | This method must be implemented. | |
Method | clearDataLengthTerms | ||
Description |
Clears the data length terms. | ||
Compliance | mandatory | This method must be implemented. | |
Method | matchData | ||
Description |
Matches data in this content. | ||
Parameters | byte[] | data | list of matching strings |
boolean | match | true for a positive match, false for a
negative match | |
boolean | partial | true for a partial match, false for a
complete match | |
Errors | NULL_ARGUMENT | data is null | |
Compliance | mandatory | This method must be implemented. | |
Method | matchAnyData | ||
Description |
Matches content that has any data. | ||
Parameters | boolean | match | true to match content with any data, false to
match content with no data |
Compliance | mandatory | This method must be implemented. | |
Method | clearDataTerms | ||
Description |
Clears the data terms. | ||
Compliance | mandatory | This method must be implemented. | |
Method | getInstallationContentQueryRecord | ||
Description |
Gets the installation content query record
corresponding to the given | ||
Parameters | osid.type.Type | installationContentRecordType | an installation content query record type |
Return | osid.installation.records.InstallationContentQueryRecord | the installation content query record | |
Errors | NULL_ARGUMENT | installationContentRecordType is null | |
OPERATION_FAILED | unable to complete request | ||
UNSUPPORTED | hasRecordType(installationContentRecordType) is false
| ||
Compliance | mandatory | This method must be implemented. |