Interface IFormDAO
- All Known Implementing Classes:
FormDAO
public interface IFormDAO
IFormDAO Interface
-
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete a record from the tablefr.paris.lutece.util.ReferenceListgetEnableFormList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all enable form returns them in a reference listintInsert a new record in the table.load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of the Form from the tableselectFormList(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 listvoidUpdate the form in the table
-
Method Details
-
insert
Insert a new record in the table.- Parameters:
form- instance of the Form to insertplugin- the plugin- Returns:
- the id of the new form
-
store
Update the form in the table- Parameters:
form- instance of the Form object to updateplugin- the plugin
-
delete
void delete(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete a record from the table- Parameters:
nIdForm- The identifier of the formplugin- the plugin
-
load
Load the data of the Form from the table- Parameters:
nKey- The identifier of the formplugin- the plugin- Returns:
- the instance of the Form
-
selectFormList
Load the data of all the form who verify the filter and returns them in a list- Parameters:
filter- the filterplugin- the plugin- Returns:
- the list of form
-
getEnableFormList
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- Parameters:
plugin- the plugin- Returns:
- a reference list of form
-