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

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

public final class AdminDashboardHome
extends Object

AdminDashboardHome


Method Summary
static void create(IAdminDashboardComponent adminDashboardComponent)
          Creation of an instance of adminDashboardComponent
static List<IAdminDashboardComponent> findAll()
          Loads the data of all the IAdminDashboardComponent
static List<IAdminDashboardComponent> findByFilter(AdminDashboardFilter filter)
          Loads the data of all the IAdminDashboardComponent
static IAdminDashboardComponent findByPrimaryKey(String strBeanName)
          Returns an instance of a adminDashboardComponent whose identifier is specified in parameter
static List<Integer> findColumns()
          Find 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 adminDashboardComponent whose identifier is specified in parameter
static void removeAll()
          Remove the adminDashboardComponent whose identifier is specified in parameter
static void update(IAdminDashboardComponent adminDashboardComponent)
          Update of the adminDashboardComponent 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(IAdminDashboardComponent adminDashboardComponent)
Creation of an instance of adminDashboardComponent

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

update

public static void update(IAdminDashboardComponent adminDashboardComponent)
Update of the adminDashboardComponent which is specified in parameter

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

remove

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

Parameters:
strBeanName - The adminDashboardComponent id

removeAll

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


findByPrimaryKey

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

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

findAll

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

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

findByFilter

public static List<IAdminDashboardComponent> findByFilter(AdminDashboardFilter filter)
Loads the data of all the IAdminDashboardComponent

Parameters:
filter - a search by criteria
Returns:
the list which contains the data of all the IAdminDashboardComponent

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()
Find columns.

Returns:
the list


Copyright © 2014 Mairie de Paris. All Rights Reserved.