Class DashboardHome
- java.lang.Object
-
- fr.paris.lutece.portal.business.dashboard.DashboardHome
-
public final class DashboardHome extends Object
DashboardHome
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidcreate(IDashboardComponent dashboardComponent)Creation of an instance of DashboardComponentstatic List<IDashboardComponent>findAll()Loads the data of all the IDashboardComponentstatic List<IDashboardComponent>findByFilter(DashboardFilter filter)Loads the data of all the IDashboardComponentstatic IDashboardComponentfindByPrimaryKey(String strBeanName)Returns an instance of a DashboardComponent whose identifier is specified in parameterstatic List<Integer>findColumns()Finds all columnsstatic intfindMaxOrder()Finds the max order for all columns.static intfindMaxOrder(int nColumn)Finds the max order for the column.static voidremove(String strBeanName)Remove the DashboardComponent whose identifier is specified in parameterstatic voidremoveAll()Remove the DashboardComponent whose identifier is specified in parameterstatic voidupdate(IDashboardComponent dashboardComponent)Update of the DashboardComponent which is specified in parameter
-
-
-
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
-
-