public interface InstallationContentQuery extends OsidObjectQuery, OsidSubjugateableQuery
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.
Modifier and Type | Method and Description |
---|---|
void |
clearDataLengthTerms()
Clears the data length terms.
|
void |
clearDataTerms()
Clears the data terms.
|
InstallationContentQueryRecord |
getInstallationContentQueryRecord(Type installationContentRecordType)
Gets the installation content query record corresponding to the given
InstallationContent record Type. |
void |
matchAnyData(boolean match)
Matches content that has any data.
|
void |
matchAnyDataLength(boolean match)
Matches content that has any data length.
|
void |
matchData(byte[] data,
boolean match,
boolean partial)
Matches data in this content.
|
void |
matchDataLength(long low,
long high,
boolean match)
Matches content whose length of the data in bytes are inclusive of the
given range.
|
clearCommentIdTerms, clearCommentTerms, clearCreditIdTerms, clearCreditTerms, clearDescriptionTerms, clearDisplayNameTerms, clearGenusTypeTerms, clearJournalEntryIdTerms, clearJournalEntryTerms, clearParentGenusTypeTerms, clearRelationshipIdTerms, clearRelationshipPeerIdTerms, clearRelationshipTerms, clearStateIdTerms, clearStateTerms, clearStatisticTerms, clearSubjectIdTerms, clearSubjectRelevancyTerms, clearSubjectTerms, getCommentQuery, getCreditQuery, getJournalEntryQuery, getRelationshipQuery, getStateQuery, getStatisticQuery, getSubjectQuery, getSubjectRelevancyQuery, matchAnyComment, matchAnyCredit, matchAnyDescription, matchAnyDisplayName, matchAnyGenusType, matchAnyJournalEntry, matchAnyRelationship, matchAnyState, matchAnyStatistic, matchAnySubject, matchCommentId, matchCreditId, matchDescription, matchDisplayName, matchGenusType, matchJournalEntryId, matchParentGenusType, matchRelationshipId, matchRelationshipPeerId, matchStateId, matchSubjectId, supportsCommentQuery, supportsCreditQuery, supportsJournalEntryQuery, supportsRelationshipQuery, supportsStateQuery, supportsStatisticQuery, supportsSubjectQuery, supportsSubjectRelevancyQuery
clearIdTerms, matchId
clearRecordTerms, matchAnyRecord, matchRecordType
getRecordTypes, hasRecordType
clearAnyTerms, clearKeywordTerms, getStringMatchTypes, matchAny, matchKeyword, supportsStringMatchType
void matchDataLength(long low, long high, boolean match)
low
- low rangehigh
- high rangematch
- true
for a positive match, false
for a negative matchInvalidArgumentException
- low
is
greater than high
mandatory
- This method must be implemented. void matchAnyDataLength(boolean match)
match
- true
to match content with any data
length, false
to match content with no data
lengthmandatory
- This method must be implemented. void clearDataLengthTerms()
mandatory
- This method must be implemented. void matchData(byte[] data, boolean match, boolean partial)
data
- list of matching stringsmatch
- true
for a positive match, false
for a negative matchpartial
- true
for a partial match, false
for a complete matchNullArgumentException
- data
is
null
mandatory
- This method must be implemented. void matchAnyData(boolean match)
match
- true
to match content with any data,
false
to match content with no datamandatory
- This method must be implemented. void clearDataTerms()
mandatory
- This method must be implemented. InstallationContentQueryRecord getInstallationContentQueryRecord(Type installationContentRecordType) throws OperationFailedException
InstallationContent
record Type.
Multiple retrievals produce a nested OR
term.installationContentRecordType
- an installation content query
record typeNullArgumentException
-
installationContentRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(installationContentRecordType)
is
false
mandatory
- This method must be implemented.