Interface ITransitionDAO
-
- All Known Implementing Classes:
TransitionDAO
public interface ITransitionDAOITransitionDAO 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 tablevoiddeleteByStep(int nIdStep, fr.paris.lutece.portal.service.plugin.Plugin plugin)Remove all the transitions starting from or leading to a given stepTransitiongetTransitionByPriority(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.Transitionload(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data from the tablejava.util.List<java.lang.Integer>selectIdTransitionsList(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 stepjava.util.List<Transition>selectTransitionsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of all the transition objects and returns them as a listjava.util.List<Transition>selectTransitionsListFromForm(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)Select the transitions list from given formjava.util.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 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 Detail
-
insert
void insert(Transition transition, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.- Parameters:
transition- instance of the Transition object to insertplugin- the Plugin
-
store
void store(Transition transition, fr.paris.lutece.portal.service.plugin.Plugin plugin)
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
Transition load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table- Parameters:
nKey- The identifier of the transitionplugin- the Plugin- Returns:
- The instance of the transition
-
selectTransitionsList
java.util.List<Transition> selectTransitionsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
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
java.util.List<java.lang.Integer> selectIdTransitionsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
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
java.util.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
java.util.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
-
-