fr.paris.lutece.portal.business.dashboard
Class AdminDashboardDAO

java.lang.Object
  extended by fr.paris.lutece.portal.business.dashboard.AdminDashboardDAO
All Implemented Interfaces:
IAdminDashboardDAO

public class AdminDashboardDAO
extends Object
implements IAdminDashboardDAO

AdminDashboardDAO


Constructor Summary
AdminDashboardDAO()
           
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AdminDashboardDAO

public AdminDashboardDAO()
Method Detail

delete

public void delete(String strBeanName)
Delete a record from the table

Specified by:
delete in interface IAdminDashboardDAO
Parameters:
strBeanName - The identifier of the dashboard

deleteAll

public void deleteAll()
Delete all record from the table

Specified by:
deleteAll in interface IAdminDashboardDAO

insert

public void insert(IAdminDashboardComponent dashboardComponent)
Insert a new record in the table.

Specified by:
insert in interface IAdminDashboardDAO
Parameters:
dashboardComponent - instance of the dashboardComponent object to insert

load

public IAdminDashboardComponent load(String strClassName)
Load the data of the IndexerAction from the table

Specified by:
load in interface IAdminDashboardDAO
Parameters:
strClassName - The identifier of the action
Returns:
the instance of the IndexerAction

selectAllDashboardComponents

public List<IAdminDashboardComponent> selectAllDashboardComponents()
Finds all AdminDashboardComponent

Specified by:
selectAllDashboardComponents in interface IAdminDashboardDAO
Returns:
all AdminDashboardComponent

selectMaxOrder

public int selectMaxOrder()
Returns the max order value, for all columns

Specified by:
selectMaxOrder in interface IAdminDashboardDAO
Returns:
the max order

selectMaxOrder

public int selectMaxOrder(int nColumn)
Returns the max order value, for the given column

Specified by:
selectMaxOrder in interface IAdminDashboardDAO
Parameters:
nColumn - the column
Returns:
the max order

selectDashboardComponents

public List<IAdminDashboardComponent> selectDashboardComponents(AdminDashboardFilter filter)
Finds all dashboard components matching filter

Specified by:
selectDashboardComponents in interface IAdminDashboardDAO
Parameters:
filter - the filter
Returns:
all dashboard components matching filter

store

public void store(IAdminDashboardComponent dashboardComponent)
Update the dashboardComponent in the table

Specified by:
store in interface IAdminDashboardDAO
Parameters:
dashboardComponent - instance of the IAdminDashboardComponent object to update

selectColumns

public List<Integer> selectColumns()
Returns the columns list

Specified by:
selectColumns in interface IAdminDashboardDAO
Returns:
the columns list


Copyright © 2014 Mairie de Paris. All Rights Reserved.