Interface IPlatformReleaseStepDAO

All Known Implementing Classes:
PlatformReleaseStepDAO

public interface IPlatformReleaseStepDAO
IPlatformReleaseStepDAO Interface
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    delete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Delete a record from the table
    void
    deleteByPlatformRelease(int nIdPlatformRelease, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Delete every step of a campaign
    void
    insert(PlatformReleaseStep step, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Insert a new record in the table.
    load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Load the data from the table
    selectByPlatformRelease(int nIdPlatformRelease, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Load the steps 1 to 5 of a campaign, ordered by step number : the verification of step 0 is left out
    selectByPlatformReleaseAndNumber(int nIdPlatformRelease, int nStepNumber, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Load one step of a campaign by its number, step 0 included
    void
    store(PlatformReleaseStep step, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Update the record in the table
  • Method Details

    • insert

      void insert(PlatformReleaseStep step, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Insert a new record in the table.
      Parameters:
      step - instance of the PlatformReleaseStep object to insert
      plugin - the Plugin
    • store

      void store(PlatformReleaseStep step, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Update the record in the table
      Parameters:
      step - the reference of the PlatformReleaseStep
      plugin - the Plugin
    • delete

      void delete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Delete a record from the table
      Parameters:
      nKey - The identifier of the PlatformReleaseStep to delete
      plugin - the Plugin
    • deleteByPlatformRelease

      void deleteByPlatformRelease(int nIdPlatformRelease, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Delete every step of a campaign
      Parameters:
      nIdPlatformRelease - The identifier of the campaign
      plugin - the Plugin
    • load

      PlatformReleaseStep load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data from the table
      Parameters:
      nKey - The identifier of the PlatformReleaseStep
      plugin - the Plugin
      Returns:
      The instance of the PlatformReleaseStep, or null if not found
    • selectByPlatformRelease

      List<PlatformReleaseStep> selectByPlatformRelease(int nIdPlatformRelease, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the steps 1 to 5 of a campaign, ordered by step number : the verification of step 0 is left out
      Parameters:
      nIdPlatformRelease - The identifier of the campaign
      plugin - the Plugin
      Returns:
      The steps
    • selectByPlatformReleaseAndNumber

      PlatformReleaseStep selectByPlatformReleaseAndNumber(int nIdPlatformRelease, int nStepNumber, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load one step of a campaign by its number, step 0 included
      Parameters:
      nIdPlatformRelease - The identifier of the campaign
      nStepNumber - The step number
      plugin - the Plugin
      Returns:
      The step, or null if not found