Interface IFormResponseStepDAO
-
- All Known Implementing Classes:
FormResponseStepDAO
public interface IFormResponseStepDAOIFormResponseDAO Interface
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddelete(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.FormResponseStepload(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data from the tablejava.util.List<FormResponseStep>selectFormResponseStepsByFormResponse(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 Detail
-
insert
void insert(FormResponseStep formResponseStep, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.- Parameters:
formResponseStep- instance of the formResponseStep object to insertplugin- the Plugin
-
store
void store(FormResponseStep formResponseStep, fr.paris.lutece.portal.service.plugin.Plugin plugin)
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
FormResponseStep load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table- Parameters:
nKey- The identifier of the FormResponseStepplugin- the Plugin- Returns:
- The instance of the FormResponseStep
-
selectFormResponseStepsByFormResponse
java.util.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
-
-