Class PlatformStepDefinitionHome
java.lang.Object
fr.paris.lutece.plugins.releaser.business.platform.PlatformStepDefinitionHome
This class provides instances management methods (create, find, ...) for PlatformStepDefinition objects
-
Method Summary
Modifier and TypeMethodDescriptionstatic PlatformStepDefinitioncreate(PlatformStepDefinition definition) Create an instance of the definition classstatic List<PlatformStepDefinition>findAll()Returns every step definition, ordered by step numberstatic PlatformStepDefinitionfindByCode(PlatformStepCode code) Returns the definition of a stepstatic PlatformStepDefinitionfindByStepNumber(int nStepNumber) Returns the definition of a stepstatic PlatformStepDefinitionupdate(PlatformStepDefinition definition) Update of the definition which is specified in parameter
-
Method Details
-
create
Create an instance of the definition class- Parameters:
definition- The instance of the PlatformStepDefinition which contains the informations to store- Returns:
- The instance of the definition which has been created
-
update
Update of the definition which is specified in parameter- Parameters:
definition- The instance of the PlatformStepDefinition which contains the data to store- Returns:
- The instance of the definition which has been updated
-
findByStepNumber
Returns the definition of a step- Parameters:
nStepNumber- The step number- Returns:
- the definition, or null if not found
-
findByCode
Returns the definition of a step- Parameters:
code- The step code- Returns:
- the definition, or null if not found
-
findAll
Returns every step definition, ordered by step number- Returns:
- the definitions
-