Class DemandDashboardDAO

    • 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 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 List<DemandDashboard> selectByDemandIds​(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