com.hp.ucmdb.api.topology
Interface InterQueryRestrictableElement<Element>
- All Known Subinterfaces:
- DirectLink, QueryNode, QueryNodeRestrictions
public interface InterQueryRestrictableElement<Element>
- Since:
- UCMDB 9.0
addInterQueryElementRestrictions
Element addInterQueryElementRestrictions(java.lang.String restrictingQueryName,
java.lang.String restrictingQueryElementName)
- Adds an inter-query element restriction to this query element for a specific node
or link in the restricting query.
Inter query element restrictions limit the CIs or Relations available to those
that are returned by the element identified by the restricting element name
and restricting query name.
This allows the use of "layered" queries, which are restricted by the results of other queries.
While this is similar to query-over-query, node restrictions allow for more precise
control over the results.
Only active and loaded queries are supported as restricting queries.
An active query is one whose recalc priority is not "not active. A loaded query is one
whose load strategy is "load on server start".
- Parameters:
restrictingQueryName
- the name of the query that restricts this element.restrictingQueryElementName
- the name of the element in the query that restricts this element.
- Returns:
- this for method chaining.
addInterQueryElementRestrictions
Element addInterQueryElementRestrictions(java.lang.String restrictingQueryName)
- Adds an inter-query element restrictions to this query element for all
of the restricting query names nodes or links.
This is equivalent to calling addInterQueryElementRestrictions(restrictingQueryName, x)
where x is replaced with all query nodes or query links names.
- Parameters:
restrictingQueryName
- the name of the element in the query restricts this element.
- Returns:
- this for method chaining.
interQueryElementRestrictions
java.util.Collection<? extends InterQueryElementRestriction> interQueryElementRestrictions()
- Returns:
- the query node restrictions that have been registered.
- See Also:
addInterQueryElementRestrictions(java.lang.String, java.lang.String)
Documentation Feedback
Copyright 2010 Hewlett-Packard Development Company, L.P.