|
||||||||||
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 |
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 |
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 void setFileService(FileService fileService)
setFileService
in interface IResponseService
fileService
- the file service@Transactional(value="form.transactionManager") public void create(FormSubmit formSubmit)
create
in interface IResponseService
public void create(Response response)
create
in interface IResponseService
response
- The instance of the response which contains the informations to storepublic void update(Response response)
update
in interface IResponseService
response
- The instance of the Response which contains the informations to updatepublic void remove(int nIdFormSubmit)
remove
in interface IResponseService
nIdFormSubmit
- The formSubmitKeypublic Response findByPrimaryKey(int nKey, boolean bGetFileData)
findByPrimaryKey
in interface IResponseService
nKey
- The entry primary keybGetFileData
- get file data
public java.util.List<Response> getResponseList(ResponseFilter filter, boolean bGetFileData)
getResponseList
in interface IResponseService
filter
- the filterbGetFileData
- get file data
public java.util.List<StatisticEntrySubmit> getStatisticByIdEntry(int nIdEntry)
getStatisticByIdEntry
in interface IResponseService
nIdEntry
- the id of the entry
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |