Class AdminDashboardDAO
- java.lang.Object
-
- fr.paris.lutece.portal.business.dashboard.AdminDashboardDAO
-
- All Implemented Interfaces:
IAdminDashboardDAO
public class AdminDashboardDAO extends java.lang.Object implements IAdminDashboardDAO
AdminDashboardDAO
-
-
Constructor Summary
Constructors Constructor Description AdminDashboardDAO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete(java.lang.String strBeanName)Delete a record from the tablevoiddeleteAll()Delete all record from the tablevoidinsert(IAdminDashboardComponent dashboardComponent)Insert a new record in the table.IAdminDashboardComponentload(java.lang.String strClassName)Load the data of the IndexerAction from the tablejava.util.List<IAdminDashboardComponent>selectAllDashboardComponents()Finds all AdminDashboardComponentjava.util.List<java.lang.Integer>selectColumns()Returns the columns listjava.util.List<IAdminDashboardComponent>selectDashboardComponents(AdminDashboardFilter filter)Finds all dashboard components matching filterintselectMaxOrder()Returns 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
-
-
-
Method Detail
-
delete
public void delete(java.lang.String strBeanName)
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
public void insert(IAdminDashboardComponent dashboardComponent)
Insert a new record in the table.- Specified by:
insertin interfaceIAdminDashboardDAO- Parameters:
dashboardComponent- instance of the dashboardComponent object to insert
-
load
public IAdminDashboardComponent load(java.lang.String strClassName)
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
public java.util.List<IAdminDashboardComponent> 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
public java.util.List<IAdminDashboardComponent> selectDashboardComponents(AdminDashboardFilter filter)
Finds all dashboard components matching filter- Specified by:
selectDashboardComponentsin interfaceIAdminDashboardDAO- Parameters:
filter- the filter- Returns:
- all dashboard components matching filter
-
store
public void store(IAdminDashboardComponent dashboardComponent)
Update the dashboardComponent in the table- Specified by:
storein interfaceIAdminDashboardDAO- Parameters:
dashboardComponent- instance of the IAdminDashboardComponent object to update
-
selectColumns
public java.util.List<java.lang.Integer> selectColumns()
Returns the columns list- Specified by:
selectColumnsin interfaceIAdminDashboardDAO- Returns:
- the columns list
-
-