|
||||||||||
| 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.ViewDAO
public class ViewDAO
ViewDAO
| Constructor Summary | |
|---|---|
ViewDAO()
|
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ViewDAO()
| Method Detail |
|---|
public void insert(View view,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface IViewDAOview - The view objectplugin - Plugin
public View load(String strViewKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface IViewDAOstrViewKey - The view keyplugin - Plugin
public void delete(String strViewKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface IViewDAOstrViewKey - The view keyplugin - Plugin
public void store(View view,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface IViewDAOview - The reference of view to be the new oneplugin - Pluginpublic List<View> selectViewsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectViewsList in interface IViewDAOplugin - Plugin
public List<View> selectViewsByFilter(ViewFilter vFilter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectViewsByFilter in interface IViewDAOvFilter - the Filterplugin - Plugin
public boolean checkExistView(String strViewKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
checkExistView in interface IViewDAOstrViewKey - The view keyplugin - Plugin
public fr.paris.lutece.util.ReferenceList getViewsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
getViewsList in interface IViewDAOplugin - Plugin
public List<Profile> selectProfilesListForView(String strViewKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectProfilesListForView in interface IViewDAOstrViewKey - The view Keyplugin - Plugin
public View selectViewForProfile(String strProfileKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectViewForProfile in interface IViewDAOstrProfileKey - the profile keyplugin - Plugin
public boolean hasView(String strProfileKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
hasView in interface IViewDAOstrProfileKey - the profile keyplugin - 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 - Plugin
public void deleteProfiles(String strViewKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
deleteProfiles in interface IViewDAOstrViewKey - The view Keyplugin - Plugin
public void deleteProfileFromView(String strViewKey,
String strProfileKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
deleteProfileFromView in interface IViewDAOstrViewKey - the view keystrProfileKey - the profile keyplugin - Plugin
public 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 - Plugin
IDashboardComponent
public 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 - Plugin
public void deleteDashboard(String strViewKey,
String strDashboardName,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
deleteDashboard in interface IViewDAOstrViewKey - the view keystrDashboardName - the dashboard nameplugin - Plugin
public void deleteDashboards(String strViewKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
deleteDashboards in interface IViewDAOstrViewKey - the view keyplugin - Plugin
public 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 - Plugin
public 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 - Plugin
public int selectMaxOrder(int nColumn,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectMaxOrder in interface IViewDAOnColumn - the columnplugin - Plugin
public List<Integer> selectColumns(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectColumns in interface IViewDAOplugin - Plugin
public 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 - Plugin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||