|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.form.service.ResponseService
public class ResponseService
ResponseService
| Constructor Summary | |
|---|---|
ResponseService()
|
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ResponseService()
| Method Detail |
|---|
public fr.paris.lutece.plugins.genericattributes.service.file.FileService getFileService()
getFileService in interface IResponseService@Transactional(value="form.transactionManager") public void create(FormSubmit formSubmit)
create in interface IResponseServiceformSubmit - The form submit to create
public void create(fr.paris.lutece.plugins.genericattributes.business.Response response,
int nIdFormSubmit)
create in interface IResponseServiceresponse - The instance of the response which contains the
informations to storenIdFormSubmit - The id of the form submit associated with this
responsepublic void update(fr.paris.lutece.plugins.genericattributes.business.Response response)
update in interface IResponseServiceresponse - The instance of the Response which contains the
informations to update
public fr.paris.lutece.plugins.genericattributes.business.Response findByPrimaryKey(int nKey,
boolean bGetFileData)
findByPrimaryKey in interface IResponseServicenKey - The entry primary keybGetFileData - get file data
public List<fr.paris.lutece.plugins.genericattributes.business.Response> getResponseList(fr.paris.lutece.plugins.genericattributes.business.ResponseFilter filter,
boolean bGetFileData)
getResponseList in interface IResponseServicefilter - the filterbGetFileData - get file data
public List<fr.paris.lutece.plugins.genericattributes.business.StatisticEntrySubmit> getStatisticByIdEntry(int nIdEntry)
getStatisticByIdEntry in interface IResponseServicenIdEntry - the id of the entry
public void anonymizeEntries(List<Integer> listIdEntries,
Timestamp dateCleanTo)
anonymizeEntries in interface IResponseServicelistIdEntries - The list of id of responses to anonymize responses
ofdateCleanTo - Anonymize responses posted before this datepublic void removeFromFormSubmit(int nIdFormSubmit)
removeFromFormSubmit in interface IResponseServicenIdFormSubmit - The id of the form submit
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||