| Constructor and Description |
|---|
ViewDAO() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkExistView(String strViewKey,
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
|
public void insert(View view, fr.paris.lutece.portal.service.plugin.Plugin plugin)
public View load(String strViewKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
public void delete(String strViewKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
public void store(View view, fr.paris.lutece.portal.service.plugin.Plugin plugin)
public List<View> selectViewsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectViewsList in interface IViewDAOplugin - Pluginpublic List<View> selectViewsByFilter(ViewFilter vFilter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectViewsByFilter in interface IViewDAOvFilter - the Filterplugin - Pluginpublic boolean checkExistView(String strViewKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
checkExistView in interface IViewDAOstrViewKey - The view keyplugin - Pluginpublic fr.paris.lutece.util.ReferenceList getViewsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
getViewsList in interface IViewDAOplugin - Pluginpublic List<Profile> selectProfilesListForView(String strViewKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectProfilesListForView in interface IViewDAOstrViewKey - The view Keyplugin - Pluginpublic View selectViewForProfile(String strProfileKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectViewForProfile in interface IViewDAOstrProfileKey - the profile keyplugin - Pluginpublic boolean hasView(String strProfileKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
public void insertProfileForView(String strViewKey, String strProfileKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insertProfileForView in interface IViewDAOstrViewKey - The view KeystrProfileKey - The profile Keyplugin - Pluginpublic void deleteProfiles(String strViewKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
deleteProfiles in interface IViewDAOstrViewKey - The view Keyplugin - Pluginpublic void deleteProfileFromView(String strViewKey, String strProfileKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
deleteProfileFromView in interface IViewDAOstrViewKey - the view keystrProfileKey - the profile keyplugin - Pluginpublic List<fr.paris.lutece.portal.service.dashboard.IDashboardComponent> selectDashboards(String strViewKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectDashboards in interface IViewDAOstrViewKey - the view keyplugin - PluginIDashboardComponentpublic fr.paris.lutece.portal.service.dashboard.IDashboardComponent selectDashboard(String strDashboardName, String strViewKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectDashboard in interface IViewDAOstrDashboardName - the dashboard namestrViewKey - the view keyplugin - Pluginpublic void deleteDashboard(String strViewKey, String strDashboardName, fr.paris.lutece.portal.service.plugin.Plugin plugin)
deleteDashboard in interface IViewDAOstrViewKey - the view keystrDashboardName - the dashboard nameplugin - Pluginpublic void deleteDashboards(String strViewKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
deleteDashboards in interface IViewDAOstrViewKey - the view keyplugin - Pluginpublic void insertDashboard(String strViewKey, fr.paris.lutece.portal.service.dashboard.IDashboardComponent dashboard, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insertDashboard in interface IViewDAOstrViewKey - the view keydashboard - the dashboardplugin - Pluginpublic void storeDashboard(String strViewKey, fr.paris.lutece.portal.service.dashboard.IDashboardComponent dashboard, fr.paris.lutece.portal.service.plugin.Plugin plugin)
storeDashboard in interface IViewDAOstrViewKey - the view keydashboard - the dashboardplugin - Pluginpublic int selectMaxOrder(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectMaxOrder in interface IViewDAOplugin - Pluginpublic int selectMaxOrder(int nColumn,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectMaxOrder in interface IViewDAOnColumn - the columnplugin - Pluginpublic List<Integer> selectColumns(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectColumns in interface IViewDAOplugin - Pluginpublic 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)
selectDashboardsByFilter in interface IViewDAOfilter - the filterstrViewKey - the view keyplugin - PluginCopyright © 2015 City of Paris. All rights reserved.