|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.portal.web.PortalJspBean
public class PortalJspBean
This class provides the methods to display the page of the site
| Field Summary | |
|---|---|
static int |
MODE_ADMIN
|
static int |
MODE_HTML
|
| Constructor Summary | |
|---|---|
PortalJspBean()
|
|
| Method Summary | |
|---|---|
String |
getContent(javax.servlet.http.HttpServletRequest request)
Returns the content of a page according to the parameters found in the http request. |
String |
getContent(javax.servlet.http.HttpServletRequest request,
int nMode)
Returns the content of a page according to the parameters found in the http request. |
String |
getCredits(javax.servlet.http.HttpServletRequest request)
Returns the code for the popup of the credits |
String |
getLegalInfos(javax.servlet.http.HttpServletRequest request)
Returns the code for the popup of the legal infos |
static String |
getLoginNextUrl(javax.servlet.http.HttpServletRequest request)
Returns the url (asked before login) to redirect after login |
String |
getStartUpFailurePage()
Returns the code for the popup of the credits |
static String |
getUploadFilterSiteNextUrl(javax.servlet.http.HttpServletRequest request)
Get the upload filter site next url |
static String |
redirectLogin(javax.servlet.http.HttpServletRequest request)
This method is called by Portal.jsp when it caught an UserNotSignedException. |
static void |
removeUploadFilterSiteNextUrl(javax.servlet.http.HttpServletRequest request)
Remove the upload filter next url from the session |
static void |
setUploadFilterSiteNextUrl(javax.servlet.http.HttpServletRequest request)
Set the upload filter site next url |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int MODE_HTML
public static final int MODE_ADMIN
| Constructor Detail |
|---|
public PortalJspBean()
| Method Detail |
|---|
public String getContent(javax.servlet.http.HttpServletRequest request)
throws UserNotSignedException,
SiteMessageException
request - The http request
UserNotSignedException - The UserNotSignedException
SiteMessageException - occurs when a site message need to be displayed
public String getContent(javax.servlet.http.HttpServletRequest request,
int nMode)
throws UserNotSignedException,
SiteMessageException
request - The http requestnMode - The mode (normal or administration)
UserNotSignedException - The UserNotSignedException
SiteMessageException - occurs when a site message need to be displayedpublic String getStartUpFailurePage()
public String getCredits(javax.servlet.http.HttpServletRequest request)
request - The Http Request
public String getLegalInfos(javax.servlet.http.HttpServletRequest request)
request - The Http Request
public static String redirectLogin(javax.servlet.http.HttpServletRequest request)
request - The HTTP request
public static String getLoginNextUrl(javax.servlet.http.HttpServletRequest request)
request - The Http request
public static void setUploadFilterSiteNextUrl(javax.servlet.http.HttpServletRequest request)
request - the HTTP requestpublic static String getUploadFilterSiteNextUrl(javax.servlet.http.HttpServletRequest request)
request - the HTTP request
public static void removeUploadFilterSiteNextUrl(javax.servlet.http.HttpServletRequest request)
request - the HTTP request
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||