|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.mydashboard.service.MyDashboardService
public final class MyDashboardService
Dashboard Service
| Method Summary | |
|---|---|
void |
deleteConfigByUser(fr.paris.lutece.portal.service.security.LuteceUser user)
Delete a user configuration from its user, and reset the list of configurations saved in session if any |
List<IMyDashboardComponent> |
getDashboardComponentListFromUser(fr.paris.lutece.portal.service.security.LuteceUser user)
Get the list of dash boards components associated with a given configuration id. |
static MyDashboardService |
getInstance()
Return the unique instance |
List<IMyDashboardComponent> |
getMyDashboardComponentsList(fr.paris.lutece.portal.service.security.LuteceUser user)
Get the list of MyDashboardComponent that are available for a given user |
List<MyDashboardConfiguration> |
getUserConfig(fr.paris.lutece.portal.service.security.LuteceUser user)
Get the list of MyDashboardConfiguration associated with a given user |
String |
getUserConfigId(fr.paris.lutece.portal.service.security.LuteceUser user)
Get the id of the dashboard configuration associated with a user |
void |
updateConfig(MyDashboardConfiguration myDashboardsConfig,
boolean bCleanCache)
Update a dashboard configuration |
void |
updateConfigList(List<MyDashboardConfiguration> listMyDashboardsConfig)
Update a list of configuration |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static MyDashboardService getInstance()
public List<IMyDashboardComponent> getMyDashboardComponentsList(fr.paris.lutece.portal.service.security.LuteceUser user)
user - The user
public String getUserConfigId(fr.paris.lutece.portal.service.security.LuteceUser user)
user - The user to get the id of the dashboard configuration
of
public List<MyDashboardConfiguration> getUserConfig(fr.paris.lutece.portal.service.security.LuteceUser user)
user - The user to get the configurations of
public List<IMyDashboardComponent> getDashboardComponentListFromUser(fr.paris.lutece.portal.service.security.LuteceUser user)
user - The user to get the dash board components of
public void deleteConfigByUser(fr.paris.lutece.portal.service.security.LuteceUser user)
user - The user to remove the configuration of
public void updateConfig(MyDashboardConfiguration myDashboardsConfig,
boolean bCleanCache)
myDashboardsConfig - The configuration to updatebCleanCache - True to update the dashboard configuration cache,
false otherwisepublic void updateConfigList(List<MyDashboardConfiguration> listMyDashboardsConfig)
listMyDashboardsConfig - The list of configuration to update
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||