Interface Query

    • Method Detail

      • getName

        String getName()
        Returns the name of this query.
        Returns:
        the name of this query
      • getQuery

        String getQuery()
        Return the select query.
        Returns:
        the select query.
      • getQuery

        String getQuery​(NameValuePair[] arguments)
        Get the select query and pass extra parameters. This is method is like getQuery() except that it is possible to explicitly pass extra name-value parameters which override any values available via the current HTTP request. Since WM 9.0.
        Returns:
        the select query.
      • getDataSourceName

        String getDataSourceName()
        Return name of the dataresource where the query should be executed.
        Returns:
        name of the dataresource where the query should be executed.
      • getColumns

        QueryColumn[] getColumns()
        Return columns of the result set.
        Returns:
        columns of the result set.
      • isShowableRowNumber

        boolean isShowableRowNumber()
        Return true if row numbers should be displayed.
        Returns:
        true if row numbers should be displayed.
      • isShowableHeader

        boolean isShowableHeader()
        Return true header should be displayed.
        Returns:
        true header should be displayed.
      • getPageSize

        int getPageSize()
        Return number of rows per page.
        Returns:
        number of rows per page.
      • getNrOfPages

        int getNrOfPages()
        Return number of pages needed to display all the rows.
        Returns:
        number of pages needed to display all the rows.
      • getWebsite

        Website getWebsite()
        Return website the query element is on.
        Returns:
        website the query element is on.