public final class TemplateControlDAO extends Object implements ITemplateControlDAO
| Constructor and Description |
|---|
TemplateControlDAO() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
void |
deleteByControlTarget(int nIdControlTarget,
fr.paris.lutece.plugins.forms.business.ControlType controlType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table by the control target
|
void |
deleteControlQuestion(int nControl,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
void |
deleteControlQuestionValue(int nControl,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
void |
insert(fr.paris.lutece.plugins.forms.business.Control control,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
void |
insert(int nIdControl,
int nIdQuestion,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
void |
insert(int nIdControl,
int nIdQuestion,
String strValue,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
fr.paris.lutece.plugins.forms.business.Control |
load(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
Set<Integer> |
loadIdQuestions(int nIdControl,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
List<fr.paris.lutece.plugins.forms.business.Control> |
selectControlByControlTargetAndType(int nIdControlTarget,
fr.paris.lutece.plugins.forms.business.ControlType controlType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Select a control for conditional display based on its attached display id
|
List<fr.paris.lutece.plugins.forms.business.Control> |
selectControlByQuestion(int nIdQuestion,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Select control list based on its attached question and control type
|
List<fr.paris.lutece.plugins.forms.business.Control> |
selectControlByQuestionAndType(int nIdQuestion,
String strControlType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Select control list based on its attached question and control type
|
List<fr.paris.lutece.plugins.forms.business.ControlMapping> |
selectMappingControlList(int nIdControl,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the control mapping and returns them as a List
|
void |
store(fr.paris.lutece.plugins.forms.business.Control control,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
public void insert(fr.paris.lutece.plugins.forms.business.Control control,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface ITemplateControlDAOcontrol - instance of the Control object to insertplugin - the Pluginpublic void insert(int nIdControl,
int nIdQuestion,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface ITemplateControlDAOnIdQuestion - the question idplugin - the Pluginpublic void insert(int nIdControl,
int nIdQuestion,
String strValue,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface ITemplateControlDAOnIdQuestion - the question idstrValue - the valueplugin - the Pluginpublic fr.paris.lutece.plugins.forms.business.Control load(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface ITemplateControlDAOnKey - The identifier of the controlplugin - the Pluginpublic Set<Integer> loadIdQuestions(int nIdControl, fr.paris.lutece.portal.service.plugin.Plugin plugin)
loadIdQuestions in interface ITemplateControlDAOnIdControl - The identifier of the controlplugin - the Pluginpublic void delete(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface ITemplateControlDAOnKey - The identifier of the Control to deleteplugin - the Pluginpublic void deleteControlQuestion(int nControl,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
deleteControlQuestion in interface ITemplateControlDAOplugin - the Pluginpublic void deleteControlQuestionValue(int nControl,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
deleteControlQuestionValue in interface ITemplateControlDAOplugin - the Pluginpublic void deleteByControlTarget(int nIdControlTarget,
fr.paris.lutece.plugins.forms.business.ControlType controlType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
deleteByControlTarget in interface ITemplateControlDAOnIdControlTarget - The identifier of the Control targetcontrolType - The control typeplugin - the Pluginpublic void store(fr.paris.lutece.plugins.forms.business.Control control,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface ITemplateControlDAOcontrol - the reference of the Controlplugin - the Pluginpublic List<fr.paris.lutece.plugins.forms.business.Control> selectControlByControlTargetAndType(int nIdControlTarget, fr.paris.lutece.plugins.forms.business.ControlType controlType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
ITemplateControlDAOselectControlByControlTargetAndType in interface ITemplateControlDAOnIdControlTarget - the control target idcontrolType - the control typeplugin - the Pluginpublic List<fr.paris.lutece.plugins.forms.business.Control> selectControlByQuestionAndType(int nIdQuestion, String strControlType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
ITemplateControlDAOselectControlByQuestionAndType in interface ITemplateControlDAOnIdQuestion - the question idstrControlType - the control typeplugin - the Pluginpublic List<fr.paris.lutece.plugins.forms.business.Control> selectControlByQuestion(int nIdQuestion, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectControlByQuestion in interface ITemplateControlDAOnIdQuestion - the question idplugin - the Pluginpublic List<fr.paris.lutece.plugins.forms.business.ControlMapping> selectMappingControlList(int nIdControl, fr.paris.lutece.portal.service.plugin.Plugin plugin)
ITemplateControlDAOselectMappingControlList in interface ITemplateControlDAOplugin - the PluginCopyright © 2021 City of Paris. All rights reserved.