public interface QueryNodeRestrictions extends PropertiesConditionable<QueryNodeRestrictions>, TypeConditionable<QueryNodeRestrictions>, QualifierConditionable<QueryNodeRestrictions>, InterQueryRestrictableElement<QueryNodeRestrictions>
and
ed with the conditions defined in the stored query.Modifier and Type | Method and Description |
---|---|
Collection<UcmdbId> |
ids()
The collections of IDs to restrict.
|
QueryNodeRestrictions |
property(String propertyName,
Operator operator,
Object value,
String conditionName)
This method is not supported in QueryNodeRestrictions.
|
void |
restrictToIds(Iterable<UcmdbId> ids)
Restricts the set of CIs matching the node to those with the specified IDs.
|
void |
restrictToIds(UcmdbId... ids)
Restricts the set of CIs matching the node to those with the specified IDs.
|
void |
restrictToIdsFromStrings(Iterable<String> ids)
Restricts the set of CIs matching the node to those with the specified IDs.
|
void |
restrictToIdsFromStrings(String... ids)
Restricts the set of CIs matching the node to those with the specified IDs.
|
propertiesCondition, propertiesConditionBuilder, property, property, withPropertiesConditions
isTypeStrict, noDerivedTypes, ofConfigurationItemType, ofITWorldType, ofType, strictlyOfType, type
qualifierMatchingStrategy, qualifiersRestrictiedTo, restrictToQualifiers, restrictToQualifiers, withQualifierMatchingStrategy
addInterQueryElementRestrictions, addInterQueryElementRestrictions, interQueryElementRestrictions
void restrictToIds(Iterable<UcmdbId> ids)
void restrictToIds(UcmdbId... ids)
void restrictToIdsFromStrings(Iterable<String> ids)
void restrictToIdsFromStrings(String... ids)
Collection<UcmdbId> ids()
@NotFinalAPI QueryNodeRestrictions property(String propertyName, Operator operator, Object value, String conditionName) throws UnsupportedOperationException
property
in interface PropertiesConditionable<QueryNodeRestrictions>
propertyName
- the property name to create the condition on.operator
- the operator to use.value
- the value of the property condition, must be of the "correct" type or assignable.
Some operators can recieve null as empty values.conditionName
- the condition name. May be null.
See CompletePropertyCondition.withConditionName(String)
for details.UnsupportedOperationException
- This method is not supported in QueryNodeRestrictions and always
throws an UnsupportedOperationException.PropertiesConditionable
Documentation Feedback
Copyright 2011 - 2018 Micro Focus or one of its affiliates.