public class ResponseFilter extends Object
Modifier and Type | Field and Description |
---|---|
static int |
ALL_INT |
Constructor and Description |
---|
ResponseFilter() |
Modifier and Type | Method and Description |
---|---|
boolean |
containsDateFirst() |
boolean |
containsDateLast() |
boolean |
containsIdEntry() |
boolean |
containsIdField() |
boolean |
containsIdForm() |
Timestamp |
getDateFirst() |
Timestamp |
getDateLast() |
int |
getIdEntry() |
int |
getIdField() |
int |
getIdForm() |
boolean |
isGroupbyDay() |
boolean |
isGroupbyMonth()
true if the response must be group by month
|
boolean |
isGroupbyWeek()
true if the response must be group by week
|
void |
setDateFirst(Timestamp begin)
set the date of the first submit
|
void |
setDateLast(Timestamp end)
set the date of the last submit
|
void |
setGroupbyDay(boolean groupbyDay)
set true if the response must be group by day
|
void |
setGroupbyMonth(boolean groupbyMonth)
set true if the response must be group by month
|
void |
setGroupbyWeek(boolean groupbyWeek)
set true if the response must be group by week
|
void |
setIdEntry(int idEntry)
set the id of entry depend in the filter
|
void |
setIdField(int idField)
set the id of field depend in the filter
|
void |
setIdForm(int idForm)
set the id of form in the filter
|
public static final int ALL_INT
public int getIdForm()
public void setIdForm(int idForm)
idForm
- the id of form to insert in the filterpublic boolean containsIdForm()
public int getIdField()
public void setIdField(int idField)
idField
- the id of field depend to insert in the filterpublic boolean containsIdField()
public int getIdEntry()
public void setIdEntry(int idEntry)
idEntry
- the id of entry depend to insert in the filterpublic boolean containsIdEntry()
public Timestamp getDateFirst()
public void setDateFirst(Timestamp begin)
begin
- date of the first submitpublic boolean containsDateFirst()
public Timestamp getDateLast()
public void setDateLast(Timestamp end)
end
- the date of the last submitpublic boolean containsDateLast()
public boolean isGroupbyDay()
public void setGroupbyDay(boolean groupbyDay)
groupbyDay
- true if the response must be group by daypublic boolean isGroupbyMonth()
public void setGroupbyMonth(boolean groupbyMonth)
groupbyMonth
- true if the response must be group by monthpublic boolean isGroupbyWeek()
public void setGroupbyWeek(boolean groupbyWeek)
groupbyWeek
- true if the response must be group by weekCopyright © 2017 City of Paris. All rights reserved.