Interface ITemplateStepDAO

  • All Known Implementing Classes:
    TemplateStepDAO

    public interface ITemplateStepDAO
    ITemplateStepDAO Interface
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void delete​(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Delete a record from the table
      List<Template> findAll​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load all templates
      void insert​(Template template, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Insert a new record in the table.
      Template load​(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data from the table
      void store​(Template template, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Update the record in the table
    • Method Detail

      • insert

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

        void store​(Template template,
                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Update the record in the table
        Parameters:
        template - the reference of the Template
        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 Template to delete
        plugin - the Plugin
      • load

        Template load​(int nKey,
                      fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data from the table
        Parameters:
        nKey - The identifier of the template
        plugin - the Plugin
        Returns:
        The instance of the template
      • findAll

        List<Template> findAll​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load all templates
        Parameters:
        nKey - The identifier of the template
        plugin - the Plugin
        Returns:
        The instance of the template