|
||||||||||
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 | |
---|---|
java.lang.String |
getContent(javax.servlet.http.HttpServletRequest request)
Returns the content of a page according to the parameters found in the http request. |
java.lang.String |
getContent(javax.servlet.http.HttpServletRequest request,
int nMode)
Returns the content of a page according to the parameters found in the http request. |
java.lang.String |
getCredits(javax.servlet.http.HttpServletRequest request)
Returns the code for the popup of the credits |
java.lang.String |
getLegalInfos(javax.servlet.http.HttpServletRequest request)
Returns the code for the popup of the legal infos |
static java.lang.String |
getLoginNextUrl(javax.servlet.http.HttpServletRequest request)
Returns the url (asked before login) to redirect after login |
java.lang.String |
getStartUpFailurePage()
Returns the code for the popup of the credits |
static java.lang.String |
getUploadFilterSiteNextUrl(javax.servlet.http.HttpServletRequest request)
Get the upload filter site next url |
static java.lang.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 java.lang.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 displayedpublic java.lang.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 java.lang.String getStartUpFailurePage()
public java.lang.String getCredits(javax.servlet.http.HttpServletRequest request)
request
- The Http Request
public java.lang.String getLegalInfos(javax.servlet.http.HttpServletRequest request)
request
- The Http Request
public static java.lang.String redirectLogin(javax.servlet.http.HttpServletRequest request)
request
- The HTTP request
public static java.lang.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 java.lang.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 |