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 tablejava.util.List<Form>findActiveAndDisplayedOnPortletForms(fr.paris.lutece.portal.service.plugin.Plugin plugin)Get all the forms that are active on displayed on portletjava.util.List<Form>findActiveForms(fr.paris.lutece.portal.service.plugin.Plugin plugin)Get all the forms that are activejava.util.List<Form>findAllForms(fr.paris.lutece.portal.service.plugin.Plugin plugin)Get all the formsjava.util.List<Form>findByTitle(java.lang.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 tablejava.util.List<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
java.util.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
java.util.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
java.util.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
java.util.List<Form> findByTitle(java.lang.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
-
findAllForms
java.util.List<Form> findAllForms(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get all the forms- Parameters:
plugin- the plugin- Returns:
- all the forms
-
-