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
|
fr.paris.lutece.util.ReferenceList |
getEnableFormList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all enable form returns them in a reference list
|
int |
insert(Form form,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
Form |
load(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of the Form from the table
|
int |
newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Generates a new primary key
|
List<Form> |
selectFormList(FormFilter filter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the form who verify the filter and returns them in a list
|
void |
store(Form form,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the form in the table
|
public int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- the pluginpublic int insert(Form form, fr.paris.lutece.portal.service.plugin.Plugin plugin)
public Form load(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
public void delete(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)
public void store(Form form, fr.paris.lutece.portal.service.plugin.Plugin plugin)
public List<Form> selectFormList(FormFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectFormList
in interface IFormDAO
filter
- the filterplugin
- the pluginpublic fr.paris.lutece.util.ReferenceList getEnableFormList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
getEnableFormList
in interface IFormDAO
plugin
- the pluginCopyright © 2015 City of Paris. All rights reserved.