|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.myportal.service.MyPortalPageService
public final class MyPortalPageService
MyPortalPageService
| Method Summary | |
|---|---|
void |
addTab(fr.paris.lutece.portal.service.security.LuteceUser user,
java.lang.String strTabName)
Add a new tab to the given user |
void |
addWidget(fr.paris.lutece.portal.service.security.LuteceUser user,
int nIdWidget,
int nTabIndex,
int nColumn)
Add a widget to a page of an user |
void |
delTab(fr.paris.lutece.portal.service.security.LuteceUser user,
int nIdTab)
del tab name |
void |
editTab(fr.paris.lutece.portal.service.security.LuteceUser user,
java.lang.String strTabNewName,
int nIdTab)
change tab name |
void |
editWidget(fr.paris.lutece.portal.service.security.LuteceUser user,
int nIdTab,
int nIdWidget,
int nColumn)
Edit a widget |
static MyPortalPageService |
getInstance()
Get the instance of MyPortalPageService |
java.util.List<TabConfig> |
getTabList(fr.paris.lutece.portal.service.security.LuteceUser user)
Get the list of tabs of the given user |
java.lang.String |
getUserPage(fr.paris.lutece.portal.service.security.LuteceUser user,
javax.servlet.http.HttpServletRequest request)
Gets the page for a given user |
void |
removeWidget(fr.paris.lutece.portal.service.security.LuteceUser user,
int nIdWidget)
Remove a widget from an user's page |
void |
setPageConfigUser(fr.paris.lutece.portal.service.security.LuteceUser usr,
java.lang.String strUserPageConfig)
Set a page config to the given user |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static MyPortalPageService getInstance()
public java.lang.String getUserPage(fr.paris.lutece.portal.service.security.LuteceUser user,
javax.servlet.http.HttpServletRequest request)
user - The userrequest - HttpServletRequest
public void addWidget(fr.paris.lutece.portal.service.security.LuteceUser user,
int nIdWidget,
int nTabIndex,
int nColumn)
user - The usernIdWidget - The widget IDnTabIndex - The tab indexnColumn - The column
public void removeWidget(fr.paris.lutece.portal.service.security.LuteceUser user,
int nIdWidget)
user - The usernIdWidget - The widget ID
public void setPageConfigUser(fr.paris.lutece.portal.service.security.LuteceUser usr,
java.lang.String strUserPageConfig)
usr - the LuteceUserstrUserPageConfig - the user page configpublic java.util.List<TabConfig> getTabList(fr.paris.lutece.portal.service.security.LuteceUser user)
user - the LuteceUser
TabConfig
public void addTab(fr.paris.lutece.portal.service.security.LuteceUser user,
java.lang.String strTabName)
user - the LuteceUserstrTabName - the name of the new tab
public void editTab(fr.paris.lutece.portal.service.security.LuteceUser user,
java.lang.String strTabNewName,
int nIdTab)
user - the LuteceUserstrTabNewName - the new name of the tabnIdTab - the id tab
public void delTab(fr.paris.lutece.portal.service.security.LuteceUser user,
int nIdTab)
user - the LuteceUsernIdTab - the id tab
public void editWidget(fr.paris.lutece.portal.service.security.LuteceUser user,
int nIdTab,
int nIdWidget,
int nColumn)
user - the LuteceUsernIdTab - the ID tabnIdWidget - the ID widgetnColumn - the column
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||