public interface IEntryDataService
| Modifier and Type | Method and Description |
|---|---|
FormQuestionResponse |
createResponseFromRequest(Question question,
javax.servlet.http.HttpServletRequest request,
boolean bValidateQuestion)
Creates the response values from request for the given question
|
String |
getDataServiceName() |
boolean |
isResponseChanged(FormQuestionResponse responseReference,
FormQuestionResponse responseNew)
Tests if a response has changed
|
void |
questionMoved(javax.servlet.http.HttpServletRequest request,
Question question,
int nNewIterationNumber)
Performs a treatment when the question is moved in front-office
|
void |
questionRemoved(javax.servlet.http.HttpServletRequest request,
Question question)
Performs a treatment when the question is removed in front-office
|
List<String> |
responseToStrings(FormQuestionResponse formQuestionResponse)
Extracts the responses from the specified form question response as a list of
String objects |
void |
save(FormQuestionResponse questionResponse) |
String getDataServiceName()
void save(FormQuestionResponse questionResponse)
questionResponse - the questionResponse to saveFormQuestionResponse createResponseFromRequest(Question question, javax.servlet.http.HttpServletRequest request, boolean bValidateQuestion)
question - the question torequest - The Http requestbValidateQuestion - the boolean to validate questionboolean isResponseChanged(FormQuestionResponse responseReference, FormQuestionResponse responseNew)
responseReference - the reference responseresponseNew - the new responsetrue if the response has changed, false otherwiseList<String> responseToStrings(FormQuestionResponse formQuestionResponse)
String objectsformQuestionResponse - the response to convertString objectsvoid questionRemoved(javax.servlet.http.HttpServletRequest request,
Question question)
request - the requestquestion - the removed questionvoid questionMoved(javax.servlet.http.HttpServletRequest request,
Question question,
int nNewIterationNumber)
request - the requestquestion - the moved questionnNewIterationNumber - the new iteration numberCopyright © 2020 City of Paris. All rights reserved.