Interface IFormDAO
-
- All Known Implementing Classes:
FormDAO
public interface IFormDAOForm DAO Interface- Author:
- Laurent Payen
-
-
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 tableList<Form>findActiveAndDisplayedOnPortletForms(fr.paris.lutece.portal.service.plugin.Plugin plugin)Get all the forms that are active on displayed on portletList<Form>findActiveForms(fr.paris.lutece.portal.service.plugin.Plugin plugin)Get all the forms that are activeList<Form>findAllForms(fr.paris.lutece.portal.service.plugin.Plugin plugin)Get all the formsList<Form>findByTitle(String strTitle, fr.paris.lutece.portal.service.plugin.Plugin plugin)Get all the forms with a given titlevoidinsert(Form form, fr.paris.lutece.portal.service.plugin.Plugin plugin)Insert a new record in the tableFormselect(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data from the tableList<Form>selectByCategory(int nIdCategory, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data from the tablevoidupdate(Form form, fr.paris.lutece.portal.service.plugin.Plugin plugin)Update the record in the table
-
-
-
Method Detail
-
insert
void insert(Form form, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table- Parameters:
form- instance of the form object to insertplugin- the plugin
-
update
void update(Form form, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table- Parameters:
form- the reference of the formplugin- the plugin
-
delete
void delete(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a record from the table- Parameters:
nIdFrom- identifier of the form to deleteplugin- the plugin
-
selectByCategory
List<Form> selectByCategory(int nIdCategory, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table- Parameters:
nIdCategory- the identifier of the categoryplugin- the plugin- Returns:
- the instance of the Form
-
select
Form select(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table- Parameters:
nIdForm- the identifier of the formplugin- the plugin- Returns:
- the instance of the Form
-
findActiveForms
List<Form> findActiveForms(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get all the forms that are active- Parameters:
plugin- the plugin- Returns:
- all the active forms
-
findActiveAndDisplayedOnPortletForms
List<Form> findActiveAndDisplayedOnPortletForms(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get all the forms that are active on displayed on portlet- Parameters:
plugin- the plugin- Returns:
- all the active and displayed on portlet forms
-
findByTitle
List<Form> findByTitle(String strTitle, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get all the forms with a given title- Parameters:
strTitle- the Title of the formplugin- the plugin- Returns:
- all the forms with this title
-
-