Interface ITransitionDAO
- All Known Implementing Classes:
TransitionDAO
public interface ITransitionDAO
ITransitionDAO Interface
-
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete a record from the tablevoiddeleteByStep(int nIdStep, fr.paris.lutece.portal.service.plugin.Plugin plugin) Remove all the transitions starting from or leading to a given stepgetTransitionByPriority(int nIdStep, int nPriority, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of a transition object from the given step and the given priorityvoidinsert(Transition transition, 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 tableselectIdTransitionsList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the id of all the transition objects and returns them as a listintselectMaxPriorityByStep(int nIdStep, fr.paris.lutece.portal.service.plugin.Plugin plugin) Return the maximum priority value of the transitions from the given starting stepselectTransitionsList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the transition objects and returns them as a listselectTransitionsListFromForm(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin) Select the transitions list from given formselectTransitionsListFromStep(int nIdStep, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the transition objects from given step and returns them as a listfr.paris.lutece.util.ReferenceListselectTransitionsReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the transition objects and returns them as a referenceListvoidstore(Transition transition, 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:
transition- instance of the Transition object to insertplugin- the Plugin
-
store
Update the record in the table- Parameters:
transition- the reference of the Transitionplugin- 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 Transition to deleteplugin- the Plugin
-
load
Load the data from the table- Parameters:
nKey- The identifier of the transitionplugin- the Plugin- Returns:
- The instance of the transition
-
selectTransitionsList
Load the data of all the transition objects and returns them as a list- Parameters:
plugin- the Plugin- Returns:
- The list which contains the data of all the transition objects
-
selectIdTransitionsList
Load the id of all the transition objects and returns them as a list- Parameters:
plugin- the Plugin- Returns:
- The list which contains the id of all the transition objects
-
selectTransitionsReferenceList
fr.paris.lutece.util.ReferenceList selectTransitionsReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the transition objects and returns them as a referenceList- Parameters:
plugin- the Plugin- Returns:
- The referenceList which contains the data of all the transition objects
-
selectTransitionsListFromStep
List<Transition> selectTransitionsListFromStep(int nIdStep, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the transition objects from given step and returns them as a list- Parameters:
nIdStep- The identifier of the starting stepplugin- the Plugin- Returns:
- The list which contains the data of all the transition objects
-
getTransitionByPriority
Transition getTransitionByPriority(int nIdStep, int nPriority, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of a transition object from the given step and the given priority- Parameters:
nIdStep- The identifier of the stepnPriority- The priority valueplugin- The Plugin- Returns:
- the Transition object if existing
-
selectMaxPriorityByStep
int selectMaxPriorityByStep(int nIdStep, fr.paris.lutece.portal.service.plugin.Plugin plugin) Return the maximum priority value of the transitions from the given starting step- Parameters:
nIdStep- The identifier of the stepplugin- The Plugin- Returns:
- the Transition object if existing
-
deleteByStep
void deleteByStep(int nIdStep, fr.paris.lutece.portal.service.plugin.Plugin plugin) Remove all the transitions starting from or leading to a given step- Parameters:
nIdStep- The Step Idplugin- The Plugin
-
selectTransitionsListFromForm
List<Transition> selectTransitionsListFromForm(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin) Select the transitions list from given form- Parameters:
nIdForm- The Form idplugin- The plugin- Returns:
- the transitions list from given form id
-