public interface IFormDatabaseService
| Modifier and Type | Method and Description |
|---|---|
fr.paris.lutece.plugins.genericattributes.business.Entry |
copyEntry(fr.paris.lutece.plugins.genericattributes.business.Entry entry)
copy an entry
|
void |
createControl(Control control)
Create a control
|
void |
createEntry(fr.paris.lutece.plugins.genericattributes.business.Entry entry)
Create an entry
|
void |
createField(fr.paris.lutece.plugins.genericattributes.business.Field field)
Create a field
|
void |
createFormDisplay(FormDisplay formDisplay)
Create a formDisplay
|
void |
createGroup(Group group)
Create a group
|
void |
createMappingControl(int nIdcontrol,
int nIdQuestion,
String strValue) |
void |
createQuestion(Question question)
Create a question
|
void |
createStep(Step step)
Create a step
|
FormDisplay |
findDisplayByPrimaryKey(int idDisplay)
Find a formdisplay by its id
|
fr.paris.lutece.plugins.genericattributes.business.Entry |
findEntryByPrimaryKey(int idEntry)
Find an entry by its id
|
fr.paris.lutece.plugins.genericattributes.business.Field |
findFieldByPrimaryKey(int idField)
Find a field by its id
|
Group |
findGroupByPrimaryKey(int idGroup)
Find a group by its id
|
Integer |
findIdReferenceItemByIdField(int idField)
Loads records form the database.
|
Question |
findQuestionByPrimaryKey(int idQuestion)
Find a qusteion by its id
|
Step |
findStepByPrimaryKey(int idStep)
Find a step by its id
|
List<Control> |
getControlByQuestion(int nIdQuestion)
Loads control list based on its attached question and control type
|
List<ControlMapping> |
getControlMappingListByIdControl(int nIdControl)
Load the data of all the control objects and returns them as a list
|
FormDisplay |
getFormDisplayByFormStepAndComposite(int nIdForm,
int nIdStep,
int nIdComposite)
Return the FormDisplay associated to the given parameters
|
List<FormDisplay> |
getFormDisplayListByParent(int nIdStep,
int nIdParent)
Load the data of all the formDisplay that are direct children of a given parent and returns them as a list
|
List<Group> |
getGroupsListByIdStepList(List<Integer> idStepList)
Load the data of all the group objects and returns them as a list
|
List<Question> |
getListQuestionByForm(int nIdForm)
Find all Questions by form
|
List<Question> |
getQuestionsListByStep(int nIdStep)
Load the data of all the question objects and returns them as a list
|
void |
updateEntry(fr.paris.lutece.plugins.genericattributes.business.Entry entry)
update an entry
|
void |
updateField(fr.paris.lutece.plugins.genericattributes.business.Field field)
update a field
|
void |
updateFormDisplay(FormDisplay formDisplay)
update a FormDisplay
|
void |
updateGroup(Group group)
update a group
|
void |
updateQuestion(Question question)
update a question
|
Step findStepByPrimaryKey(int idStep)
idStep - Question findQuestionByPrimaryKey(int idQuestion)
idQuestion - fr.paris.lutece.plugins.genericattributes.business.Entry findEntryByPrimaryKey(int idEntry)
idEntry - Group findGroupByPrimaryKey(int idGroup)
idGroup - fr.paris.lutece.plugins.genericattributes.business.Field findFieldByPrimaryKey(int idField)
idField - FormDisplay findDisplayByPrimaryKey(int idDisplay)
idDisplay - fr.paris.lutece.plugins.genericattributes.business.Entry copyEntry(fr.paris.lutece.plugins.genericattributes.business.Entry entry)
entry - void createEntry(fr.paris.lutece.plugins.genericattributes.business.Entry entry)
entry - void createFormDisplay(FormDisplay formDisplay)
formDisplay - void createField(fr.paris.lutece.plugins.genericattributes.business.Field field)
field - void createStep(Step step)
step - void createQuestion(Question question)
question - void createControl(Control control)
control - void createGroup(Group group)
group - void updateGroup(Group group)
group - void updateEntry(fr.paris.lutece.plugins.genericattributes.business.Entry entry)
entry - void updateField(fr.paris.lutece.plugins.genericattributes.business.Field field)
field - void updateQuestion(Question question)
question - void updateFormDisplay(FormDisplay formDisplay)
formDisplay - List<Question> getListQuestionByForm(int nIdForm)
nIdForm - List<FormDisplay> getFormDisplayListByParent(int nIdStep, int nIdParent)
nIdStep - The step primary keynIdParent - The parent primary keyList<Control> getControlByQuestion(int nIdQuestion)
nIdQuestion - the question idFormDisplay getFormDisplayByFormStepAndComposite(int nIdForm, int nIdStep, int nIdComposite)
nIdForm - The identifier of the Form to matchnIdStep - The identifier of the Step to matchnIdComposite - The identifier of the Composite to matchList<Group> getGroupsListByIdStepList(List<Integer> idStepList)
idStepList - List<Question> getQuestionsListByStep(int nIdStep)
nIdStep - The step primary keyInteger findIdReferenceItemByIdField(int idField)
idField - List<ControlMapping> getControlMappingListByIdControl(int nIdControl)
nIdControl - the Control idvoid createMappingControl(int nIdcontrol,
int nIdQuestion,
String strValue)
Copyright © 2022 City of Paris. All rights reserved.