All Known Implementing Classes:
CategoryDAO

public interface ICategoryDAO
  • 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
    findByCode(String strCode, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    void
    insert(Category category, 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
    selectCategoriesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
    selectDefaultCategoriesList(fr.paris.lutece.portal.service.plugin.Plugin _plugin)
    void
    store(Category category, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Update the record in the table
  • Method Details

    • insert

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

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

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

      List<Category> selectCategoriesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
    • findByCode

      Category findByCode(String strCode, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    • selectDefaultCategoriesList

      List<Category> selectDefaultCategoriesList(fr.paris.lutece.portal.service.plugin.Plugin _plugin)