| 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> |
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
|
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 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 userCopyright © 2021 City of Paris. All rights reserved.