Interface QueryNodeRestrictions

All Superinterfaces:
InterQueryRestrictableElement<QueryNodeRestrictions>, PropertiesConditionable<QueryNodeRestrictions>, QualifierConditionable<QueryNodeRestrictions>, TypeConditionable<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 Details

    • restrictToIds

      void restrictToIds(Iterable<UcmdbId> ids)
      Restricts the set of CIs matching the node to those with the specified IDs.
    • restrictToIds

      void restrictToIds(UcmdbId... ids)
      Restricts the set of CIs matching the node to those with the specified IDs.
    • restrictToIdsFromStrings

      void restrictToIdsFromStrings(Iterable<String> ids)
      Restricts the set of CIs matching the node to those with the specified IDs.
    • restrictToIdsFromStrings

      void restrictToIdsFromStrings(String... ids)
      Restricts the set of CIs matching the node to those with the specified IDs.
    • 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 interface PropertiesConditionable<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. See CompletePropertyCondition.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: