public interface IViewsService
| Modifier and Type | Method and Description |
|---|---|
void |
addProfileForView(String strViewKey,
String strProfileKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Add a profile for a view
|
boolean |
checkExistView(String strViewKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Check if a view already exists or not
|
View |
create(View view,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Creation of an instance of View
|
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
|
void |
doMoveDashboard(fr.paris.lutece.portal.service.dashboard.IDashboardComponent dashboard,
int nOldColumn,
int nOldOrder,
boolean bCreate,
String strViewKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Moves the dashboard.
|
void |
doReorderColumn(String strViewKey,
int nColumn,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Reorders column's dashboard
|
List<View> |
findAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns a List of Views objects
|
View |
findByPrimaryKey(String strViewKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns an instance of a profile whose identifier is specified in parameter
|
List<Integer> |
findColumns(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Finds all columns
|
fr.paris.lutece.portal.service.dashboard.IDashboardComponent |
findDashboard(String strDashboardName,
String strViewKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the dashboard
|
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
|
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
|
int |
findMaxOrder(int nColumn,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Finds the max order for the column.
|
int |
findMaxOrder(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Finds the max order for all columns.
|
View |
findViewForProfile(String strProfileKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the view from a profile
|
List<View> |
findViewsByFilter(ViewFilter vFilter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find Views by filter
|
Map<String,List<fr.paris.lutece.portal.service.dashboard.IDashboardComponent>> |
getAllSetDashboards(String strViewKey,
fr.paris.lutece.portal.business.user.AdminUser user,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the list of dashboards of the given view
|
List<fr.paris.lutece.portal.service.dashboard.IDashboardComponent> |
getDashboardComponents(String strViewKey,
int nColumn,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the dashboard component
|
fr.paris.lutece.util.html.ItemNavigator |
getItemNavigator(ViewFilter vFilter,
View view,
fr.paris.lutece.util.url.UrlItem url)
Get the item navigator
|
List<ViewAction> |
getListActions(fr.paris.lutece.portal.business.user.AdminUser user,
View view,
String strPermission,
Locale locale,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the list of actions
|
fr.paris.lutece.util.ReferenceList |
getListAvailableColumns()
Returns list with available column
|
fr.paris.lutece.util.ReferenceList |
getListAvailableOrders(int nColumn,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Orders reference list for the given column
|
Map<String,fr.paris.lutece.util.ReferenceList> |
getMapAvailableOrders(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Builds all refList order for all columns
|
List<fr.paris.lutece.portal.service.dashboard.IDashboardComponent> |
getNotSetDashboards(String strViewKey,
fr.paris.lutece.portal.business.user.AdminUser user,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the list of dashboards that are not set
|
Map<String,Boolean> |
getOrderedColumnsStatus(String strViewKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Builds the map to with column id as key, and
true as value if column is well ordered, false otherwise. |
List<Profile> |
getProfilesListForView(String strViewKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the list of profiles associated to the view
|
fr.paris.lutece.util.ReferenceList |
getViewsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the list of Views
|
boolean |
hasView(String strProfileKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Check if the given profile has a view or not
|
void |
remove(String strViewKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove the View whose identifier is specified in parameter
|
void |
removeDashboard(String strViewKey,
String strDashboardName,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a dashboard of a view
|
void |
removeDashboards(String strViewKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete all dashboards of a view
|
void |
removeProfileFromView(String strViewKey,
String strProfileKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove a view from a profile
|
void |
removeProfiles(String strViewKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove a profile from a view
|
View |
update(View view,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update of the view which is specified in parameter
|
void |
updateDashboard(String strViewKey,
fr.paris.lutece.portal.service.dashboard.IDashboardComponent dashboard,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update a dashboard
|
fr.paris.lutece.util.html.ItemNavigator getItemNavigator(ViewFilter vFilter, View view, fr.paris.lutece.util.url.UrlItem url)
vFilter - the view filterview - the viewurl - the urlList<ViewAction> getListActions(fr.paris.lutece.portal.business.user.AdminUser user, View view, String strPermission, Locale locale, fr.paris.lutece.portal.service.plugin.Plugin plugin)
user - the current userview - the viewstrPermission - the permission namelocale - Localeplugin - PluginMap<String,List<fr.paris.lutece.portal.service.dashboard.IDashboardComponent>> getAllSetDashboards(String strViewKey, fr.paris.lutece.portal.business.user.AdminUser user, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strViewKey - the view keyuser - the current userplugin - PluginList<fr.paris.lutece.portal.service.dashboard.IDashboardComponent> getNotSetDashboards(String strViewKey, fr.paris.lutece.portal.business.user.AdminUser user, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strViewKey - the view keyuser - the admin userplugin - PluginMap<String,fr.paris.lutece.util.ReferenceList> getMapAvailableOrders(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - Pluginfr.paris.lutece.util.ReferenceList getListAvailableOrders(int nColumn,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nColumn - columnplugin - Pluginfr.paris.lutece.util.ReferenceList getListAvailableColumns()
void doMoveDashboard(fr.paris.lutece.portal.service.dashboard.IDashboardComponent dashboard,
int nOldColumn,
int nOldOrder,
boolean bCreate,
String strViewKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
dashboard - to move, with new valuesnOldColumn - previous column idnOldOrder - previous orderbCreate - true if this is a new dashboard, false otherwise.strViewKey - the view keyplugin - the pluginList<fr.paris.lutece.portal.service.dashboard.IDashboardComponent> getDashboardComponents(String strViewKey, int nColumn, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strViewKey - the view keynColumn - the column idplugin - the pluginsvoid doReorderColumn(String strViewKey, int nColumn, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strViewKey - the view keynColumn - the column to reorderplugin - the pluginMap<String,Boolean> getOrderedColumnsStatus(String strViewKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
true as value if column is well ordered, false otherwise.strViewKey - the view keyplugin - the pluginView create(View view, fr.paris.lutece.portal.service.plugin.Plugin plugin)
view - The instance of the View which contains the informations to storeplugin - PluginView update(View view, fr.paris.lutece.portal.service.plugin.Plugin plugin)
view - The instance of the view which contains the new data to storeplugin - Pluginvoid remove(String strViewKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strViewKey - The View object to removeplugin - PluginView findByPrimaryKey(String strViewKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strViewKey - The key of the Viewplugin - PluginList<View> findAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - PluginList<View> findViewsByFilter(ViewFilter vFilter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
vFilter - the Filterplugin - Pluginboolean checkExistView(String strViewKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strViewKey - The view keyplugin - Pluginfr.paris.lutece.util.ReferenceList getViewsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - PluginList<Profile> getProfilesListForView(String strViewKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strViewKey - The view Keyplugin - PluginView findViewForProfile(String strProfileKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strProfileKey - the profile keyplugin - Pluginboolean hasView(String strProfileKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strProfileKey - the profile keyplugin - Pluginvoid addProfileForView(String strViewKey, String strProfileKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strViewKey - The view KeystrProfileKey - The profile Keyplugin - Pluginvoid removeProfiles(String strViewKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strViewKey - The view Keyplugin - Pluginvoid removeProfileFromView(String strViewKey, String strProfileKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strViewKey - the view keystrProfileKey - the profile keyplugin - PluginList<fr.paris.lutece.portal.service.dashboard.IDashboardComponent> findDashboards(String strViewKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strViewKey - the view keyplugin - PluginIDashboardComponentfr.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 - Pluginvoid 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 - Pluginvoid removeDashboards(String strViewKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strViewKey - the view keyplugin - Pluginvoid removeDashboard(String strViewKey, String strDashboardName, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strViewKey - the view keystrDashboardName - the dashboard nameplugin - Pluginvoid 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 - PluginList<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 - Pluginint findMaxOrder(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - Pluginint findMaxOrder(int nColumn,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nColumn - the columnplugin - PluginCopyright © 2016 City of Paris. All rights reserved.