public interface FloorQuery extends OsidObjectQuery, OsidTemporalQuery, OsidSubjugateableQuery
This is the query for searching for floors. 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 |
clearGrossAreaTerms()
Clears the area terms.
|
void |
clearNumberTerms()
Clears the number terms.
|
void |
clearRoomIdTerms()
Clears the room
Id terms. |
void |
clearRoomTerms()
Clears the room terms.
|
BuildingQuery |
getBuildingQuery()
Gets the query for a building query.
|
CampusQuery |
getCampusQuery()
Gets the query for a campus query.
|
FloorQueryRecord |
getFloorQueryRecord(Type floorRecordType)
Gets the floor query record corresponding to the given
Floor
record Type. |
RoomQuery |
getRoomQuery()
Gets the query for a floor.
|
void |
matchAnyGrossArea(boolean match)
Matches any area.
|
void |
matchAnyNumber(boolean match)
Matches any floor number.
|
void |
matchAnyRoom(boolean match)
Matches floors.
|
void |
matchBuildingId(Id buildingId,
boolean match)
Sets the building
Id for this query to match floors
assigned to buildings. |
void |
matchCampusId(Id campusId,
boolean match)
Sets the floor
Id for this query to match rooms
assigned to campuses. |
void |
matchGrossArea(java.math.BigDecimal low,
java.math.BigDecimal high,
boolean match)
Matches an area within the given range inclusive.
|
void |
matchNumber(java.lang.String number,
Type stringMatchType,
boolean match)
Sets a floor number.
|
void |
matchRoomId(Id roomId,
boolean match)
Sets the room
Id for this query to match rooms assigned
to floors. |
boolean |
supportsBuildingQuery()
Tests if a
BuildingQuery is available. |
boolean |
supportsCampusQuery()
Tests if a
CampusQuery is available. |
boolean |
supportsRoomQuery()
Tests if a room query is available.
|
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, supportsSubjectRelevancyQueryclearIdTerms, matchIdclearRecordTerms, matchAnyRecord, matchRecordTypegetRecordTypes, hasRecordTypeclearAnyTerms, clearKeywordTerms, getStringMatchTypes, matchAny, matchKeyword, supportsStringMatchTypeclearDateTerms, clearEffectiveTerms, clearEndDateTerms, clearStartDateTerms, matchAnyEndDate, matchAnyStartDate, matchDate, matchEffective, matchEndDate, matchStartDatevoid matchBuildingId(Id buildingId, boolean match)
Id for this query to match floors
assigned to buildings.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 matchNumber(java.lang.String number,
Type stringMatchType,
boolean match)
number - a numberstringMatchType - a string match typematch - true for a positive match, false
for a negative matchInvalidArgumentException - number is not
of stringMatchType NullArgumentException - number is
null UnsupportedException -
supportsStringMatchType(stringMatchType) is
false mandatory - This method must be implemented. void matchAnyNumber(boolean match)
match - true to match floors with any number,
false to match floors with no numbermandatory - This method must be implemented. void clearNumberTerms()
mandatory - This method must be implemented. void matchGrossArea(java.math.BigDecimal low,
java.math.BigDecimal high,
boolean match)
low - start of rangehigh - end of rangematch - true for a positive match, false
for a negative matchInvalidArgumentException - low is
greater than high mandatory - This method must be implemented. void matchAnyGrossArea(boolean match)
match - true to match floors with any area,
false to match floors with no area assignedmandatory - This method must be implemented. void clearGrossAreaTerms()
mandatory - This method must be implemented. void matchRoomId(Id roomId, boolean match)
Id for this query to match rooms assigned
to floors.roomId - a room Id match - true for a positive match, false
for a negative matchNullArgumentException - roomId is
null mandatory - This method must be implemented. void clearRoomIdTerms()
Id terms.mandatory - This method must be implemented. boolean supportsRoomQuery()
true if a room query is available, false
otherwisemandatory - This method must be implemented. RoomQuery getRoomQuery()
UnimplementedException - supportsRoomQuery()
is false optional - This method must be implemented if
supportsRoomQuery() is true. void matchAnyRoom(boolean match)
match - true to match floors with any room,
false to match floors with no roomsmandatory - This method must be implemented. void clearRoomTerms()
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. FloorQueryRecord getFloorQueryRecord(Type floorRecordType) throws OperationFailedException
Floor
record Type. Multiple record retrievals produce
a nested boolean OR term.floorRecordType - a floor record typeNullArgumentException - floorRecordType
is null OperationFailedException - unable to complete requestUnsupportedException -
hasRecordType(floorRecordType) is false mandatory - This method must be implemented.