public interface IResponseService
| Modifier and Type | Method and Description |
|---|---|
void |
anonymizeEntries(List<Integer> listIdEntries,
Timestamp dateCleanTo)
Anonymize entries of responses
|
void |
create(FormSubmit formSubmit)
Create a form submit
|
void |
create(fr.paris.lutece.plugins.genericattributes.business.Response response,
int nIdFormSubmit)
Creation of an instance of response
|
fr.paris.lutece.plugins.genericattributes.business.Response |
findByPrimaryKey(int nKey,
boolean bGetFileData)
Returns an instance of a Response whose identifier is specified in
parameter
|
fr.paris.lutece.plugins.genericattributes.service.file.FileService |
getFileService()
Get the file service
|
List<fr.paris.lutece.plugins.genericattributes.business.Response> |
getResponseList(fr.paris.lutece.plugins.genericattributes.business.ResponseFilter filter,
boolean bGetFileData)
Load the data of all the response who verify the filter and returns them
in a list
|
List<fr.paris.lutece.plugins.genericattributes.business.StatisticEntrySubmit> |
getStatisticByIdEntry(int nIdEntry)
Return a list of statistic on the entry
|
void |
removeFromFormSubmit(int nIdFormSubmit)
Remove responses associated with a given form submit
|
void |
update(fr.paris.lutece.plugins.genericattributes.business.Response response)
Update of the response which is specified in parameter
|
fr.paris.lutece.plugins.genericattributes.service.file.FileService getFileService()
@Transactional(value="form.transactionManager") void create(FormSubmit formSubmit)
formSubmit - The form submit to createvoid create(fr.paris.lutece.plugins.genericattributes.business.Response response,
int nIdFormSubmit)
response - The instance of the response which contains the
informations to storenIdFormSubmit - The id of the form submit associated with this
responsevoid update(fr.paris.lutece.plugins.genericattributes.business.Response response)
response - The instance of the Response which contains the
informations to updatefr.paris.lutece.plugins.genericattributes.business.Response findByPrimaryKey(int nKey,
boolean bGetFileData)
nKey - The entry primary keybGetFileData - get file dataList<fr.paris.lutece.plugins.genericattributes.business.Response> getResponseList(fr.paris.lutece.plugins.genericattributes.business.ResponseFilter filter, boolean bGetFileData)
filter - the filterbGetFileData - get file dataList<fr.paris.lutece.plugins.genericattributes.business.StatisticEntrySubmit> getStatisticByIdEntry(int nIdEntry)
nIdEntry - the id of the entryvoid anonymizeEntries(List<Integer> listIdEntries, Timestamp dateCleanTo)
listIdEntries - The list of id of responses to anonymize responses
ofdateCleanTo - Anonymize responses posted before this datevoid removeFromFormSubmit(int nIdFormSubmit)
nIdFormSubmit - The id of the form submitCopyright © 2015 Mairie de Paris. All rights reserved.