Interface IDashboardDAO

All Known Implementing Classes:
DashboardDAO

public interface IDashboardDAO
IDashboardDAO Interface
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    delete(int nIdDashboard, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Delete the given dashboard
    void
    deleteAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Delete all the dashboards in the table
    void
    insert(Dashboard dashboard, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Insert a new record in the table.
    boolean
    isDashboardExists(Dashboard dashboard, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    check if given dashboard exists, based on Kibana dashboard id
    load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Load the data from the table
    loadByKibanaId(String strIdKibana, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Load the data from the table
    selectDashboardsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Load the data of all the dashboard objects and returns them as a list
    fr.paris.lutece.util.ReferenceList
    selectDashboardsReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Load the data of all the dashboard objects and returns them as a referenceList
    selectIdDashboardsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Load the id of all the dashboard objects and returns them as a list
    void
    store(Dashboard dashboard, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Update the record in the table
  • Method Details

    • insert

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

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

      Dashboard loadByKibanaId(String strIdKibana, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data from the table
      Parameters:
      strIdKibana - The identifier of the dashboard in Kibana
      plugin - the Plugin
      Returns:
      The instance of the dashboard
    • selectDashboardsList

      List<Dashboard> selectDashboardsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of all the dashboard objects and returns them as a list
      Parameters:
      plugin - the Plugin
      Returns:
      The list which contains the data of all the dashboard objects
    • selectIdDashboardsList

      List<Integer> selectIdDashboardsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the id of all the dashboard objects and returns them as a list
      Parameters:
      plugin - the Plugin
      Returns:
      The list which contains the id of all the dashboard objects
    • selectDashboardsReferenceList

      fr.paris.lutece.util.ReferenceList selectDashboardsReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of all the dashboard objects and returns them as a referenceList
      Parameters:
      plugin - the Plugin
      Returns:
      The referenceList which contains the data of all the dashboard objects
    • store

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

      void delete(int nIdDashboard, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Delete the given dashboard
      Parameters:
      nIdDashboard - the dashboard id to delete
      plugin - the Plugin
    • deleteAll

      void deleteAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Delete all the dashboards in the table
      Parameters:
      plugin -
    • isDashboardExists

      boolean isDashboardExists(Dashboard dashboard, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      check if given dashboard exists, based on Kibana dashboard id
      Parameters:
      dashboard -
      plugin -
      Returns:
      true if exists, false otherwise