public final class ControlDAO extends Object implements IControlDAO
| Constructor and Description |
|---|
ControlDAO() |
| 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 |
insert(Control control,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
Control |
load(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
Control |
selectControlByDisplay(int nIdDisplay,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Select a control for conditional display based on its attached display id
|
List<Control> |
selectControlsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the control objects and returns them as a list
|
fr.paris.lutece.util.ReferenceList |
selectControlsReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the control objects and returns them as a referenceList
|
List<Integer> |
selectIdControlsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the id of all the control objects and returns them as a list
|
void |
store(Control control,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
public void insert(Control control, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface IControlDAOcontrol - instance of the Control object to insertplugin - the Pluginpublic Control load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface IControlDAOnKey - The identifier of the controlplugin - the Pluginpublic void delete(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface IControlDAOnKey - The identifier of the Control to deleteplugin - the Pluginpublic void store(Control control, fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface IControlDAOcontrol - the reference of the Controlplugin - the Pluginpublic List<Control> selectControlsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectControlsList in interface IControlDAOplugin - the Pluginpublic List<Integer> selectIdControlsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectIdControlsList in interface IControlDAOplugin - the Pluginpublic fr.paris.lutece.util.ReferenceList selectControlsReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectControlsReferenceList in interface IControlDAOplugin - the Pluginpublic Control selectControlByDisplay(int nIdDisplay, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IControlDAOselectControlByDisplay in interface IControlDAOnIdDisplay - the display idplugin - the PluginCopyright © 2018 City of Paris. All rights reserved.