public class GridquestionJpaController extends Object implements Serializable
| Constructor and Description |
|---|
GridquestionJpaController(javax.persistence.EntityManagerFactory emf)
Instantiates a new gridquestion jpa controller.
|
| Modifier and Type | Method and Description |
|---|---|
int |
deleteQuestions(int idSurveyQuestion)
Delete questions.
|
List<String> |
findSurveyQuestionRowColumnGridByIdSurveyAndNumberQuestion(int idSurvey,
int numberQuestion,
String roworcolumnlabel)
Find survey question row column grid by id survey and number question.
|
javax.persistence.EntityManager |
getEntityManager()
Gets the entity manager.
|
void |
insertRowColumn(Survey survey,
SurveyQuestionModel surveyQuestionModel)
Insert row column.
|
public GridquestionJpaController(javax.persistence.EntityManagerFactory emf)
emf - the emfpublic javax.persistence.EntityManager getEntityManager()
public void insertRowColumn(Survey survey, SurveyQuestionModel surveyQuestionModel)
survey - the surveysurveyQuestionModel - the survey question modelpublic List<String> findSurveyQuestionRowColumnGridByIdSurveyAndNumberQuestion(int idSurvey, int numberQuestion, String roworcolumnlabel)
idSurvey - the id surveynumberQuestion - the number questionroworcolumnlabel - the roworcolumnlabelpublic int deleteQuestions(int idSurveyQuestion)
idSurveyQuestion - the id survey questionCopyright © 2018. All Rights Reserved.