Interface IStepDAO
-
- All Known Implementing Classes:
StepDAO
public interface IStepDAOIStepDAO 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 tablevoidinsert(Step step, fr.paris.lutece.portal.service.plugin.Plugin plugin)Insert a new record in the table.Stepload(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data from the tableList<Integer>selectIdStepsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the id of all the step objects and returns them as a listList<Integer>selectIdStepsListByForm(int nFormId, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the id of all the step linked a given parent form and returns them as a listStepselectInitialStep(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the initial step of the given formfr.paris.lutece.util.ReferenceListselectStepReferenceListbyForm(int nFormId, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the id and title of all the step linked a given parent form and returns them as a ReferencelistList<Step>selectStepsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of all the step objects and returns them as a listList<Step>selectStepsListbyForm(int nFormId, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the id of all the step linked a given parent form and returns them as a listfr.paris.lutece.util.ReferenceListselectStepsReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of all the step objects and returns them as a referenceListvoidstore(Step step, fr.paris.lutece.portal.service.plugin.Plugin plugin)Update the record in the table
-
-
-
Method Detail
-
insert
void insert(Step step, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.- Parameters:
step- instance of the Step object to insertplugin- the Plugin
-
store
void store(Step step, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table- Parameters:
step- the reference of the Stepplugin- 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 Step to deleteplugin- the Plugin
-
load
Step load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table- Parameters:
nKey- The identifier of the stepplugin- the Plugin- Returns:
- The instance of the step
-
selectInitialStep
Step selectInitialStep(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the initial step of the given form- Parameters:
nIdForm- The identifier of the step formplugin- the Plugin- Returns:
- The initial step of the given form
-
selectStepsList
List<Step> selectStepsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the step objects and returns them as a list- Parameters:
plugin- the Plugin- Returns:
- The list which contains the data of all the step objects
-
selectIdStepsList
List<Integer> selectIdStepsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the id of all the step objects and returns them as a list- Parameters:
plugin- the Plugin- Returns:
- The list which contains the id of all the step objects
-
selectIdStepsListByForm
List<Integer> selectIdStepsListByForm(int nFormId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the id of all the step linked a given parent form and returns them as a list- Parameters:
nFormId- the parent form identifierplugin- the Plugin- Returns:
- The List which contains the id of all the step objects
-
selectStepsReferenceList
fr.paris.lutece.util.ReferenceList selectStepsReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the step objects and returns them as a referenceList- Parameters:
plugin- the Plugin- Returns:
- The referenceList which contains the data of all the step objects
-
selectStepsListbyForm
List<Step> selectStepsListbyForm(int nFormId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the id of all the step linked a given parent form and returns them as a list- Parameters:
nFormId- the parent form identifierplugin- the Plugin- Returns:
- The list which contains the id of all the step objects
-
selectStepReferenceListbyForm
fr.paris.lutece.util.ReferenceList selectStepReferenceListbyForm(int nFormId, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the id and title of all the step linked a given parent form and returns them as a Referencelist- Parameters:
nFormId- the parent form identifierplugin- the Plugin- Returns:
- The Referencelist which contains the id and titles of all the step objects
-
-