public class AdminDashboardDAO extends Object implements IAdminDashboardDAO
Constructor and Description |
---|
AdminDashboardDAO() |
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(IAdminDashboardComponent dashboardComponent)
Insert a new record in the table.
|
IAdminDashboardComponent |
load(String strClassName)
Load the data of the IndexerAction from the table
|
List<IAdminDashboardComponent> |
selectAllDashboardComponents()
Finds all AdminDashboardComponent
|
List<Integer> |
selectColumns()
Returns the columns list
|
List<IAdminDashboardComponent> |
selectDashboardComponents(AdminDashboardFilter 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(IAdminDashboardComponent dashboardComponent)
Update the dashboardComponent in the table
|
public void delete(String strBeanName)
delete
in interface IAdminDashboardDAO
strBeanName
- The identifier of the dashboardpublic void deleteAll()
deleteAll
in interface IAdminDashboardDAO
public void insert(IAdminDashboardComponent dashboardComponent)
insert
in interface IAdminDashboardDAO
dashboardComponent
- instance of the dashboardComponent object to insertpublic IAdminDashboardComponent load(String strClassName)
load
in interface IAdminDashboardDAO
strClassName
- The identifier of the actionpublic List<IAdminDashboardComponent> selectAllDashboardComponents()
selectAllDashboardComponents
in interface IAdminDashboardDAO
public int selectMaxOrder()
selectMaxOrder
in interface IAdminDashboardDAO
public int selectMaxOrder(int nColumn)
selectMaxOrder
in interface IAdminDashboardDAO
nColumn
- the columnpublic List<IAdminDashboardComponent> selectDashboardComponents(AdminDashboardFilter filter)
selectDashboardComponents
in interface IAdminDashboardDAO
filter
- the filterpublic void store(IAdminDashboardComponent dashboardComponent)
store
in interface IAdminDashboardDAO
dashboardComponent
- instance of the IAdminDashboardComponent object to updatepublic List<Integer> selectColumns()
selectColumns
in interface IAdminDashboardDAO
Copyright © 2020 City of Paris. All rights reserved.