Class AdminDashboardDAO
java.lang.Object
fr.paris.lutece.portal.business.dashboard.AdminDashboardDAO
- All Implemented Interfaces:
IAdminDashboardDAO
AdminDashboardDAO
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidDelete a record from the tablevoidDelete all record from the tablevoidinsert(IAdminDashboardComponent dashboardComponent) Insert a new record in the table.Load the data of the IndexerAction from the tableFinds all AdminDashboardComponentReturns the columns listFinds all dashboard components matching filterintReturns the max order value, for all columnsintselectMaxOrder(int nColumn) Returns the max order value, for the given columnvoidstore(IAdminDashboardComponent dashboardComponent) Update the dashboardComponent in the table
-
Constructor Details
-
AdminDashboardDAO
public AdminDashboardDAO()
-
-
Method Details
-
delete
Delete a record from the table- Specified by:
deletein interfaceIAdminDashboardDAO- Parameters:
strBeanName- The identifier of the dashboard
-
deleteAll
public void deleteAll()Delete all record from the table- Specified by:
deleteAllin interfaceIAdminDashboardDAO
-
insert
Insert a new record in the table.- Specified by:
insertin interfaceIAdminDashboardDAO- Parameters:
dashboardComponent- instance of the dashboardComponent object to insert
-
load
Load the data of the IndexerAction from the table- Specified by:
loadin interfaceIAdminDashboardDAO- Parameters:
strClassName- The identifier of the action- Returns:
- the instance of the IndexerAction
-
selectAllDashboardComponents
Finds all AdminDashboardComponent- Specified by:
selectAllDashboardComponentsin interfaceIAdminDashboardDAO- Returns:
- all AdminDashboardComponent
-
selectMaxOrder
public int selectMaxOrder()Returns the max order value, for all columns- Specified by:
selectMaxOrderin interfaceIAdminDashboardDAO- Returns:
- the max order
-
selectMaxOrder
public int selectMaxOrder(int nColumn) Returns the max order value, for the given column- Specified by:
selectMaxOrderin interfaceIAdminDashboardDAO- Parameters:
nColumn- the column- Returns:
- the max order
-
selectDashboardComponents
Finds all dashboard components matching filter- Specified by:
selectDashboardComponentsin interfaceIAdminDashboardDAO- Parameters:
filter- the filter- Returns:
- all dashboard components matching filter
-
store
Update the dashboardComponent in the table- Specified by:
storein interfaceIAdminDashboardDAO- Parameters:
dashboardComponent- instance of the IAdminDashboardComponent object to update
-
selectColumns
Returns the columns list- Specified by:
selectColumnsin interfaceIAdminDashboardDAO- Returns:
- the columns list
-