|
||||||||||
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 |
getError404Page(javax.servlet.http.HttpServletRequest request)
Returns the 404 Error page |
String |
getError500Page(javax.servlet.http.HttpServletRequest request,
String strCause)
Returns the 500 Error page |
String |
getError500Page(javax.servlet.http.HttpServletRequest request,
Throwable exception)
Returns the 500 Error page |
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 |
getSiteMessageContent(javax.servlet.http.HttpServletRequest request)
Returns the content of a page according to the parameters found in the http request. |
String |
getSiteMessageContent(javax.servlet.http.HttpServletRequest request,
int nMode)
Returns the content of a page according to the parameters found in the http request. |
String |
getStartUpFailurePage(javax.servlet.http.HttpServletRequest request)
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 String |
sendResource(javax.servlet.http.HttpServletRequest request)
Do send a resource |
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
displayedpublic 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 getSiteMessageContent(javax.servlet.http.HttpServletRequest request)
request
- The http request
public String getSiteMessageContent(javax.servlet.http.HttpServletRequest request, int nMode)
request
- The http requestnMode
- The mode (normal or administration)
public String getStartUpFailurePage(javax.servlet.http.HttpServletRequest request)
request
- The HTTP request
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 String getError404Page(javax.servlet.http.HttpServletRequest request)
request
- The HTTP request
public String getError500Page(javax.servlet.http.HttpServletRequest request, Throwable exception)
request
- The HTTP requestexception
- The Exception
public String getError500Page(javax.servlet.http.HttpServletRequest request, String strCause)
request
- The HTTP requeststrCause
- The message
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 requestpublic static String sendResource(javax.servlet.http.HttpServletRequest request) throws SiteMessageException
request
- The request
SiteMessageException
- If the resource or its associated service is
not found
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |