public final class TransitionDAO extends Object implements ITransitionDAO
| Constructor and Description |
|---|
TransitionDAO() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
void |
deleteByStep(int nIdStep,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove all the transitions starting from or leading to a given step
|
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
|
void |
insert(Transition transition,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
Transition |
load(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
List<Integer> |
selectIdTransitionsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the id of all the transition objects and returns them as a list
|
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
|
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
|
List<Transition> |
selectTransitionsListFromForm(int nIdForm,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Select the transitions list from given form
|
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
|
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
|
void |
store(Transition transition,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
public void insert(Transition transition, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface ITransitionDAOtransition - instance of the Transition object to insertplugin - the Pluginpublic Transition load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface ITransitionDAOnKey - The identifier of the transitionplugin - the Pluginpublic int selectMaxPriorityByStep(int nIdStep,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectMaxPriorityByStep in interface ITransitionDAOnIdStep - The identifier of the stepplugin - The Pluginpublic void delete(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface ITransitionDAOnKey - The identifier of the Transition to deleteplugin - the Pluginpublic void store(Transition transition, fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface ITransitionDAOtransition - the reference of the Transitionplugin - the Pluginpublic List<Transition> selectTransitionsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectTransitionsList in interface ITransitionDAOplugin - the Pluginpublic List<Integer> selectIdTransitionsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectIdTransitionsList in interface ITransitionDAOplugin - the Pluginpublic fr.paris.lutece.util.ReferenceList selectTransitionsReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectTransitionsReferenceList in interface ITransitionDAOplugin - the Pluginpublic List<Transition> selectTransitionsListFromStep(int nIdStep, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectTransitionsListFromStep in interface ITransitionDAOnIdStep - The identifier of the starting stepplugin - the Pluginpublic Transition getTransitionByPriority(int nIdStep, int nPriority, fr.paris.lutece.portal.service.plugin.Plugin plugin)
getTransitionByPriority in interface ITransitionDAOnIdStep - The identifier of the stepnPriority - The priority valueplugin - The Pluginpublic void deleteByStep(int nIdStep,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
deleteByStep in interface ITransitionDAOnIdStep - The Step Idplugin - The Pluginpublic List<Transition> selectTransitionsListFromForm(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectTransitionsListFromForm in interface ITransitionDAOnIdForm - The Form idplugin - The pluginCopyright © 2022 City of Paris. All rights reserved.