public interface IViewDAO
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkExistView(String strKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Check if a view already exists or not
|
void |
delete(String strViewKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a view from the table
|
void |
deleteDashboard(String strViewKey,
String strDashboardName,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a dashboard of a view
|
void |
deleteDashboards(String strViewKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete all dashboards of a view
|
void |
deleteProfileFromView(String strViewKey,
String strProfileKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove profile from a view
|
void |
deleteProfiles(String strViewKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove a profile from a 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 |
insert(View view,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
void |
insertDashboard(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 |
insertProfileForView(String strViewKey,
String strProfileKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Add a profile for a view
|
View |
load(String strViewKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of view from the table
|
List<Integer> |
selectColumns(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns the columns list
|
fr.paris.lutece.portal.service.dashboard.IDashboardComponent |
selectDashboard(String strDashboardName,
String strViewKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the dashboard
|
List<fr.paris.lutece.portal.service.dashboard.IDashboardComponent> |
selectDashboards(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> |
selectDashboardsByFilter(fr.paris.lutece.portal.business.dashboard.DashboardFilter filter,
String strViewKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Finds all dashboard components matching filter
|
int |
selectMaxOrder(int nColumn,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns the max order value, for the given column
|
int |
selectMaxOrder(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns the max order value, for all columns
|
List<Profile> |
selectProfilesListForView(String strViewKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the list of profiles associated to the view
|
View |
selectViewForProfile(String strProfileKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the view from a profile
|
List<View> |
selectViewsByFilter(ViewFilter vFilter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find view by filter
|
List<View> |
selectViewsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the list of views
|
void |
store(View view,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record identified by the given view key with the given view in the table
|
void |
storeDashboard(String strViewKey,
fr.paris.lutece.portal.service.dashboard.IDashboardComponent dashboard,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update a dashboard
|
void delete(String strViewKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strViewKey - The view keyplugin - Pluginvoid insert(View view, fr.paris.lutece.portal.service.plugin.Plugin plugin)
view - The view objectplugin - PluginView load(String strViewKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strViewKey - The view keyplugin - PluginList<View> selectViewsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - Pluginvoid store(View view, fr.paris.lutece.portal.service.plugin.Plugin plugin)
view - The reference of view to be the new oneplugin - PluginList<View> selectViewsByFilter(ViewFilter vFilter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
vFilter - the Filterplugin - Pluginboolean checkExistView(String strKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strKey - The view keyplugin - Pluginfr.paris.lutece.util.ReferenceList getViewsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - PluginList<Profile> selectProfilesListForView(String strViewKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strViewKey - The view Keyplugin - PluginView selectViewForProfile(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 insertProfileForView(String strViewKey, String strProfileKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strViewKey - The view KeystrProfileKey - The profile Keyplugin - Pluginvoid deleteProfiles(String strViewKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strViewKey - The view Keyplugin - Pluginvoid deleteProfileFromView(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> selectDashboards(String strViewKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strViewKey - the view keyplugin - PluginIDashboardComponentfr.paris.lutece.portal.service.dashboard.IDashboardComponent selectDashboard(String strDashboardName, String strViewKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strDashboardName - the dashboard namestrViewKey - the view keyplugin - Pluginvoid insertDashboard(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 deleteDashboards(String strViewKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strViewKey - the view keyplugin - Pluginvoid deleteDashboard(String strViewKey, String strDashboardName, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strViewKey - the view keystrDashboardName - the dashboard nameplugin - Pluginvoid storeDashboard(String strViewKey, fr.paris.lutece.portal.service.dashboard.IDashboardComponent dashboard, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strViewKey - the view keydashboard - the dashboardplugin - Pluginint selectMaxOrder(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - Pluginint selectMaxOrder(int nColumn,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nColumn - the columnplugin - PluginList<Integer> selectColumns(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - PluginList<fr.paris.lutece.portal.service.dashboard.IDashboardComponent> selectDashboardsByFilter(fr.paris.lutece.portal.business.dashboard.DashboardFilter filter, String strViewKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
filter - the filterstrViewKey - the view keyplugin - PluginCopyright © 2022 City of Paris. All rights reserved.