public interface IFormDAO
Modifier and Type | Field and Description |
---|---|
static String |
BEAN_NAME
The name of the bean of the DAO
|
Modifier and Type | Method and Description |
---|---|
void |
delete(int nIdForm,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
List<Form> |
findActiveAndDisplayedOnPortletForms(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get all the forms that are active on displayed on portlet
|
List<Form> |
findActiveForms(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get all the forms that are active
|
List<Form> |
findAllForms(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get all the forms
|
List<Form> |
findByTitle(String strTitle,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get all the forms with a given title
|
void |
insert(Form form,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table
|
Form |
select(int nIdForm,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
void |
update(Form form,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
static final String BEAN_NAME
void insert(Form form, fr.paris.lutece.portal.service.plugin.Plugin plugin)
form
- instance of the form object to insertplugin
- the pluginvoid update(Form form, fr.paris.lutece.portal.service.plugin.Plugin plugin)
form
- the reference of the formplugin
- the pluginvoid delete(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdFrom
- identifier of the form to deleteplugin
- the pluginForm select(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdForm
- the identifier of the formplugin
- the pluginList<Form> findActiveForms(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- the pluginList<Form> findActiveAndDisplayedOnPortletForms(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- the pluginList<Form> findByTitle(String strTitle, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strTitle
- the Title of the formplugin
- the pluginCopyright © 2018 City of Paris. All rights reserved.