Class CmsCompositeQueryFragment

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void add​(I_CmsQueryFragment node)
      Adds a new query fragment.
      java.util.List<I_CmsQueryFragment> getNodes()
      Returns the wrapped query fragments.
      void setPrefix​(java.lang.String prefix)
      Sets the prefix string (will be inserted before the other fragments).
      void setSeparator​(java.lang.String separator)
      Sets the separator which should be inserted between the constituent query fragments.
      void setSuffix​(java.lang.String suffix)
      Sets the suffix string (will be inserted after the other fragments).
      void visit​(CmsStatementBuilder builder)
      Generates the SQL and parameters and sends them to the statement builder .
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • add

        public void add​(I_CmsQueryFragment node)
        Adds a new query fragment.

        Parameters:
        node - the query fragment
      • getNodes

        public java.util.List<I_CmsQueryFragmentgetNodes()
        Returns the wrapped query fragments.

        Returns:
        a list of query fragments
      • setPrefix

        public void setPrefix​(java.lang.String prefix)
        Sets the prefix string (will be inserted before the other fragments).

        Parameters:
        prefix - the prefix string
      • setSeparator

        public void setSeparator​(java.lang.String separator)
        Sets the separator which should be inserted between the constituent query fragments.

        Parameters:
        separator - the separator string
      • setSuffix

        public void setSuffix​(java.lang.String suffix)
        Sets the suffix string (will be inserted after the other fragments).

        Parameters:
        suffix - the suffix string