public final class DashboardDAO extends Object implements IDashboardDAO
| Constructor and Description |
|---|
DashboardDAO() |
| Modifier and Type | Method and 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
|
Dashboard |
load(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
Dashboard |
loadByKibanaId(String strIdKibana,
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
|
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
|
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
|
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
|
void |
store(Dashboard dashboard,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
public int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - The Pluginpublic void insert(Dashboard dashboard, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface IDashboardDAOdashboard - instance of the Dashboard object to insertplugin - the Pluginpublic Dashboard load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface IDashboardDAOnKey - The identifier of the dashboardplugin - the Pluginpublic Dashboard loadByKibanaId(String strIdKibana, fr.paris.lutece.portal.service.plugin.Plugin plugin)
loadByKibanaId in interface IDashboardDAOstrIdKibana - The identifier of the dashboard in Kibanaplugin - the Pluginpublic List<Dashboard> selectDashboardsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectDashboardsList in interface IDashboardDAOplugin - the Pluginpublic List<Integer> selectIdDashboardsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectIdDashboardsList in interface IDashboardDAOplugin - the Pluginpublic fr.paris.lutece.util.ReferenceList selectDashboardsReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectDashboardsReferenceList in interface IDashboardDAOplugin - the Pluginpublic void delete(int nIdDashboard,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface IDashboardDAOnIdDashboard - the dashboard id to deleteplugin - the Pluginpublic void deleteAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
deleteAll in interface IDashboardDAOpublic boolean isDashboardExists(Dashboard dashboard, fr.paris.lutece.portal.service.plugin.Plugin plugin)
isDashboardExists in interface IDashboardDAOpublic void store(Dashboard dashboard, fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface IDashboardDAOdashboard - the reference of the Dashboardplugin - the PluginCopyright © 2021 City of Paris. All rights reserved.