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 doUnSubscribe(javax.servlet.http.HttpServletRequest request)
          Performs 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
 java.util.List<AgendaResource> getListEvents(javax.servlet.http.HttpServletRequest request)
          Returns the list of agenda resources which can be managed by a an identified user
 java.lang.String getManageEvents(javax.servlet.http.HttpServletRequest request)
          Returns events management popup
 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
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

getManageEvents

public java.lang.String getManageEvents(javax.servlet.http.HttpServletRequest request)
Returns events management popup

Parameters:
request - The Http request
Returns:
Html form

getListEvents

public java.util.List<AgendaResource> getListEvents(javax.servlet.http.HttpServletRequest request)
Returns the list of agenda resources which can be managed by a an identified user

Parameters:
request - The Http request
Returns:
A list of agenda resources

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

doUnSubscribe

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

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

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 © 2010 Mairie de Paris. All Rights Reserved.