com.hp.ucmdb.api.topology
Interface ContactNodeRestrictions<E>

All Known Subinterfaces:
ExecutableQuery, SingleQueryReferenceDefinition

@NotFinalAPI
public interface ContactNodeRestrictions<E>

Allows the restriction of contact nodes (see PerspectiveContactable.setAsPerspectiveContact() of the extending element.


Method Summary
 java.util.Set<java.lang.String> queriesRestrictingContactNodes()
          Returns the queries restricting the contact nodes.
 E restrictAllContactNodesByQueries(java.lang.Iterable<java.lang.String> restrictingQueryNames)
          Restricts all contact nodes by the given queries.
 E restrictAllContactNodesByQueries(java.lang.String... restrictingQueryNames)
          Restricts all contact nodes by the given queries.
 

Method Detail

restrictAllContactNodesByQueries

E restrictAllContactNodesByQueries(java.lang.String... restrictingQueryNames)
Restricts all contact nodes by the given queries. See PerspectiveContactable.setAsPerspectiveContact()

Parameters:
restrictingQueryNames - the queries to restrict the contact node. If empty, removes this restriction.
Returns:
this object for method chaining.

restrictAllContactNodesByQueries

E restrictAllContactNodesByQueries(java.lang.Iterable<java.lang.String> restrictingQueryNames)
Restricts all contact nodes by the given queries. See PerspectiveContactable.setAsPerspectiveContact()

Parameters:
restrictingQueryNames - the queries to restrict the contact node. If empty, removes this restriction.
Returns:
this object for method chaining.

queriesRestrictingContactNodes

java.util.Set<java.lang.String> queriesRestrictingContactNodes()
Returns the queries restricting the contact nodes.

Returns:
the queries restricting the contact nodes.


Documentation Feedback
Copyright 2010 Hewlett-Packard Development Company, L.P.