|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IViewsService
IViewsService
| Method Summary | |
|---|---|
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 |
| Method Detail |
|---|
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 url
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)
user - the current userview - the viewstrPermission - the permission namelocale - Localeplugin - Plugin
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)
strViewKey - the view keyuser - the current userplugin - Plugin
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)
strViewKey - the view keyuser - the admin userplugin - Plugin
Map<String,fr.paris.lutece.util.ReferenceList> getMapAvailableOrders(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - Plugin
fr.paris.lutece.util.ReferenceList getListAvailableOrders(int nColumn,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nColumn - columnplugin - Plugin
fr.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 plugin
List<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 plugins
void doReorderColumn(String strViewKey,
int nColumn,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
strViewKey - the view keynColumn - the column to reorderplugin - the plugin
Map<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 plugin
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
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
void remove(String strViewKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
strViewKey - The View object to removeplugin - Plugin
View findByPrimaryKey(String strViewKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
strViewKey - The key of the Viewplugin - Plugin
List<View> findAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - Plugin
List<View> findViewsByFilter(ViewFilter vFilter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
vFilter - the Filterplugin - Plugin
boolean checkExistView(String strViewKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
strViewKey - The view keyplugin - Plugin
fr.paris.lutece.util.ReferenceList getViewsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - Plugin
List<Profile> getProfilesListForView(String strViewKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
strViewKey - The view Keyplugin - Plugin
View findViewForProfile(String strProfileKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
strProfileKey - the profile keyplugin - Plugin
boolean hasView(String strProfileKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
strProfileKey - the profile keyplugin - Plugin
void addProfileForView(String strViewKey,
String strProfileKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
strViewKey - The view KeystrProfileKey - The profile Keyplugin - Plugin
void removeProfiles(String strViewKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
strViewKey - The view Keyplugin - Plugin
void removeProfileFromView(String strViewKey,
String strProfileKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
strViewKey - the view keystrProfileKey - the profile keyplugin - Plugin
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
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
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 - Plugin
void removeDashboards(String strViewKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
strViewKey - the view keyplugin - Plugin
void removeDashboard(String strViewKey,
String strDashboardName,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
strViewKey - the view keystrDashboardName - the dashboard nameplugin - Plugin
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 - Plugin
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
int findMaxOrder(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - Plugin
int findMaxOrder(int nColumn,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nColumn - the columnplugin - Plugin
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 | |||||||||