public interface SettingQuery extends OsidObjectQuery, OsidSubjugateableQuery
This is the query for searching settings. Each method match specifies
an AND
term while multiple invocations of the same method
produce a nested OR.
Modifier and Type | Method and Description |
---|---|
void |
clearControllerIdTerms()
Clears the controller
Id query terms. |
void |
clearControllerTerms()
Clears the controller query terms.
|
void |
clearDiscreetStateIdTerms()
Clears the state
Id query terms. |
void |
clearDiscreetStateTerms()
Clears the state query terms.
|
void |
clearOffTerms()
Clears the off query terms.
|
void |
clearOnTerms()
Clears the on query terms.
|
void |
clearRampRateTerms()
Clears the ramp rate query terms.
|
void |
clearSystemIdTerms()
Clears the system
Id query terms. |
void |
clearSystemTerms()
Clears the system query terms.
|
void |
clearVariableAmountTerms()
Clears the variable amount query terms.
|
void |
clearVariablePercentageTerms()
Clears the variable percentages query terms.
|
ControllerQuery |
getControllerQuery()
Gets the query for a
InputQntry. |
StateQuery |
getDiscreetStateQuery()
Gets the query for a
State. |
SettingQueryRecord |
getSettingQueryRecord(Type settingRecordType)
Gets the query record corresponding to the given
Setting
record Type. |
SystemQuery |
getSystemQuery()
Gets the query for a system.
|
void |
matchAnyDiscreetState(boolean match)
Matches any discreet states.
|
void |
matchAnyRampRate(boolean match)
Matches any ramp rate.
|
void |
matchAnyVariableAmount(boolean match)
Matches any variable amount.
|
void |
matchAnyVariablePercentage(boolean match)
Matches any variable percentages.
|
void |
matchControllerId(Id controllerId,
boolean match)
Sets the controller
Id for this query. |
void |
matchDiscreetStateId(Id stateId,
boolean match)
Sets the state
Id for this query. |
void |
matchOff(boolean match)
Matches off settings.
|
void |
matchOn(boolean match)
Matches on settings.
|
void |
matchRampRate(Duration start,
Duration end,
boolean match)
Matches ramp rates between the given range inclusive.
|
void |
matchSystemId(Id systemId,
boolean match)
Sets the system
Id for this query to match controllers
assigned to systems. |
void |
matchVariableAmount(java.math.BigDecimal start,
java.math.BigDecimal end,
boolean match)
Matches variable amount between the given range inclusive.
|
void |
matchVariablePercentage(java.math.BigDecimal start,
java.math.BigDecimal end,
boolean match)
Matches variable percentages between the given range inclusive.
|
boolean |
supportsControllerQuery()
Tests if a
ControllerQuery is available. |
boolean |
supportsDiscreetStateQuery()
Tests if a
StateQuery is available. |
boolean |
supportsSystemQuery()
Tests if a
SystemQuery 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, supportsSubjectRelevancyQuery
clearIdTerms, matchId
clearRecordTerms, matchAnyRecord, matchRecordType
getRecordTypes, hasRecordType
clearAnyTerms, clearKeywordTerms, getStringMatchTypes, matchAny, matchKeyword, supportsStringMatchType
void matchControllerId(Id controllerId, boolean match)
Id
for this query.controllerId
- the controller Id
match
- true
for a positive match, false
for a negative matchNullArgumentException
- controllerId
is
null
mandatory
- This method must be implemented. void clearControllerIdTerms()
Id
query terms.mandatory
- This method must be implemented. boolean supportsControllerQuery()
ControllerQuery
is available. true
if a controller query is available,
false
otherwisemandatory
- This method must be implemented. ControllerQuery getControllerQuery()
InputQntry.
Multiple retrievals
produce a nested OR
term.UnimplementedException
-
supportsControllerQuery()
is false
optional
- This method must be implemented if
supportsControllerQuery()
is true.
void clearControllerTerms()
mandatory
- This method must be implemented. void matchOn(boolean match)
match
- true
for a positive match, false
for a negative matchmandatory
- This method must be implemented. void clearOnTerms()
mandatory
- This method must be implemented. void matchOff(boolean match)
match
- true
for a positive match, false
for a negative matchmandatory
- This method must be implemented. void clearOffTerms()
mandatory
- This method must be implemented. void matchVariablePercentage(java.math.BigDecimal start, java.math.BigDecimal end, boolean match)
start
- start of rangeend
- end of rangematch
- true
for a positive match, false
for a negative matchInvalidArgumentException
- start
is
greater than end
NullArgumentException
- start or end
is
null
mandatory
- This method must be implemented. void matchAnyVariablePercentage(boolean match)
match
- true
to match settings with variable
percentages, false
to match settings with no
variable percentagesmandatory
- This method must be implemented. void clearVariablePercentageTerms()
mandatory
- This method must be implemented. void matchVariableAmount(java.math.BigDecimal start, java.math.BigDecimal end, boolean match)
start
- start of rangeend
- end of rangematch
- true
for a positive match, false
for a negative matchInvalidArgumentException
- start
is
greater than end
NullArgumentException
- start or end
is
null
mandatory
- This method must be implemented. void matchAnyVariableAmount(boolean match)
match
- true
to match settings with variable
amounts, false
to match settings with no
variable amountsmandatory
- This method must be implemented. void clearVariableAmountTerms()
mandatory
- This method must be implemented. void matchDiscreetStateId(Id stateId, boolean match)
Id
for this query.stateId
- the state Id
match
- true
for a positive match, false
for a negative matchNullArgumentException
- stateId
is
null
mandatory
- This method must be implemented. void clearDiscreetStateIdTerms()
Id
query terms.mandatory
- This method must be implemented. boolean supportsDiscreetStateQuery()
StateQuery
is available. true
if a state query is available,
false
otherwisemandatory
- This method must be implemented. StateQuery getDiscreetStateQuery()
State.
Multiple retrievals produce
a nested OR
term.UnimplementedException
-
supportsDiscreetStateQuery()
is false
optional
- This method must be implemented if
supportsDiscreetStateQuery()
is true.
void matchAnyDiscreetState(boolean match)
match
- true
to match settings with discreet
states, false
to match settings with no
discreet statesmandatory
- This method must be implemented. void clearDiscreetStateTerms()
mandatory
- This method must be implemented. void matchRampRate(Duration start, Duration end, boolean match)
start
- start of rangeend
- end of rangematch
- true
for a positive match, false
for a negative matchInvalidArgumentException
- start
is
greater than end
NullArgumentException
- start or end
is
null
mandatory
- This method must be implemented. void matchAnyRampRate(boolean match)
match
- true
to match settings with ramp rates,
false
to match settings with no ramp ratesmandatory
- This method must be implemented. void clearRampRateTerms()
mandatory
- This method must be implemented. void matchSystemId(Id systemId, boolean match)
Id
for this query to match controllers
assigned to systems.systemId
- the system Id
match
- true
for a positive match, false
for a negative matchNullArgumentException
- systemId
is
null
mandatory
- This method must be implemented. void clearSystemIdTerms()
Id
query terms.mandatory
- This method must be implemented. boolean supportsSystemQuery()
SystemQuery
is available. true
if a system query is available,
false
otherwisemandatory
- This method must be implemented. SystemQuery getSystemQuery()
OR
term.UnimplementedException
- supportsSystemQuery()
is false
optional
- This method must be implemented if
supportsSystemQuery()
is true.
void clearSystemTerms()
mandatory
- This method must be implemented. SettingQueryRecord getSettingQueryRecord(Type settingRecordType) throws OperationFailedException
Setting
record Type.
Multiple record retrievals produce
a nested OR
term.settingRecordType
- a setting record typeNullArgumentException
- settingRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(settingRecordType)
is false
mandatory
- This method must be implemented.