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.


Constructor Summary
CalendarApp()
           
 
Method Summary
 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
 

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


Copyright © 2007 Mairie de Paris. All Rights Reserved.