Constructor and Description |
---|
FilterDto() |
Modifier and Type | Method and Description |
---|---|
FilterDto |
add(CriterionDto criterion)
Add a
CriterionDto to the list. |
FilterDto |
add(FilterColumnDto filterColumn)
Add a
FilterColumnDto to the list. |
Collection<FilterColumnDto> |
getColumns() |
Collection<CriterionDto> |
getCriteria() |
String |
getDefaultView() |
Boolean |
getFavourites() |
List<FilterColumnDto> |
getFilterColumns() |
Long |
getId() |
String |
getKey() |
String |
getName() |
Long |
getPageSize() |
Long |
getPeriodIndex() |
Long |
getResourceId() |
Boolean |
getShared() |
Long |
getUserId() |
Boolean |
isFavourites() |
Boolean |
isShared() |
FilterDto |
setDefaultView(String defaultView) |
FilterDto |
setFavourites(Boolean favourites) |
FilterDto |
setKey(String key) |
FilterDto |
setName(String name) |
FilterDto |
setPageSize(Long pageSize) |
FilterDto |
setShared(Boolean shared) |
public FilterDto()
public FilterDto add(CriterionDto criterion)
CriterionDto
to the list.criterion
- the criterion to addpublic FilterDto add(FilterColumnDto filterColumn)
FilterColumnDto
to the list.filterColumn
- the column to addpublic Collection<FilterColumnDto> getColumns()
public Collection<CriterionDto> getCriteria()
public String getDefaultView()
public Boolean getFavourites()
true
if the filter returns only favouritespublic List<FilterColumnDto> getFilterColumns()
public Long getPageSize()
public Long getPeriodIndex()
public Long getResourceId()
public Boolean isFavourites()
true
if the filter displays only favourite resources.public FilterDto setDefaultView(String defaultView)
defaultView
- the defaultView to setpublic FilterDto setFavourites(Boolean favourites)
favourites
- the favourites to setpublic FilterDto setPageSize(Long pageSize)
Copyright © 2009-2012 SonarSource. All Rights Reserved.