Interface IFormDAO
-
- All Known Implementing Classes:
FormDAO
public interface IFormDAOIFormDAO Interface
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddelete(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(Form form, fr.paris.lutece.portal.service.plugin.Plugin plugin)Insert a new record in the table.Formload(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of the Form from the tablejava.util.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 listvoidstore(Form form, fr.paris.lutece.portal.service.plugin.Plugin plugin)Update the form in the table
-
-
-
Method Detail
-
insert
int insert(Form form, fr.paris.lutece.portal.service.plugin.Plugin plugin)
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
void store(Form form, fr.paris.lutece.portal.service.plugin.Plugin plugin)
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
Form load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
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
java.util.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- 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
-
-