Class DashboardHome
java.lang.Object
fr.paris.lutece.portal.business.dashboard.DashboardHome
DashboardHome
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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 parameterFinds all columnsstatic intFinds the max order for all columns.static intfindMaxOrder(int nColumn) Finds the max order for the column.static voidRemove the DashboardComponent whose identifier is specified in parameterstatic voidRemove the DashboardComponent whose identifier is specified in parameterstatic voidupdate(IDashboardComponent dashboardComponent) Update of the DashboardComponent which is specified in parameter
-
Method Details
-
create
Creation of an instance of DashboardComponent- Parameters:
dashboardComponent- The instance of the DashboardComponent which contains the informations to store
-
update
Update of the DashboardComponent which is specified in parameter- Parameters:
dashboardComponent- The instance of the DashboardComponent which contains the informations to update
-
remove
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
Returns an instance of a DashboardComponent whose identifier is specified in parameter- Parameters:
strBeanName- The DashboardComponent primary key- Returns:
- an instance of DashboardComponent
-
findAll
Loads the data of all the IDashboardComponent- Returns:
- the list which contains the data of all the IDashboardComponent
-
findByFilter
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
Finds all columns- Returns:
- the list of columns
-