public interface DeedQuery extends OsidRelationshipQuery
This is the query for searching for deeds. Each method specifies an
AND
term while multiple invocations of the same method
produce a nested OR.
Modifier and Type | Method and Description |
---|---|
void |
clearBuildingIdTerms()
Clears the building
Id terms. |
void |
clearBuildingTerms()
Clears the building terms.
|
void |
clearCampusIdTerms()
Clears the campus
Id terms. |
void |
clearCampusTerms()
Clears the campus terms.
|
void |
clearOwnerIdTerms()
Clears the owner resource
Id terms. |
void |
clearOwnerTerms()
Clears the owner terms.
|
BuildingQuery |
getBuildingQuery()
Gets the query for a building query.
|
CampusQuery |
getCampusQuery()
Gets the query for a campus query.
|
DeedQueryRecord |
getDeedQueryRecord(Type deedRecordType)
Gets the deed query record corresponding to the given
Deed
record Type. |
ResourceQuery |
getOwnerQuery()
Gets the query for an owner resource query.
|
void |
matchBuildingId(Id buildingId,
boolean match)
Sets a building
Id. |
void |
matchCampusId(Id campusId,
boolean match)
Sets the deed
Id for this query to match rooms assigned
to campuses. |
void |
matchOwnerId(Id resourceId,
boolean match)
Sets a resource
Id. |
boolean |
supportsBuildingQuery()
Tests if a
BuildingQuery is available. |
boolean |
supportsCampusQuery()
Tests if a
CampusQuery is available. |
boolean |
supportsOwnerQuery()
Tests if a
ResourceQuery is available. |
clearEndReasonIdTerms, clearEndReasonTerms, getEndReasonQuery, matchAnyEndReason, matchEndReasonId, supportsEndReasonQuery
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
clearDateTerms, clearEffectiveTerms, clearEndDateTerms, clearStartDateTerms, matchAnyEndDate, matchAnyStartDate, matchDate, matchEffective, matchEndDate, matchStartDate
void matchBuildingId(Id buildingId, boolean match)
Id.
buildingId
- a building Id
match
- true
for a positive match, false
for a negative matchNullArgumentException
- buildingId
is
null
mandatory
- This method must be implemented. void clearBuildingIdTerms()
Id
terms.mandatory
- This method must be implemented. boolean supportsBuildingQuery()
BuildingQuery
is available. true
if a building query is available,
false
otherwisemandatory
- This method must be implemented. BuildingQuery getBuildingQuery()
OR
term.UnimplementedException
- supportsBuildingQuery()
is false
optional
- This method must be implemented if
supportsBuildingQuery()
is true.
void clearBuildingTerms()
mandatory
- This method must be implemented. void matchOwnerId(Id resourceId, boolean match)
Id.
resourceId
- a resource Id
match
- true
for a positive match, false
for a negative matchNullArgumentException
- resourceId
is
null
mandatory
- This method must be implemented. void clearOwnerIdTerms()
Id
terms.mandatory
- This method must be implemented. boolean supportsOwnerQuery()
ResourceQuery
is available. true
if a resource query is available,
false
otherwisemandatory
- This method must be implemented. ResourceQuery getOwnerQuery()
OR
term.UnimplementedException
- supportsOwnerQuery()
is false
optional
- This method must be implemented if
supportsOwnerQuery()
is true.
void clearOwnerTerms()
mandatory
- This method must be implemented. void matchCampusId(Id campusId, boolean match)
Id
for this query to match rooms assigned
to campuses.campusId
- a campus Id
match
- true
for a positive match, false
for a negative matchNullArgumentException
- campusId
is
null
mandatory
- This method must be implemented. void clearCampusIdTerms()
Id
terms.mandatory
- This method must be implemented. boolean supportsCampusQuery()
CampusQuery
is available. true
if a campus query is available,
false
otherwisemandatory
- This method must be implemented. CampusQuery getCampusQuery()
OR
term.UnimplementedException
- supportsCampusQuery()
is false
optional
- This method must be implemented if
supportsCampusQuery()
is true.
void clearCampusTerms()
mandatory
- This method must be implemented. DeedQueryRecord getDeedQueryRecord(Type deedRecordType) throws OperationFailedException
Deed
record Type.
Multiple record retrievals produce
a nested boolean OR
term.deedRecordType
- a deed record typeNullArgumentException
- deedRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(deedRecordType)
is false
mandatory
- This method must be implemented.