public final class TransitionHome extends Object
Modifier and Type | Method and Description |
---|---|
static Transition |
create(Transition transition)
Create an instance of the transition class
|
static Transition |
findByPrimaryKey(int nKey)
Returns an instance of a transition whose identifier is specified in parameter
|
static int |
getCurrentPriorityByStep(int fromStep)
Select the lowest priority of the transitions sharing the same starting Step Priority increase when value decrease.
|
static List<Integer> |
getIdTransitionsList()
Load the id of all the transition objects and returns them as a list
|
static Transition |
getTransitionByPriority(int nIdStep,
int nPriority)
Load the data of a transition object from the given step and the given priority
|
static List<Transition> |
getTransitionsList()
Load the data of all the transition objects and returns them as a list
|
static List<Transition> |
getTransitionsListFromForm(int nIdForm)
Load the data of all the transition objects from the given form and returns them as a list
|
static List<Transition> |
getTransitionsListFromStep(int nIdStep)
Load the data of all the transition objects from the given step and returns them as a list
|
static fr.paris.lutece.util.ReferenceList |
getTransitionsReferenceList()
Load the data of all the transition objects and returns them as a referenceList
|
static void |
rebuildPrioritySequence(int fromStep)
Rebuild the priority sequence of the transitions sharing the same starting Step
|
static void |
remove(int nKey)
Remove the transition whose identifier is specified in parameter
|
static void |
removeTransitionByStep(int nIdStep)
Remove all the transitions starting from or leading to a given step
|
static Transition |
update(Transition transition)
Update of the transition which is specified in parameter
|
public static Transition create(Transition transition)
transition
- The instance of the Transition which contains the informations to storepublic static Transition update(Transition transition)
transition
- The instance of the Transition which contains the data to storepublic static void remove(int nKey)
nKey
- The transition Idpublic static Transition findByPrimaryKey(int nKey)
nKey
- The transition primary keypublic static List<Transition> getTransitionsList()
public static List<Integer> getIdTransitionsList()
public static fr.paris.lutece.util.ReferenceList getTransitionsReferenceList()
public static List<Transition> getTransitionsListFromStep(int nIdStep)
nIdStep
- The identifier of the starting steppublic static Transition getTransitionByPriority(int nIdStep, int nPriority)
nIdStep
- The identifier of the stepnPriority
- The priority valuepublic static void rebuildPrioritySequence(int fromStep)
fromStep
- The starting steppublic static int getCurrentPriorityByStep(int fromStep)
fromStep
- The starting steppublic static void removeTransitionByStep(int nIdStep)
nIdStep
- The Step Idpublic static List<Transition> getTransitionsListFromForm(int nIdForm)
nIdForm
- Copyright © 2020 City of Paris. All rights reserved.