fr.paris.lutece.plugins.form.business
Class ResponseFilter

java.lang.Object
  extended by fr.paris.lutece.plugins.form.business.ResponseFilter

public class ResponseFilter
extends java.lang.Object

class ResponseFilter


Field Summary
static int ALL_INT
           
 
Constructor Summary
ResponseFilter()
           
 
Method Summary
 boolean containsDateFirst()
           
 boolean containsDateLast()
           
 boolean containsIdEntry()
           
 boolean containsIdField()
           
 boolean containsIdForm()
           
 java.sql.Timestamp getDateFirst()
           
 java.sql.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(java.sql.Timestamp begin)
          set the date of the first submit
 void setDateLast(java.sql.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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ALL_INT

public static final int ALL_INT
See Also:
Constant Field Values
Constructor Detail

ResponseFilter

public ResponseFilter()
Method Detail

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

public java.sql.Timestamp getDateFirst()
Returns:
date of the first submit

setDateFirst

public void setDateFirst(java.sql.Timestamp begin)
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

public java.sql.Timestamp getDateLast()
Returns:
date of the last submit

setDateLast

public void setDateLast(java.sql.Timestamp end)
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


Copyright © 2011 Mairie de Paris. All Rights Reserved.