public final class FormResponseStepDAO extends Object implements IFormResponseStepDAO
| Constructor and Description |
|---|
FormResponseStepDAO() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
void |
deleteByFormResponse(int nIdFormResponse,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove all the formResponseStep linked to a given FormResponse
|
void |
deleteByStep(int nIdStep,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Removes all the formResponseStep linked to a given step
|
void |
insert(FormResponseStep formResponseStep,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
FormResponseStep |
load(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
List<FormResponseStep> |
selectFormResponseStepList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the FormResponseStep objects and returns them as a list
|
List<FormResponseStep> |
selectFormResponseStepsByFormResponse(int nIdFormResponse,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the order steps list by FormResponse id
|
void |
store(FormResponseStep formResponseStep,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
public void insert(FormResponseStep formResponseStep, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface IFormResponseStepDAOformResponseStep - instance of the formResponseStep object to insertplugin - the Pluginpublic FormResponseStep load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface IFormResponseStepDAOnKey - The identifier of the FormResponseStepplugin - the Pluginpublic void delete(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface IFormResponseStepDAOnKey - The identifier of the FormResponseStep to deleteplugin - the Pluginpublic void store(FormResponseStep formResponseStep, fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface IFormResponseStepDAOformResponseStep - the reference of the FormResponseStepplugin - the Pluginpublic List<FormResponseStep> selectFormResponseStepList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectFormResponseStepList in interface IFormResponseStepDAOplugin - the Pluginpublic void deleteByFormResponse(int nIdFormResponse,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
deleteByFormResponse in interface IFormResponseStepDAOnIdFormResponse - The form Identifierplugin - the Pluginpublic void deleteByStep(int nIdStep,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
deleteByStep in interface IFormResponseStepDAOnIdStep - The step idplugin - the Pluginpublic List<FormResponseStep> selectFormResponseStepsByFormResponse(int nIdFormResponse, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectFormResponseStepsByFormResponse in interface IFormResponseStepDAOnIdFormResponse - The identifier of the FormResponseplugin - the PluginCopyright © 2020 City of Paris. All rights reserved.