Class DashboardAssociationDAO

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void delete​(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Delete a record from the table
      void insert​(DashboardAssociation dashboardAssociation, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Insert a new record in the table.
      DashboardAssociation load​(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data from the table
      int newPrimaryKey​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Generates a new primary key
      int selectCountDashboardAssociations​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      return the number of association
      java.util.List<DashboardAssociation> selectDashboardAssociationsList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of all the dashboardAssociation objects and returns them as a list
      java.util.List<DashboardAssociation> selectDashboardAssociationsListByIdPanel​(int nIdPanel, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of all the dashboardAssociation objects associated to a panel and returns them as a list
      fr.paris.lutece.util.ReferenceList selectDashboardAssociationsReferenceList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of all the dashboardAssociation objects and returns them as a referenceList
      java.util.List<java.lang.Integer> selectIdDashboardAssociationsList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the id of all the dashboardAssociation objects and returns them as a list
      void store​(DashboardAssociation dashboardAssociation, 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

      • DashboardAssociationDAO

        public DashboardAssociationDAO()
    • Method Detail

      • newPrimaryKey

        public int newPrimaryKey​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Generates a new primary key
        Parameters:
        plugin - The Plugin
        Returns:
        The new primary key
      • insert

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

        public DashboardAssociation load​(int nKey,
                                         fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data from the table
        Specified by:
        load in interface IDashboardAssociationDAO
        Parameters:
        nKey - The identifier of the dashboardAssociation
        plugin - the Plugin
        Returns:
        The instance of the dashboardAssociation
      • delete

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

        public void store​(DashboardAssociation dashboardAssociation,
                          fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Update the record in the table
        Specified by:
        store in interface IDashboardAssociationDAO
        Parameters:
        dashboardAssociation - the reference of the DashboardAssociation
        plugin - the Plugin
      • selectDashboardAssociationsList

        public java.util.List<DashboardAssociation> selectDashboardAssociationsList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data of all the dashboardAssociation objects and returns them as a list
        Specified by:
        selectDashboardAssociationsList in interface IDashboardAssociationDAO
        Parameters:
        plugin - the Plugin
        Returns:
        The list which contains the data of all the dashboardAssociation objects
      • selectDashboardAssociationsListByIdPanel

        public java.util.List<DashboardAssociation> selectDashboardAssociationsListByIdPanel​(int nIdPanel,
                                                                                             fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data of all the dashboardAssociation objects associated to a panel and returns them as a list
        Specified by:
        selectDashboardAssociationsListByIdPanel in interface IDashboardAssociationDAO
        Parameters:
        nIdPanel - the panel Id
        plugin - the Plugin
        Returns:
        The list which contains the data of all the dashboardAssociation objects
      • selectCountDashboardAssociations

        public int selectCountDashboardAssociations​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
        return the number of association
        Specified by:
        selectCountDashboardAssociations in interface IDashboardAssociationDAO
        Parameters:
        plugin - the plugin
        Returns:
        the number of association
      • selectIdDashboardAssociationsList

        public java.util.List<java.lang.Integer> selectIdDashboardAssociationsList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the id of all the dashboardAssociation objects and returns them as a list
        Specified by:
        selectIdDashboardAssociationsList in interface IDashboardAssociationDAO
        Parameters:
        plugin - the Plugin
        Returns:
        The list which contains the id of all the dashboardAssociation objects
      • selectDashboardAssociationsReferenceList

        public fr.paris.lutece.util.ReferenceList selectDashboardAssociationsReferenceList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data of all the dashboardAssociation objects and returns them as a referenceList
        Specified by:
        selectDashboardAssociationsReferenceList in interface IDashboardAssociationDAO
        Parameters:
        plugin - the Plugin
        Returns:
        The referenceList which contains the data of all the dashboardAssociation objects