fr.paris.lutece.plugins.form.service
Interface IResponseService

All Known Implementing Classes:
ResponseService

public interface IResponseService

Response service


Method Summary
 void create(FormSubmit formSubmit)
           
 void create(Response response)
          Creation of an instance of response
 Response findByPrimaryKey(int nKey, boolean bGetFileData)
          Returns an instance of a Response whose identifier is specified in parameter
 java.util.List<Response> getResponseList(ResponseFilter filter, boolean bGetFileData)
          Load the data of all the response who verify the filter and returns them in a list
 java.util.List<StatisticEntrySubmit> getStatisticByIdEntry(int nIdEntry)
          Return a list of statistic on the entry
 void remove(int nIdFormSubmit)
          Remove all response associate to the form submit whose identifier is specified in parameter
 void setFileService(FileService fileService)
          Set the file service
 void update(Response response)
          Update of the response which is specified in parameter
 

Method Detail

setFileService

void setFileService(FileService fileService)
Set the file service

Parameters:
fileService - the file service

create

@Transactional(value="form.transactionManager")
void create(FormSubmit formSubmit)

create

void create(Response response)
Creation of an instance of response

Parameters:
response - The instance of the response which contains the informations to store

update

void update(Response response)
Update of the response which is specified in parameter

Parameters:
response - The instance of the Response which contains the informations to update

remove

@Transactional(value="form.transactionManager")
void remove(int nIdFormSubmit)
Remove all response associate to the form submit whose identifier is specified in parameter

Parameters:
nIdFormSubmit - The formSubmitKey

findByPrimaryKey

Response findByPrimaryKey(int nKey,
                          boolean bGetFileData)
Returns an instance of a Response whose identifier is specified in parameter

Parameters:
nKey - The entry primary key
bGetFileData - get file data
Returns:
an instance of Response

getResponseList

java.util.List<Response> getResponseList(ResponseFilter filter,
                                         boolean bGetFileData)
Load the data of all the response who verify the filter and returns them in a list

Parameters:
filter - the filter
bGetFileData - get file data
Returns:
the list of response

getStatisticByIdEntry

java.util.List<StatisticEntrySubmit> getStatisticByIdEntry(int nIdEntry)
Return a list of statistic on the entry

Parameters:
nIdEntry - the id of the entry
Returns:
return a list of statistic on the entry


Copyright © 2012 Mairie de Paris. All Rights Reserved.