fr.paris.lutece.plugins.quiz.modules.games.web
Class RandApp

java.lang.Object
  extended by fr.paris.lutece.plugins.quiz.modules.games.web.RandApp
All Implemented Interfaces:
fr.paris.lutece.portal.web.xpages.XPageApplication

public class RandApp
extends java.lang.Object
implements fr.paris.lutece.portal.web.xpages.XPageApplication

This class manages Rand page.


Constructor Summary
RandApp()
           
 
Method Summary
 fr.paris.lutece.portal.web.xpages.XPage getPage(javax.servlet.http.HttpServletRequest request, int nMode, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Returns the Quiz XPage content depending on the request parameters and the current mode.
protected  fr.paris.lutece.portal.service.security.LuteceUser getUser(javax.servlet.http.HttpServletRequest request)
          Return authified user and throw technical exception if no user auth found
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RandApp

public RandApp()
Method Detail

getPage

public fr.paris.lutece.portal.web.xpages.XPage getPage(javax.servlet.http.HttpServletRequest request,
                                                       int nMode,
                                                       fr.paris.lutece.portal.service.plugin.Plugin plugin)
                                                throws fr.paris.lutece.portal.service.message.SiteMessageException,
                                                       fr.paris.lutece.portal.service.security.UserNotSignedException
Returns the Quiz XPage content depending on the request parameters and the current mode.

Specified by:
getPage in interface fr.paris.lutece.portal.web.xpages.XPageApplication
Parameters:
request - The HTTP request.
nMode - The current mode.
plugin - The Plugin
Returns:
The page content.
Throws:
fr.paris.lutece.portal.service.message.SiteMessageException - Message displayed if an exception occures
fr.paris.lutece.portal.service.security.UserNotSignedException

getUser

protected fr.paris.lutece.portal.service.security.LuteceUser getUser(javax.servlet.http.HttpServletRequest request)
                                                              throws fr.paris.lutece.portal.service.security.UserNotSignedException
Return authified user and throw technical exception if no user auth found

Parameters:
request - http request
Returns:
user lutece
Throws:
fr.paris.lutece.portal.service.security.UserNotSignedException


Copyright © 2012 Mairie de Paris. All Rights Reserved.