Class PlatformStepDefinitionHome

java.lang.Object
fr.paris.lutece.plugins.releaser.business.platform.PlatformStepDefinitionHome

public final class PlatformStepDefinitionHome extends Object
This class provides instances management methods (create, find, ...) for PlatformStepDefinition objects
  • Method Details

    • create

      public static PlatformStepDefinition create(PlatformStepDefinition definition)
      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

      public static PlatformStepDefinition update(PlatformStepDefinition definition)
      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

      public static PlatformStepDefinition findByStepNumber(int nStepNumber)
      Returns the definition of a step
      Parameters:
      nStepNumber - The step number
      Returns:
      the definition, or null if not found
    • findByCode

      public static PlatformStepDefinition findByCode(PlatformStepCode code)
      Returns the definition of a step
      Parameters:
      code - The step code
      Returns:
      the definition, or null if not found
    • findAll

      public static List<PlatformStepDefinition> findAll()
      Returns every step definition, ordered by step number
      Returns:
      the definitions