Interface ITemplateEntryDAO

  • All Known Implementing Classes:
    TemplateEntryDAO

    public interface ITemplateEntryDAO
    IEntryDAO Interface
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void delete​(int nIdEntry, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Delete a record from the table
      int insert​(fr.paris.lutece.plugins.genericattributes.business.Entry entry, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Insert a new record in the table.
      fr.paris.lutece.plugins.genericattributes.business.Entry load​(int nIdEntry, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of the entry from the table
      void store​(fr.paris.lutece.plugins.genericattributes.business.Entry entry, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Update the entry in the table
    • Method Detail

      • insert

        int insert​(fr.paris.lutece.plugins.genericattributes.business.Entry entry,
                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Insert a new record in the table.
        Parameters:
        entry - instance of the Entry object to insert
        plugin - the plugin
        Returns:
        the id of the new entry
      • store

        void store​(fr.paris.lutece.plugins.genericattributes.business.Entry entry,
                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Update the entry in the table
        Parameters:
        entry - instance of the Entry object to update
        plugin - the plugin
      • delete

        void delete​(int nIdEntry,
                    fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Delete a record from the table
        Parameters:
        nIdEntry - The identifier of the entry
        plugin - the plugin
      • load

        fr.paris.lutece.plugins.genericattributes.business.Entry load​(int nIdEntry,
                                                                      fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data of the entry from the table
        Parameters:
        nIdEntry - The identifier of the entry
        plugin - the plugin
        Returns:
        the instance of the Entry