Class DemandDashboardDAO

  • All Implemented Interfaces:
    IDemandDashboardDAO

    public final class DemandDashboardDAO
    extends java.lang.Object
    implements IDemandDashboardDAO
    This class provides Data Access methods for DemandDashboard objects
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void delete​(int ndemandDashboardId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Delete a record from the table
      void insert​(DemandDashboard demandDashboard, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Insert a new record in the table.
      DemandDashboard load​(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data from the table
      java.util.List<DemandDashboard> selectByDemandIds​(java.util.List<DemandDashboard> listDemandDashboards, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of all the demandDashboard objects by demand ids and returns them as a List
      java.util.List<DemandDashboard> selectDemandDashboardsList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of all the demandDashboard objects and returns them as a List
      void store​(DemandDashboard demandDashboard, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Update the record in the table
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DemandDashboardDAO

        public DemandDashboardDAO()
    • Method Detail

      • insert

        public void insert​(DemandDashboard demandDashboard,
                           fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Insert a new record in the table.
        Specified by:
        insert in interface IDemandDashboardDAO
        Parameters:
        demandDashboard - instance of the DemandDashboard object to inssert
        plugin - the Plugin
      • load

        public DemandDashboard load​(int nId,
                                    fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data from the table
        Specified by:
        load in interface IDemandDashboardDAO
        plugin - the Plugin
        Returns:
        The instance of the demandDashboard
      • delete

        public void delete​(int ndemandDashboardId,
                           fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Delete a record from the table
        Specified by:
        delete in interface IDemandDashboardDAO
        Parameters:
        ndemandDashboardId - int identifier of the DemandDashboard to delete
        plugin - the Plugin
      • store

        public void store​(DemandDashboard demandDashboard,
                          fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Update the record in the table
        Specified by:
        store in interface IDemandDashboardDAO
        Parameters:
        demandDashboard - the reference of the DemandDashboard
        plugin - the Plugin
      • selectDemandDashboardsList

        public java.util.List<DemandDashboard> selectDemandDashboardsList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data of all the demandDashboard objects and returns them as a List
        Specified by:
        selectDemandDashboardsList in interface IDemandDashboardDAO
        Parameters:
        plugin - the Plugin
        Returns:
        The List which contains the data of all the demandDashboard objects
      • selectByDemandIds

        public java.util.List<DemandDashboard> selectByDemandIds​(java.util.List<DemandDashboard> listDemandDashboards,
                                                                 fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Description copied from interface: IDemandDashboardDAO
        Load the data of all the demandDashboard objects by demand ids and returns them as a List
        Specified by:
        selectByDemandIds in interface IDemandDashboardDAO
        plugin - the Plugin
        Returns:
        The List which contains the data of all the demandDashboard objects