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

java.lang.Object
  extended by fr.paris.lutece.portal.business.dashboard.DashboardHome

public final class DashboardHome
extends Object

DashboardHome


Method Summary
static void create(IDashboardComponent dashboardComponent)
          Creation of an instance of DashboardComponent
static List<IDashboardComponent> findAll()
          Loads the data of all the IDashboardComponent
static List<IDashboardComponent> findByFilter(DashboardFilter filter)
          Loads the data of all the IDashboardComponent
static IDashboardComponent findByPrimaryKey(String strBeanName)
          Returns an instance of a DashboardComponent whose identifier is specified in parameter
static List<Integer> findColumns()
          Finds all columns
static int findMaxOrder()
          Finds the max order for all columns.
static int findMaxOrder(int nColumn)
          Finds the max order for the column.
static void remove(String strBeanName)
          Remove the DashboardComponent whose identifier is specified in parameter
static void removeAll()
          Remove the DashboardComponent whose identifier is specified in parameter
static void update(IDashboardComponent dashboardComponent)
          Update of the DashboardComponent which is specified in parameter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public static void create(IDashboardComponent dashboardComponent)
Creation of an instance of DashboardComponent

Parameters:
dashboardComponent - The instance of the DashboardComponent which contains the informations to store

update

public static void update(IDashboardComponent dashboardComponent)
Update of the DashboardComponent which is specified in parameter

Parameters:
dashboardComponent - The instance of the DashboardComponent which contains the informations to update

remove

public static void remove(String strBeanName)
Remove the DashboardComponent whose identifier is specified in parameter

Parameters:
strBeanName - The DashboardComponent id

removeAll

public static void removeAll()
Remove the DashboardComponent whose identifier is specified in parameter


findByPrimaryKey

public static IDashboardComponent findByPrimaryKey(String strBeanName)
Returns an instance of a DashboardComponent whose identifier is specified in parameter

Parameters:
strBeanName - The DashboardComponent primary key
Returns:
an instance of DashboardComponent

findAll

public static List<IDashboardComponent> findAll()
Loads the data of all the IDashboardComponent

Returns:
the list which contains the data of all the IDashboardComponent

findByFilter

public static List<IDashboardComponent> findByFilter(DashboardFilter filter)
Loads the data of all the IDashboardComponent

Parameters:
filter - the filter
Returns:
the list which contains the data of all the IDashboardComponent

findMaxOrder

public static int findMaxOrder()
Finds the max order for all columns.

Returns:
the max order

findMaxOrder

public static int findMaxOrder(int nColumn)
Finds the max order for the column.

Parameters:
nColumn - the column
Returns:
the max order

findColumns

public static List<Integer> findColumns()
Finds all columns

Returns:
the list of columns


Copyright © 2014 Mairie de Paris. All Rights Reserved.