public interface IFormSubmitDAO
Modifier and Type | Method and Description |
---|---|
void |
anonymizeEntries(List<Integer> listIdEntries,
Timestamp dateCleanTo,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Anonymize entries of responses
|
void |
associateResponseWithFormSubmit(int nIdResponse,
int nIdFormSubmit,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Associate a response with a form submit
|
void |
delete(int nIdFormResponse,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
FormSubmit |
findFormSubmitFromResponseId(int nIdResponse,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find a form submit from the id of a response associated with it
|
List<Integer> |
getResponseListFromIdFormSubmit(int nIdFormSubmit,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the list of id of responses associated with a form submit
|
int |
insert(FormSubmit formResponse,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
FormSubmit |
load(int nIdFormResponse,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of the formResponse from the table
|
void |
removeResponseFormSubmitAssociation(int nIdResponse,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove the association between a response and a form submit
|
int |
selectCountByFilter(fr.paris.lutece.plugins.genericattributes.business.ResponseFilter filter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the formResponse who verify the filter and returns
them in a list
|
List<FormSubmit> |
selectListByFilter(fr.paris.lutece.plugins.genericattributes.business.ResponseFilter filter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the formResponse who verify the filter and returns
them in a list
|
List<StatisticFormSubmit> |
selectStatisticFormSubmit(fr.paris.lutece.plugins.genericattributes.business.ResponseFilter filter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the number of formSubmit who verify the filter and returns them in a
list of statistic
|
void |
store(FormSubmit formResponse,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the the formResponse in the table
|
int insert(FormSubmit formResponse, fr.paris.lutece.portal.service.plugin.Plugin plugin)
formResponse
- instance of the formResponse object to insertplugin
- the pluginFormSubmit load(int nIdFormResponse, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdFormResponse
- The identifier of the formResponseplugin
- the pluginvoid delete(int nIdFormResponse, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdFormResponse
- The identifier of the formResponseplugin
- the pluginvoid store(FormSubmit formResponse, fr.paris.lutece.portal.service.plugin.Plugin plugin)
formResponse
- instance of the formResponse object to updateplugin
- the pluginList<FormSubmit> selectListByFilter(fr.paris.lutece.plugins.genericattributes.business.ResponseFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
filter
- the filterplugin
- the pluginint selectCountByFilter(fr.paris.lutece.plugins.genericattributes.business.ResponseFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
filter
- the filterplugin
- the pluginList<StatisticFormSubmit> selectStatisticFormSubmit(fr.paris.lutece.plugins.genericattributes.business.ResponseFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
filter
- the filterplugin
- the pluginFormSubmit findFormSubmitFromResponseId(int nIdResponse, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdResponse
- The id of the responseplugin
- The pluginvoid anonymizeEntries(List<Integer> listIdEntries, Timestamp dateCleanTo, fr.paris.lutece.portal.service.plugin.Plugin plugin)
listIdEntries
- The list of id of entries to anonymize responses ofdateCleanTo
- Anonymize responses posted before this dateplugin
- The pluginList<Integer> getResponseListFromIdFormSubmit(int nIdFormSubmit, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdFormSubmit
- The id of the form submitplugin
- The pluginvoid associateResponseWithFormSubmit(int nIdResponse, int nIdFormSubmit, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdResponse
- The id of the responsenIdFormSubmit
- The id of the form submitplugin
- The pluginvoid removeResponseFormSubmitAssociation(int nIdResponse, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdResponse
- The id of the responseplugin
- The pluginCopyright © 2016 City of Paris. All rights reserved.