Interface IFormResponseStepDAO
- All Known Implementing Classes:
FormResponseStepDAO
public interface IFormResponseStepDAO
IFormResponseDAO Interface
-
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete a record from the tablevoiddeleteByFormResponse(int nIdFormResponse, fr.paris.lutece.portal.service.plugin.Plugin plugin) Remove all the formResponseStep linked to a given FormResponsevoiddeleteByStep(int nIdStep, fr.paris.lutece.portal.service.plugin.Plugin plugin) Removes all the formResponseStep linked to a given stepvoidinsert(FormResponseStep formResponseStep, fr.paris.lutece.portal.service.plugin.Plugin plugin) Insert a new record in the table.load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data from the tableselectFormResponseStepsByFormResponse(int nIdFormResponse, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the order steps list by FormResponse idvoidstore(FormResponseStep formResponseStep, fr.paris.lutece.portal.service.plugin.Plugin plugin) Update the record in the table
-
Method Details
-
insert
Insert a new record in the table.- Parameters:
formResponseStep- instance of the formResponseStep object to insertplugin- the Plugin
-
store
Update the record in the table- Parameters:
formResponseStep- the reference of the FormResponseStepplugin- the Plugin
-
delete
void delete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete a record from the table- Parameters:
nKey- The identifier of the FormResponseStep to deleteplugin- the Plugin
-
load
Load the data from the table- Parameters:
nKey- The identifier of the FormResponseStepplugin- the Plugin- Returns:
- The instance of the FormResponseStep
-
selectFormResponseStepsByFormResponse
List<FormResponseStep> selectFormResponseStepsByFormResponse(int nIdFormResponse, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the order steps list by FormResponse id- Parameters:
nIdFormResponse- The identifier of the FormResponseplugin- the Plugin- Returns:
- The list which contains the data of all the FormResponseStep objects
-
deleteByFormResponse
void deleteByFormResponse(int nIdFormResponse, fr.paris.lutece.portal.service.plugin.Plugin plugin) Remove all the formResponseStep linked to a given FormResponse- Parameters:
nIdFormResponse- The form Identifierplugin- the Plugin
-
deleteByStep
void deleteByStep(int nIdStep, fr.paris.lutece.portal.service.plugin.Plugin plugin) Removes all the formResponseStep linked to a given step- Parameters:
nIdStep- The step idplugin- the Plugin
-