Class PlatformStepDefinitionDAO

java.lang.Object
fr.paris.lutece.plugins.releaser.business.platform.PlatformStepDefinitionDAO
All Implemented Interfaces:
IPlatformStepDefinitionDAO

public final class PlatformStepDefinitionDAO extends Object implements IPlatformStepDefinitionDAO
This class provides Data Access methods for PlatformStepDefinition objects
  • Constructor Details

    • PlatformStepDefinitionDAO

      public PlatformStepDefinitionDAO()
  • Method Details

    • insert

      public void insert(PlatformStepDefinition definition, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Insert a new record in the table.
      Specified by:
      insert in interface IPlatformStepDefinitionDAO
      Parameters:
      definition - instance of the PlatformStepDefinition object to insert
      plugin - the Plugin
    • store

      public void store(PlatformStepDefinition definition, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Update the record in the table
      Specified by:
      store in interface IPlatformStepDefinitionDAO
      Parameters:
      definition - the reference of the PlatformStepDefinition
      plugin - the Plugin
    • load

      public PlatformStepDefinition load(int nStepNumber, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data from the table
      Specified by:
      load in interface IPlatformStepDefinitionDAO
      Parameters:
      nStepNumber - The step number
      plugin - the Plugin
      Returns:
      The instance of the PlatformStepDefinition, or null if not found
    • selectAll

      public List<PlatformStepDefinition> selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load every step definition, ordered by step number
      Specified by:
      selectAll in interface IPlatformStepDefinitionDAO
      Parameters:
      plugin - the Plugin
      Returns:
      The definitions