Class ResponseFilter
java.lang.Object
fr.paris.lutece.plugins.form.business.ResponseFilter
class ResponseFilter
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbooleanbooleanbooleanintintintbooleanbooleantrue if the response must be group by monthbooleantrue if the response must be group by weekvoidsetDateFirst(Timestamp begin) set the date of the first submitvoidsetDateLast(Timestamp end) set the date of the last submitvoidsetGroupbyDay(boolean groupbyDay) set true if the response must be group by dayvoidsetGroupbyMonth(boolean groupbyMonth) set true if the response must be group by monthvoidsetGroupbyWeek(boolean groupbyWeek) set true if the response must be group by weekvoidsetIdEntry(int idEntry) set the id of entry depend in the filtervoidsetIdField(int idField) set the id of field depend in the filtervoidsetIdForm(int idForm) set the id of form in the filter
-
Field Details
-
ALL_INT
public static final int ALL_INT- See Also:
-
-
Constructor Details
-
ResponseFilter
public ResponseFilter()
-
-
Method Details
-
getIdForm
public int getIdForm()- Returns:
- the id of form insert in the filter
-
setIdForm
public void setIdForm(int idForm) set the id of form in the filter- Parameters:
idForm- the id of form to insert in the filter
-
containsIdForm
public boolean containsIdForm()- Returns:
- true if the filter contain an id of form
-
getIdField
public int getIdField()- Returns:
- the id of field insert in the filter
-
setIdField
public void setIdField(int idField) set the id of field depend in the filter- Parameters:
idField- the id of field depend to insert in the filter
-
containsIdField
public boolean containsIdField()- Returns:
- true if the filter contain an id of field depend
-
getIdEntry
public int getIdEntry()- Returns:
- the id of entry insert in the filter
-
setIdEntry
public void setIdEntry(int idEntry) set the id of entry depend in the filter- Parameters:
idEntry- the id of entry depend to insert in the filter
-
containsIdEntry
public boolean containsIdEntry()- Returns:
- true if the filter contain an id of entry depend
-
getDateFirst
- Returns:
- date of the first submit
-
setDateFirst
set the date of the first submit- Parameters:
begin- date of the first submit
-
containsDateFirst
public boolean containsDateFirst()- Returns:
- true if the filter contain the date of the first submit
-
getDateLast
- Returns:
- date of the last submit
-
setDateLast
set the date of the last submit- Parameters:
end- the date of the last submit
-
containsDateLast
public boolean containsDateLast()- Returns:
- true if the filter contain the date of the last submit
-
isGroupbyDay
public boolean isGroupbyDay()- Returns:
- true if the response must be group by day
-
setGroupbyDay
public void setGroupbyDay(boolean groupbyDay) set true if the response must be group by day- Parameters:
groupbyDay- true if the response must be group by day
-
isGroupbyMonth
public boolean isGroupbyMonth()true if the response must be group by month- Returns:
- true if the response must be group by month
-
setGroupbyMonth
public void setGroupbyMonth(boolean groupbyMonth) set true if the response must be group by month- Parameters:
groupbyMonth- true if the response must be group by month
-
isGroupbyWeek
public boolean isGroupbyWeek()true if the response must be group by week- Returns:
- true if the response must be group by week
-
setGroupbyWeek
public void setGroupbyWeek(boolean groupbyWeek) set true if the response must be group by week- Parameters:
groupbyWeek- true if the response must be group by week
-