public interface ITemplateControlDAO
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
|
void insert(fr.paris.lutece.plugins.forms.business.Control control, fr.paris.lutece.portal.service.plugin.Plugin plugin)
control
- instance of the Control object to insertplugin
- the Pluginvoid insert(int nIdControl, int nIdQuestion, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdcontrol
- id of the Control object to insertnIdQuestion
- the question idplugin
- the Pluginvoid insert(int nIdControl, int nIdQuestion, String strValue, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdcontrol
- id of the Control object to insertnIdQuestion
- the question idstrValue
- the valueplugin
- the Pluginvoid store(fr.paris.lutece.plugins.forms.business.Control control, fr.paris.lutece.portal.service.plugin.Plugin plugin)
control
- the reference of the Controlplugin
- the Pluginvoid delete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey
- The identifier of the Control to deleteplugin
- the Pluginvoid deleteControlQuestion(int nControl, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey
- The identifier of the Control to deleteplugin
- the Pluginvoid deleteControlQuestionValue(int nControl, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey
- The identifier of the Control to deleteplugin
- the Pluginvoid deleteByControlTarget(int nIdControlTarget, fr.paris.lutece.plugins.forms.business.ControlType controlType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdControlTarget
- The identifier of the Control targetcontrolType
- The control typeplugin
- the Pluginfr.paris.lutece.plugins.forms.business.Control load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey
- The identifier of the controlplugin
- the PluginSet<Integer> loadIdQuestions(int nIdControl, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdControl
- The identifier of the controlplugin
- the PluginList<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)
nIdControlTarget
- the control target idcontrolType
- the control typeplugin
- the PluginList<fr.paris.lutece.plugins.forms.business.Control> selectControlByQuestionAndType(int nIdQuestion, String strControlType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdQuestion
- the question idstrControlType
- the control typeplugin
- the PluginList<fr.paris.lutece.plugins.forms.business.Control> selectControlByQuestion(int nIdQuestion, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdQuestion
- the question idplugin
- the PluginList<fr.paris.lutece.plugins.forms.business.ControlMapping> selectMappingControlList(int nIdControl, fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- the PluginCopyright © 2022 City of Paris. All rights reserved.