| Constructor and Description |
|---|
FormDAO() |
| Modifier and Type | Method and Description |
|---|---|
int |
countNumberOfResponseFormByUser(int nIdForm,
String strGuid)
count the number of response by the name of user
|
int |
countNumberOfResponseForms(int nIdForm)
count the number of response for a form
|
void |
delete(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
void |
insert(Form form,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
Form |
load(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
List<Form> |
selectFormByPrimaryKeyList(List<Integer> listIdForm,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all form Objects for a given list of form identifiers
|
List<Form> |
selectFormsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the form objects and returns them as a list
|
List<Form> |
selectFormsListSorted(fr.paris.lutece.portal.service.plugin.Plugin plugin,
FormItemSortConfig sortConfig)
Load the data of all the form objects and returns them as a sorted list
|
fr.paris.lutece.util.ReferenceList |
selectFormsReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the form objects and returns them as a referenceList
|
void |
store(Form form,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
public void insert(Form form, fr.paris.lutece.portal.service.plugin.Plugin plugin)
public Form load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
public void delete(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
public void store(Form form, fr.paris.lutece.portal.service.plugin.Plugin plugin)
public List<Form> selectFormsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectFormsList in interface IFormDAOplugin - the Pluginpublic List<Form> selectFormsListSorted(fr.paris.lutece.portal.service.plugin.Plugin plugin, FormItemSortConfig sortConfig)
selectFormsListSorted in interface IFormDAOplugin - the PluginsortConfig - the sort configuration (column to sort, order type)public fr.paris.lutece.util.ReferenceList selectFormsReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectFormsReferenceList in interface IFormDAOplugin - the Pluginpublic int countNumberOfResponseForms(int nIdForm)
countNumberOfResponseForms in interface IFormDAOnIdForm - id of formpublic int countNumberOfResponseFormByUser(int nIdForm,
String strGuid)
countNumberOfResponseFormByUser in interface IFormDAOnIdForm - id of formstrGuid - the name of userpublic List<Form> selectFormByPrimaryKeyList(List<Integer> listIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IFormDAOselectFormByPrimaryKeyList in interface IFormDAOlistIdForm - the list of form identifiersplugin - the PluginCopyright © 2023 City of Paris. All rights reserved.