fr.paris.lutece.plugins.avatarserver.web
Class AvatarServerApp

java.lang.Object
  extended by fr.paris.lutece.portal.util.mvc.xpage.MVCApplication
      extended by fr.paris.lutece.plugins.avatarserver.web.AvatarServerApp
All Implemented Interfaces:
fr.paris.lutece.portal.web.xpages.XPageApplication, Serializable

@Controller(xpageName="avatarserver",
            pageTitleI18nKey="avatarserver.xpage.pageTitle",
            pagePathI18nKey="avatarserver.xpage.pagePath")
public class AvatarServerApp
extends fr.paris.lutece.portal.util.mvc.xpage.MVCApplication

AvatarServer App

See Also:
Serialized Form

Constructor Summary
AvatarServerApp()
           
 
Method Summary
 fr.paris.lutece.portal.web.xpages.XPage doUpdateAvatar(javax.servlet.http.HttpServletRequest request)
          Do update avatar action
 fr.paris.lutece.portal.web.xpages.XPage getUpdateAvatar(javax.servlet.http.HttpServletRequest request)
          Update avatar view
 
Methods inherited from class fr.paris.lutece.portal.util.mvc.xpage.MVCApplication
addError, addError, addInfo, addInfo, download, download, fillCommons, getActionFullUrl, getActionUrl, getDefaultPagePath, getDefaultPageTitle, getLocale, getModel, getPage, getViewFullUrl, getViewUrl, getXPage, getXPage, getXPage, getXPage, getXPageName, populate, redirect, redirect, redirect, redirect, redirectMessageBox, redirectView, validateBean, validateBean
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AvatarServerApp

public AvatarServerApp()
Method Detail

getUpdateAvatar

@View(value="home",
      defaultView=true)
public fr.paris.lutece.portal.web.xpages.XPage getUpdateAvatar(javax.servlet.http.HttpServletRequest request)
                                                        throws fr.paris.lutece.portal.service.security.UserNotSignedException,
                                                               IllegalAccessException,
                                                               IllegalArgumentException,
                                                               InvocationTargetException
Update avatar view

Parameters:
request - The HTTP request
Returns:
The XPage
Throws:
fr.paris.lutece.portal.service.security.UserNotSignedException - if the user is not signed
IllegalAccessException - if an error occurs
IllegalArgumentException - if an error occurs
InvocationTargetException - if an error occurs

doUpdateAvatar

@Action(value="updateAvatar")
public fr.paris.lutece.portal.web.xpages.XPage doUpdateAvatar(javax.servlet.http.HttpServletRequest request)
                                                       throws fr.paris.lutece.portal.service.security.UserNotSignedException
Do update avatar action

Parameters:
request - The HTTP request
Returns:
The next XPage
Throws:
fr.paris.lutece.portal.service.security.UserNotSignedException


Copyright © 2014 Mairie de Paris. All Rights Reserved.