Interface IMenusDAO

All Known Implementing Classes:
MenusDAO

public interface IMenusDAO
IMenusDAO Interface
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    delete(int nIdMenus, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Delete a record from the table
    void
    insert(Menus menus, 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
    selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Load the data of all the menus objects and returns them as a collection
    int
    selectNbMenus(fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Returns the menus count
    void
    store(Menus menus, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Update the record in the table
  • Method Details

    • insert

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

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

      void delete(int nIdMenus, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Delete a record from the table
      Parameters:
      nIdMenus - int identifier of the Menus to delete
      plugin - the Plugin
    • load

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

      Collection<Menus> selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of all the menus objects and returns them as a collection
      Parameters:
      plugin - the Plugin
      Returns:
      The collection which contains the data of all the menus objects
    • selectNbMenus

      int selectNbMenus(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Returns the menus count
      Parameters:
      plugin - the Plugin
      Returns:
      nCount