fr.paris.lutece.plugins.selfregistration.web
Class SelfRegistrationApp

java.lang.Object
  extended by fr.paris.lutece.plugins.selfregistration.web.SelfRegistrationApp
All Implemented Interfaces:
fr.paris.lutece.portal.web.xpages.XPageApplication

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

The SelfRegistrationApp classe


Constructor Summary
SelfRegistrationApp()
           
 
Method Summary
 java.lang.String doCreateRegistration(javax.servlet.http.HttpServletRequest request)
          Create an registration
 java.lang.String doModifyRegistration(javax.servlet.http.HttpServletRequest request)
          Modify an registration
 fr.paris.lutece.portal.web.xpages.XPage getCreateRegistration(fr.paris.lutece.portal.web.xpages.XPage page, javax.servlet.http.HttpServletRequest request)
          Get the xpage for create a registration
 fr.paris.lutece.portal.web.xpages.XPage getModifyRegistration(fr.paris.lutece.portal.web.xpages.XPage page, javax.servlet.http.HttpServletRequest request)
          Get the xpage for modify registration
 fr.paris.lutece.portal.web.xpages.XPage getPage(javax.servlet.http.HttpServletRequest request, int nmode, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Get the xpage
 void init(javax.servlet.http.HttpServletRequest request, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Init locale and plugin
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelfRegistrationApp

public SelfRegistrationApp()
Method Detail

init

public void init(javax.servlet.http.HttpServletRequest request,
                 fr.paris.lutece.portal.service.plugin.Plugin plugin)
Init locale and plugin

Parameters:
request - The HTTP request
plugin - The plugin

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.security.UserNotSignedException,
                                                       fr.paris.lutece.portal.service.message.SiteMessageException
Get the xpage

Specified by:
getPage in interface fr.paris.lutece.portal.web.xpages.XPageApplication
Parameters:
request - The HTTP request
nmode - the mode
plugin - The plugin
Returns:
the Xpage
Throws:
fr.paris.lutece.portal.service.security.UserNotSignedException - the user not signed exception
fr.paris.lutece.portal.service.message.SiteMessageException - the site message exception

getCreateRegistration

public fr.paris.lutece.portal.web.xpages.XPage getCreateRegistration(fr.paris.lutece.portal.web.xpages.XPage page,
                                                                     javax.servlet.http.HttpServletRequest request)
Get the xpage for create a registration

Parameters:
page - the xpage
request - the request
Returns:
the xpage

getModifyRegistration

public fr.paris.lutece.portal.web.xpages.XPage getModifyRegistration(fr.paris.lutece.portal.web.xpages.XPage page,
                                                                     javax.servlet.http.HttpServletRequest request)
Get the xpage for modify registration

Parameters:
page - the xpage
request - the request
Returns:
the xpage

doCreateRegistration

public java.lang.String doCreateRegistration(javax.servlet.http.HttpServletRequest request)
Create an registration

Parameters:
request - the http request
Returns:
the URL for redirect

doModifyRegistration

public java.lang.String doModifyRegistration(javax.servlet.http.HttpServletRequest request)
Modify an registration

Parameters:
request - the http request
Returns:
the URL for redirect


Copyright © 2008 Mairie de Paris. All Rights Reserved.