Package com.hp.ucmdb.api.topology
Interface QueryNodeRestrictions
- All Superinterfaces:
InterQueryRestrictableElement<QueryNodeRestrictions>
,PropertiesConditionable<QueryNodeRestrictions>
,QualifierConditionable<QueryNodeRestrictions>
,TypeConditionable<QueryNodeRestrictions>
public interface QueryNodeRestrictions
extends PropertiesConditionable<QueryNodeRestrictions>, TypeConditionable<QueryNodeRestrictions>, QualifierConditionable<QueryNodeRestrictions>, InterQueryRestrictableElement<QueryNodeRestrictions>
Represents conditions on a node to further restrict a query defined in the UCMDB.
These conditions are
and
ed with the conditions defined in the stored query.- Since:
- 8.0
-
Method Summary
Modifier and TypeMethodDescriptionids()
The collections of IDs to restrict.This method is not supported in QueryNodeRestrictions.void
restrictToIds
(UcmdbId... ids) Restricts the set of CIs matching the node to those with the specified IDs.void
restrictToIds
(Iterable<UcmdbId> ids) Restricts the set of CIs matching the node to those with the specified IDs.void
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.Methods inherited from interface com.hp.ucmdb.api.topology.InterQueryRestrictableElement
addInterQueryElementRestrictions, addInterQueryElementRestrictions, interQueryElementRestrictions
Methods inherited from interface com.hp.ucmdb.api.topology.PropertiesConditionable
propertiesCondition, propertiesConditionBuilder, property, property, withPropertiesConditions
Methods inherited from interface com.hp.ucmdb.api.topology.QualifierConditionable
qualifierMatchingStrategy, qualifiersRestrictiedTo, restrictToQualifiers, restrictToQualifiers, withQualifierMatchingStrategy
Methods inherited from interface com.hp.ucmdb.api.topology.TypeConditionable
isTypeStrict, noDerivedTypes, ofConfigurationItemType, ofITWorldType, ofType, strictlyOfType, type
-
Method Details
-
restrictToIds
Restricts the set of CIs matching the node to those with the specified IDs. -
restrictToIds
Restricts the set of CIs matching the node to those with the specified IDs. -
restrictToIdsFromStrings
Restricts the set of CIs matching the node to those with the specified IDs. -
restrictToIdsFromStrings
Restricts the set of CIs matching the node to those with the specified IDs. -
ids
Collection<UcmdbId> ids()The collections of IDs to restrict. -
property
@NotFinalAPI QueryNodeRestrictions property(String propertyName, Operator operator, Object value, String conditionName) throws UnsupportedOperationException This method is not supported in QueryNodeRestrictions.- Specified by:
property
in interfacePropertiesConditionable<QueryNodeRestrictions>
- Parameters:
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. SeeCompletePropertyCondition.withConditionName(String)
for details.- Returns:
- the current object for method chaining.
- Throws:
UnsupportedOperationException
- This method is not supported in QueryNodeRestrictions and always throws an UnsupportedOperationException.- See Also:
-