|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.plugins.form.business.FormSubmitDAO
public final class FormSubmitDAO
This class provides Data Access methods for FormResponse objects
Constructor Summary | |
---|---|
FormSubmitDAO()
|
Method Summary | |
---|---|
void |
delete(int nIdFormSubmit,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete all response associate to the form submit whose identifier is specified in parameter |
int |
insert(FormSubmit formSubmit,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table. |
FormSubmit |
load(int nIdFormSubmit,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of the formResponse from the table |
int |
selectCountByFilter(ResponseFilter filter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the formSubmit who verify the filter and returns them in a list |
java.util.List<FormSubmit> |
selectListByFilter(ResponseFilter filter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the formSubmit who verify the filter and returns them in a list |
java.util.List<StatisticFormSubmit> |
selectStatisticFormSubmit(ResponseFilter filter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the number of formSubmit group by day who verify the filter and returns them in a list of statistic |
void |
store(FormSubmit formSubmit,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the the formSubmit in the table |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FormSubmitDAO()
Method Detail |
---|
public int insert(FormSubmit formSubmit, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert
in interface IFormSubmitDAO
formSubmit
- instance of the formResponse object to insertplugin
- the plugin
public FormSubmit load(int nIdFormSubmit, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load
in interface IFormSubmitDAO
nIdFormSubmit
- The identifier of the formResponseplugin
- the plugin
public void delete(int nIdFormSubmit, fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete
in interface IFormSubmitDAO
nIdFormSubmit
- The identifier of the formResponseplugin
- the pluginpublic void store(FormSubmit formSubmit, fr.paris.lutece.portal.service.plugin.Plugin plugin)
store
in interface IFormSubmitDAO
formSubmit
- instance of the formSubmit object to updateplugin
- the pluginpublic java.util.List<FormSubmit> selectListByFilter(ResponseFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectListByFilter
in interface IFormSubmitDAO
filter
- the filterplugin
- the plugin
public int selectCountByFilter(ResponseFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectCountByFilter
in interface IFormSubmitDAO
filter
- the filterplugin
- the plugin
public java.util.List<StatisticFormSubmit> selectStatisticFormSubmit(ResponseFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectStatisticFormSubmit
in interface IFormSubmitDAO
filter
- the filterplugin
- the plugin
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |