|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.plugins.profiles.business.views.ViewHome
public final class ViewHome
ProfileHome
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
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
- Plugin
public 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
- Plugin
public 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
- Plugin
public static List<View> findAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- Plugin
public static List<View> findViewsByFilter(ViewFilter vFilter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
vFilter
- the Filterplugin
- Plugin
public static boolean checkExistView(String strViewKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strViewKey
- The view keyplugin
- Plugin
public static fr.paris.lutece.util.ReferenceList getViewsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- Plugin
public static List<Profile> getProfilesListForView(String strViewKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strViewKey
- The view Keyplugin
- Plugin
public static View findViewForProfile(String strProfileKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strProfileKey
- the profile keyplugin
- Plugin
public static boolean hasView(String strProfileKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strProfileKey
- the profile keyplugin
- Plugin
public 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
- Plugin
IDashboardComponent
public 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
- Plugin
public 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
- Plugin
public static int findMaxOrder(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- Plugin
public static int findMaxOrder(int nColumn, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nColumn
- the columnplugin
- Plugin
public static List<Integer> findColumns(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- Plugin
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |