Constructor and Description |
---|
FormDAO() |
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
|
getNewPrimaryKey
public void insert(Form form, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IFormDAO
public void update(Form form, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IFormDAO
public void delete(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IFormDAO
public Form select(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IFormDAO
public List<Form> findActiveForms(fr.paris.lutece.portal.service.plugin.Plugin plugin)
IFormDAO
findActiveForms
in interface IFormDAO
plugin
- the pluginpublic List<Form> findActiveAndDisplayedOnPortletForms(fr.paris.lutece.portal.service.plugin.Plugin plugin)
IFormDAO
findActiveAndDisplayedOnPortletForms
in interface IFormDAO
plugin
- the pluginpublic List<Form> findByTitle(String strTitle, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IFormDAO
findByTitle
in interface IFormDAO
strTitle
- the Title of the formplugin
- the pluginpublic List<Form> findAllForms(fr.paris.lutece.portal.service.plugin.Plugin plugin)
IFormDAO
findAllForms
in interface IFormDAO
plugin
- the pluginCopyright © 2020 City of Paris. All rights reserved.