public interface ICompositeDisplay
| Modifier and Type | Method and Description |
|---|---|
void |
addModel(Map<String,Object> model)
Adds the specified model in the model of this instance
|
void |
addQuestions(List<Question> listQuestion)
Add the questions into the specified list
|
ICompositeDisplay |
filter(List<Integer> listQuestionIds) |
List<Control> |
getAllDisplayControls() |
String |
getCompositeHtml(javax.servlet.http.HttpServletRequest request,
List<FormQuestionResponse> listFormQuestionResponse,
Locale locale,
DisplayType displayType)
Builds the HTML of the composite
|
List<ICompositeDisplay> |
getCompositeList()
Return the full list of children ICompositeDisplay of an initialized CompositeDisplay
|
FormDisplay |
getFormDisplay()
return the FormDisplay
|
String |
getIcon() |
String |
getTitle() |
String |
getType() |
boolean |
isVisible()
is the composite display visible.
|
void |
iterate(int nIdFormDisplay)
Iterates the specified form display
|
void |
removeIteration(javax.servlet.http.HttpServletRequest request,
int nIdGroupParent,
int nIndexIterationToRemove,
FormResponse formResponse)
Remove the specified iteration of group
|
String getCompositeHtml(javax.servlet.http.HttpServletRequest request, List<FormQuestionResponse> listFormQuestionResponse, Locale locale, DisplayType displayType)
request - the requestlistFormQuestionResponse - the list of form question responseslocale - The localedisplayType - The display typevoid iterate(int nIdFormDisplay)
nIdFormDisplay - the id of the form display to iteratevoid removeIteration(javax.servlet.http.HttpServletRequest request,
int nIdGroupParent,
int nIndexIterationToRemove,
FormResponse formResponse)
request - the requestnIdGroupParent - the id of the groupnIndexIterationToRemove - the index of the iteration to remove in groupformResponse - the form responsesList<ICompositeDisplay> getCompositeList()
String getTitle()
String getType()
FormDisplay getFormDisplay()
String getIcon()
List<Control> getAllDisplayControls()
void addQuestions(List<Question> listQuestion)
listQuestion - the list of question to completevoid addModel(Map<String,Object> model)
model - the model to addboolean isVisible()
ICompositeDisplay filter(List<Integer> listQuestionIds)
Copyright © 2019 City of Paris. All rights reserved.