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 IDashboardDAOstrBeanName - The identifier of the dashboardpublic void deleteAll()
deleteAll in interface IDashboardDAOpublic void insert(IDashboardComponent dashboardComponent)
insert in interface IDashboardDAOdashboardComponent - instance of the dashboardComponent object to insertpublic IDashboardComponent load(String strClassName)
load in interface IDashboardDAOstrClassName - The identifier of the actionpublic List<IDashboardComponent> selectAllDashboardComponents()
selectAllDashboardComponents in interface IDashboardDAOpublic int selectMaxOrder()
selectMaxOrder in interface IDashboardDAOpublic int selectMaxOrder(int nColumn)
selectMaxOrder in interface IDashboardDAOnColumn - the columnpublic List<IDashboardComponent> selectDashboardComponents(DashboardFilter filter)
selectDashboardComponents in interface IDashboardDAOfilter - the filterpublic void store(IDashboardComponent dashboardComponent)
store in interface IDashboardDAOdashboardComponent - instance of the IDashboardComponent object to updatepublic List<Integer> selectColumns()
selectColumns in interface IDashboardDAOCopyright © 2020 City of Paris. All rights reserved.