Interface ICategoryDAO

  • All Known Implementing Classes:
    CategoryDAO

    public interface ICategoryDAO
    • Method Detail

      • 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)