public final class ViewHome extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
addProfileForView(String strViewKey,
String strProfileKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Add a profile for a view
|
static boolean |
checkExistView(String strViewKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Check if a view already exists or not
|
static View |
create(View view,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Creation of an instance of View
|
static void |
createDashboard(String strViewKey,
fr.paris.lutece.portal.service.dashboard.IDashboardComponent dashboard,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a dashboard for a view
|
static List<View> |
findAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns a List of Views objects
|
static View |
findByPrimaryKey(String strViewKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns an instance of a profile whose identifier is specified in parameter
|
static List<Integer> |
findColumns(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Finds all columns
|
static fr.paris.lutece.portal.service.dashboard.IDashboardComponent |
findDashboard(String strDashboardName,
String strViewKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the dashboard
|
static List<fr.paris.lutece.portal.service.dashboard.IDashboardComponent> |
findDashboards(String strViewKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the list of dashboards from a given view key
|
static List<fr.paris.lutece.portal.service.dashboard.IDashboardComponent> |
findDashboardsByFilter(fr.paris.lutece.portal.business.dashboard.DashboardFilter filter,
String strViewKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Loads the data of all the IDashboardComponent
|
static int |
findMaxOrder(int nColumn,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Finds the max order for the column.
|
static int |
findMaxOrder(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Finds the max order for all columns.
|
static View |
findViewForProfile(String strProfileKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the view from a profile
|
static List<View> |
findViewsByFilter(ViewFilter vFilter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find Views by filter
|
static List<Profile> |
getProfilesListForView(String strViewKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the list of profiles associated to the view
|
static fr.paris.lutece.util.ReferenceList |
getViewsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the list of Views
|
static boolean |
hasView(String strProfileKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Check if the given profile has a view or not
|
static void |
remove(String strViewKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove the View whose identifier is specified in parameter
|
static void |
removeDashboard(String strViewKey,
String strDashboardName,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a dashboard of a view
|
static void |
removeDashboards(String strViewKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete all dashboards of a view
|
static void |
removeProfileFromView(String strViewKey,
String strProfileKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove a view from a profile
|
static void |
removeProfiles(String strViewKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove a profile from a view
|
static View |
update(View view,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update of the view which is specified in parameter
|
static void |
updateDashboard(String strViewKey,
fr.paris.lutece.portal.service.dashboard.IDashboardComponent dashboard,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update a dashboard
|
public static View create(View view, fr.paris.lutece.portal.service.plugin.Plugin plugin)
view - The instance of the View which contains the informations to storeplugin - Pluginpublic static View update(View view, fr.paris.lutece.portal.service.plugin.Plugin plugin)
view - The instance of the view which contains the new data to storeplugin - Pluginpublic static void remove(String strViewKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strViewKey - The View object to removeplugin - Pluginpublic static View findByPrimaryKey(String strViewKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strViewKey - The key of the Viewplugin - Pluginpublic static List<View> findAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - Pluginpublic static List<View> findViewsByFilter(ViewFilter vFilter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
vFilter - the Filterplugin - Pluginpublic static boolean checkExistView(String strViewKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strViewKey - The view keyplugin - Pluginpublic static fr.paris.lutece.util.ReferenceList getViewsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - Pluginpublic static List<Profile> getProfilesListForView(String strViewKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strViewKey - The view Keyplugin - Pluginpublic static View findViewForProfile(String strProfileKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strProfileKey - the profile keyplugin - Pluginpublic static boolean hasView(String strProfileKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strProfileKey - the profile keyplugin - Pluginpublic static void addProfileForView(String strViewKey, String strProfileKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strViewKey - The view KeystrProfileKey - The profile Keyplugin - Pluginpublic static void removeProfiles(String strViewKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strViewKey - The view Keyplugin - Pluginpublic static void removeProfileFromView(String strViewKey, String strProfileKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strViewKey - the view keystrProfileKey - the profile keyplugin - Pluginpublic static List<fr.paris.lutece.portal.service.dashboard.IDashboardComponent> findDashboards(String strViewKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strViewKey - the view keyplugin - PluginIDashboardComponentpublic static fr.paris.lutece.portal.service.dashboard.IDashboardComponent findDashboard(String strDashboardName, String strViewKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strDashboardName - the dashboard namestrViewKey - the view keyplugin - Pluginpublic static void createDashboard(String strViewKey, fr.paris.lutece.portal.service.dashboard.IDashboardComponent dashboard, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strViewKey - the view keydashboard - the dashboardplugin - Pluginpublic static void removeDashboards(String strViewKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strViewKey - the view keyplugin - Pluginpublic static void removeDashboard(String strViewKey, String strDashboardName, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strViewKey - the view keystrDashboardName - the dashboard nameplugin - Pluginpublic static void updateDashboard(String strViewKey, fr.paris.lutece.portal.service.dashboard.IDashboardComponent dashboard, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strViewKey - the view keydashboard - the dashboardplugin - Pluginpublic static List<fr.paris.lutece.portal.service.dashboard.IDashboardComponent> findDashboardsByFilter(fr.paris.lutece.portal.business.dashboard.DashboardFilter filter, String strViewKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
filter - the filterstrViewKey - the view keyplugin - Pluginpublic static int findMaxOrder(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - Pluginpublic static int findMaxOrder(int nColumn,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nColumn - the columnplugin - PluginCopyright © 2022 City of Paris. All rights reserved.