|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object olr.presentation.ExtendedHttpPresentation olr.presentation.SecureHttpPresentation olr.presentation.Welcome2
Constructor Summary | |
Welcome2()
Initializes an instance of this class. |
Method Summary | |
java.lang.String |
handleAdmin()
Displays the OLR adminstration main page. |
java.lang.String |
handleAuthor()
Handles the Admin event. |
java.lang.String |
handleDefault()
Called upon page request. |
java.lang.String |
handleReader()
Displays the start page for readers. |
java.lang.String |
handleStart()
|
java.lang.String |
showPage()
|
java.lang.String |
showPage(boolean author)
Shows this page in athor mode without any error message. |
java.lang.String |
showPage(java.lang.String errorMsg)
Shows this page in reader mode. |
java.lang.String |
showPage(java.lang.String errorMsg,
boolean author)
|
Methods inherited from class olr.presentation.SecureHttpPresentation |
loggedInUserRequired |
Methods inherited from class olr.presentation.ExtendedHttpPresentation |
checkForUserLogin, clearSession, getApplication, getComms, getPageContentForEvent, getSessionData, getUser, handleEvent, initSessionData, run, setUser |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Welcome2()
Method Detail |
public java.lang.String handleDefault() throws com.lutris.appserver.server.httpPresentation.HttpPresentationException
ExtendedHttpPresentation
handleDefault
in class ExtendedHttpPresentation
com.lutris.appserver.server.httpPresentation.HttpPresentationException
ExtendedHttpPresentation.handleDefault()
public java.lang.String handleAuthor() throws com.lutris.appserver.server.httpPresentation.HttpPresentationException
com.lutris.appserver.server.httpPresentation.HttpPresentationException
public java.lang.String handleAdmin() throws com.lutris.appserver.server.httpPresentation.HttpPresentationException
com.lutris.appserver.server.httpPresentation.HttpPresentationException
public java.lang.String handleReader() throws com.lutris.appserver.server.httpPresentation.HttpPresentationException
com.lutris.appserver.server.httpPresentation.HttpPresentationException
public java.lang.String handleStart() throws com.lutris.appserver.server.httpPresentation.HttpPresentationException
com.lutris.appserver.server.httpPresentation.HttpPresentationException
public java.lang.String showPage()
showPage(String)
public java.lang.String showPage(java.lang.String errorMsg)
errorMsg
- Optional error message to display.
public java.lang.String showPage(boolean author)
author
-
showPage(String, boolean)
public java.lang.String showPage(java.lang.String errorMsg, boolean author)
errorMsg
- An optional error message to dispaly. May be null
.author
- Weahter the current user is an author or not.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |