public interface IFormDAO
| 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> |
selectFormsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the form objects and returns them as a 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
|
void insert(Form form, fr.paris.lutece.portal.service.plugin.Plugin plugin)
form - instance of the Form object to insertplugin - the Pluginvoid store(Form form, fr.paris.lutece.portal.service.plugin.Plugin plugin)
form - the reference of the Formplugin - the Pluginvoid delete(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey - The identifier of the Form to deleteplugin - the PluginForm load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey - The identifier of the formplugin - the PluginList<Form> selectFormsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - the Pluginfr.paris.lutece.util.ReferenceList selectFormsReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - the Pluginint countNumberOfResponseForms(int nidForm)
nidForm - id of formint countNumberOfResponseFormByUser(int nIdForm,
String strGuid)
nIdForm - id of formstrGuid - the name of userCopyright © 2021 City of Paris. All rights reserved.