fr.paris.lutece.plugins.calendar.web
Class CalendarApp

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

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

This class is the main class of the XPage application of the plugin calendar.


Field Summary
static java.lang.String PROPERTY_INVALID_MAIL_ERROR_MESSAGE
           
static java.lang.String PROPERTY_INVALID_MAIL_TITLE_MESSAGE
           
 
Constructor Summary
CalendarApp()
           
 
Method Summary
 java.lang.String doSendToFriend(javax.servlet.http.HttpServletRequest request)
          Send a mail to a friend
 void doSubscription(javax.servlet.http.HttpServletRequest request)
          Performs the subscription process
 void getConfirmUnSubscribe(javax.servlet.http.HttpServletRequest request)
          Performs confirm unsubscription process
 fr.paris.lutece.util.ReferenceList getExportSheetList(javax.servlet.http.HttpServletRequest request, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Return the list of agenda for the template html search
 fr.paris.lutece.util.ReferenceList getListAgenda(javax.servlet.http.HttpServletRequest request, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Return the list of agenda for the template html search
 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 content of the page Contact.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROPERTY_INVALID_MAIL_TITLE_MESSAGE

public static final java.lang.String PROPERTY_INVALID_MAIL_TITLE_MESSAGE
See Also:
Constant Field Values

PROPERTY_INVALID_MAIL_ERROR_MESSAGE

public static final java.lang.String PROPERTY_INVALID_MAIL_ERROR_MESSAGE
See Also:
Constant Field Values
Constructor Detail

CalendarApp

public CalendarApp()
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 content of the page Contact. It is composed by a form which to capture the data to send a message to a contact of the portal.

Specified by:
getPage in interface fr.paris.lutece.portal.web.xpages.XPageApplication
Parameters:
request - The http request
nMode - The current mode
plugin - The plugin object
Returns:
the Content of the page Contact
Throws:
fr.paris.lutece.portal.service.message.SiteMessageException - A message exception treated on front
fr.paris.lutece.portal.service.security.UserNotSignedException

getConfirmUnSubscribe

public void getConfirmUnSubscribe(javax.servlet.http.HttpServletRequest request)
                           throws fr.paris.lutece.portal.service.message.SiteMessageException
Performs confirm unsubscription process

Parameters:
request - The http request
Throws:
fr.paris.lutece.portal.service.message.SiteMessageException - The error message handled by the front office

doSubscription

public void doSubscription(javax.servlet.http.HttpServletRequest request)
                    throws fr.paris.lutece.portal.service.message.SiteMessageException
Performs the subscription process

Parameters:
request - The Http request
Throws:
fr.paris.lutece.portal.service.message.SiteMessageException - The error message thrown to the user

doSendToFriend

public java.lang.String doSendToFriend(javax.servlet.http.HttpServletRequest request)
                                throws fr.paris.lutece.portal.service.message.SiteMessageException
Send a mail to a friend

Parameters:
request - The request
Throws:
fr.paris.lutece.portal.service.message.SiteMessageException

getListAgenda

public fr.paris.lutece.util.ReferenceList getListAgenda(javax.servlet.http.HttpServletRequest request,
                                                        fr.paris.lutece.portal.service.plugin.Plugin plugin)
Return the list of agenda for the template html search


getExportSheetList

public fr.paris.lutece.util.ReferenceList getExportSheetList(javax.servlet.http.HttpServletRequest request,
                                                             fr.paris.lutece.portal.service.plugin.Plugin plugin)
Return the list of agenda for the template html search



Copyright © 2012 Mairie de Paris. All Rights Reserved.