Class FormDAO
java.lang.Object
fr.paris.lutece.plugins.appointment.business.form.FormDAO
- All Implemented Interfaces:
IFormDAO
This class provides Data Access methods for Form objects
- Author:
- Laurent Payen
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete a record from the tablefindActiveAndDisplayedOnPortletForms(fr.paris.lutece.portal.service.plugin.Plugin plugin) Get all the forms that are active on displayed on portletfindActiveForms(fr.paris.lutece.portal.service.plugin.Plugin plugin) Get all the forms that are activefindAllForms(fr.paris.lutece.portal.service.plugin.Plugin plugin) Get all the formsfindByTitle(String strTitle, fr.paris.lutece.portal.service.plugin.Plugin plugin) Get all the forms with a given titlevoidInsert a new record in the tableselect(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data from the tableselectByCategory(int nIdCategory, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data from the tablevoidUpdate the record in the table
-
Constructor Details
-
FormDAO
public FormDAO()
-
-
Method Details
-
insert
Description copied from interface:IFormDAOInsert a new record in the table -
update
Description copied from interface:IFormDAOUpdate the record in the table -
delete
public void delete(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin) Description copied from interface:IFormDAODelete a record from the table -
select
Description copied from interface:IFormDAOLoad the data from the table -
selectByCategory
public List<Form> selectByCategory(int nIdCategory, fr.paris.lutece.portal.service.plugin.Plugin plugin) Description copied from interface:IFormDAOLoad the data from the table- Specified by:
selectByCategoryin interfaceIFormDAO- Parameters:
nIdCategory- the identifier of the categoryplugin- the plugin- Returns:
- the instance of the Form
-
findActiveForms
Description copied from interface:IFormDAOGet all the forms that are active- Specified by:
findActiveFormsin interfaceIFormDAO- Parameters:
plugin- the plugin- Returns:
- all the active forms
-
findActiveAndDisplayedOnPortletForms
public List<Form> findActiveAndDisplayedOnPortletForms(fr.paris.lutece.portal.service.plugin.Plugin plugin) Description copied from interface:IFormDAOGet all the forms that are active on displayed on portlet- Specified by:
findActiveAndDisplayedOnPortletFormsin interfaceIFormDAO- Parameters:
plugin- the plugin- Returns:
- all the active and displayed on portlet forms
-
findByTitle
Description copied from interface:IFormDAOGet all the forms with a given title- Specified by:
findByTitlein interfaceIFormDAO- Parameters:
strTitle- the Title of the formplugin- the plugin- Returns:
- all the forms with this title
-
findAllForms
Description copied from interface:IFormDAOGet all the forms- Specified by:
findAllFormsin interfaceIFormDAO- Parameters:
plugin- the plugin- Returns:
- all the forms
-