Package com.pullreports.model
Class CannedQuery
- Object
-
- com.pullreports.model.CannedQuery
-
- All Implemented Interfaces:
com.pullreports.userquery.NamedQuery
public class CannedQuery extends Object implements com.pullreports.userquery.NamedQuery
-
-
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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Column>
getColumns()
Optional<String>
getDescription()
boolean
getDistinct()
List<Filter>
getFilters()
String
getId()
String
getName()
List<Sort>
getSorts()
com.pullreports.userquery.NamedQuery.ViewMode
getViewMode()
-
-
-
Method Detail
-
getId
public String getId()
- Specified by:
getId
in interfacecom.pullreports.userquery.NamedQuery
-
getName
public String getName()
- Specified by:
getName
in interfacecom.pullreports.userquery.NamedQuery
-
getDistinct
public boolean getDistinct()
- Specified by:
getDistinct
in interfacecom.pullreports.userquery.NamedQuery
-
getDescription
public Optional<String> getDescription()
- Specified by:
getDescription
in interfacecom.pullreports.userquery.NamedQuery
-
getViewMode
public com.pullreports.userquery.NamedQuery.ViewMode getViewMode()
- Specified by:
getViewMode
in interfacecom.pullreports.userquery.NamedQuery
-
getColumns
public List<Column> getColumns()
- Specified by:
getColumns
in interfacecom.pullreports.userquery.NamedQuery
-
getSorts
public List<Sort> getSorts()
- Specified by:
getSorts
in interfacecom.pullreports.userquery.NamedQuery
-
getFilters
public List<Filter> getFilters()
- Specified by:
getFilters
in interfacecom.pullreports.userquery.NamedQuery
-
-