public class ResponseFilter extends Object
Constructor and Description |
---|
ResponseFilter() |
Modifier and Type | Method and Description |
---|---|
boolean |
containsDateFirst() |
boolean |
containsDateLast() |
boolean |
containsIdEntry() |
boolean |
containsIdField() |
boolean |
containsIdResource() |
boolean |
containsListIdResource() |
boolean |
containsOrderBy()
Check if the filter contains order by
|
Timestamp |
getDateFirst() |
Timestamp |
getDateLast() |
int |
getIdEntry() |
int |
getIdField() |
int |
getIdResource()
Get the id of a resource in the filter
|
List<Integer> |
getListId() |
String |
getOrderBy()
Get order by
|
boolean |
isGroupbyDay() |
boolean |
isGroupbyMonth()
true if the response must be group by month
|
boolean |
isGroupbyWeek()
true if the response must be group by week
|
boolean |
isOrderByAsc()
Check if the order by is asc
|
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 |
setIdResource(int nIdResource)
Set the id of a resource in the filter
|
void |
setListId(List<Integer> listId) |
void |
setOrderBy(String strOrderBy)
Set order by
|
void |
setOrderByAsc(boolean bIsOrderByAsc)
Set order by asc
|
public int getIdResource()
public void setIdResource(int nIdResource)
nIdResource
- the id of resource to insert in the filterpublic boolean containsIdResource()
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 weekpublic void setOrderBy(String strOrderBy)
strOrderBy
- The order bypublic String getOrderBy()
public boolean containsOrderBy()
public void setOrderByAsc(boolean bIsOrderByAsc)
bIsOrderByAsc
- true if the order by is ascpublic boolean isOrderByAsc()
public boolean containsListIdResource()
Copyright © 2018 City of Paris. All rights reserved.