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
anded 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.voidrestrictToIds(UcmdbId... ids) Restricts the set of CIs matching the node to those with the specified IDs.voidrestrictToIds(Iterable<UcmdbId> ids) Restricts the set of CIs matching the node to those with the specified IDs.voidRestricts the set of CIs matching the node to those with the specified IDs.voidrestrictToIdsFromStrings(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, interQueryElementRestrictionsMethods inherited from interface com.hp.ucmdb.api.topology.PropertiesConditionable
propertiesCondition, propertiesConditionBuilder, property, property, withPropertiesConditionsMethods inherited from interface com.hp.ucmdb.api.topology.QualifierConditionable
qualifierMatchingStrategy, qualifiersRestrictiedTo, restrictToQualifiers, restrictToQualifiers, withQualifierMatchingStrategyMethods 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:
propertyin 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:
-