public class DashboardDAO extends Object implements IDashboardDAO
Constructor and Description |
---|
DashboardDAO() |
Modifier and Type | Method and Description |
---|---|
void |
delete(String strBeanName)
Delete a record from the table
|
void |
deleteAll()
Delete all record from the table
|
void |
insert(IDashboardComponent dashboardComponent)
Insert a new record in the table.
|
IDashboardComponent |
load(String strClassName)
Load the data of the IndexerAction from the table
|
List<IDashboardComponent> |
selectAllDashboardComponents()
Finds all DashboardComponent
|
List<Integer> |
selectColumns()
Returns the columns list
|
List<IDashboardComponent> |
selectDashboardComponents(DashboardFilter filter)
Finds all dashboard components matching filter
|
int |
selectMaxOrder()
Returns the max order value, for all columns
|
int |
selectMaxOrder(int nColumn)
Returns the max order value, for the given column
|
void |
store(IDashboardComponent dashboardComponent)
Update the dashboardComponent in the table
|
public void delete(String strBeanName)
delete
in interface IDashboardDAO
strBeanName
- The identifier of the dashboardpublic void deleteAll()
deleteAll
in interface IDashboardDAO
public void insert(IDashboardComponent dashboardComponent)
insert
in interface IDashboardDAO
dashboardComponent
- instance of the dashboardComponent object to insertpublic IDashboardComponent load(String strClassName)
load
in interface IDashboardDAO
strClassName
- The identifier of the actionpublic List<IDashboardComponent> selectAllDashboardComponents()
selectAllDashboardComponents
in interface IDashboardDAO
public int selectMaxOrder()
selectMaxOrder
in interface IDashboardDAO
public int selectMaxOrder(int nColumn)
selectMaxOrder
in interface IDashboardDAO
nColumn
- the columnpublic List<IDashboardComponent> selectDashboardComponents(DashboardFilter filter)
selectDashboardComponents
in interface IDashboardDAO
filter
- the filterpublic void store(IDashboardComponent dashboardComponent)
store
in interface IDashboardDAO
dashboardComponent
- instance of the IDashboardComponent object to updatepublic List<Integer> selectColumns()
selectColumns
in interface IDashboardDAO
Copyright © 2020 City of Paris. All rights reserved.