Class CannedQuery

  • All Implemented Interfaces:
    com.pullreports.userquery.NamedQuery

    public class CannedQuery
    extends Object
    implements com.pullreports.userquery.NamedQuery
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface com.pullreports.userquery.NamedQuery

        com.pullreports.userquery.NamedQuery.ViewMode
    • Constructor Summary

      Constructors 
      Constructor Description
      CannedQuery​(QueryId queryId, String name, String description, boolean distinct, com.pullreports.userquery.NamedQuery.ViewMode viewMode, List<Column> columns, List<Sort> sorts, List<Filter> filters)  
    • Constructor Detail

      • CannedQuery

        public CannedQuery​(QueryId queryId,
                           String name,
                           String description,
                           boolean distinct,
                           com.pullreports.userquery.NamedQuery.ViewMode viewMode,
                           List<Column> columns,
                           List<Sort> sorts,
                           List<Filter> filters)
    • Method Detail

      • getId

        public String getId()
        Specified by:
        getId in interface com.pullreports.userquery.NamedQuery
      • getName

        public String getName()
        Specified by:
        getName in interface com.pullreports.userquery.NamedQuery
      • getDistinct

        public boolean getDistinct()
        Specified by:
        getDistinct in interface com.pullreports.userquery.NamedQuery
      • getDescription

        public Optional<String> getDescription()
        Specified by:
        getDescription in interface com.pullreports.userquery.NamedQuery
      • getViewMode

        public com.pullreports.userquery.NamedQuery.ViewMode getViewMode()
        Specified by:
        getViewMode in interface com.pullreports.userquery.NamedQuery
      • getColumns

        public List<Column> getColumns()
        Specified by:
        getColumns in interface com.pullreports.userquery.NamedQuery
      • getSorts

        public List<Sort> getSorts()
        Specified by:
        getSorts in interface com.pullreports.userquery.NamedQuery
      • getFilters

        public List<Filter> getFilters()
        Specified by:
        getFilters in interface com.pullreports.userquery.NamedQuery