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 Details

    • restrictAllContactNodesByQueries

      E restrictAllContactNodesByQueries(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(Iterable<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

      Set<String> queriesRestrictingContactNodes()
      Returns the queries restricting the contact nodes.
      Returns:
      the queries restricting the contact nodes.