fr.paris.lutece.plugins.document.modules.calendar.web
Class DocumentToCalendarJspBean

java.lang.Object
  extended by fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean
      extended by fr.paris.lutece.portal.web.admin.PluginAdminPageJspBean
          extended by fr.paris.lutece.plugins.document.modules.calendar.web.DocumentToCalendarJspBean

public class DocumentToCalendarJspBean
extends fr.paris.lutece.portal.web.admin.PluginAdminPageJspBean

This class provides the user interface to manage DocumentToCalendarJspBean


Field Summary
static java.lang.String RIGHT_MANAGE_DOCUMENTTOCALENDAR
           
 
Constructor Summary
DocumentToCalendarJspBean()
           
 
Method Summary
 java.lang.String doCreateMapping(javax.servlet.http.HttpServletRequest request)
          Perform the mapping creation
 void doManageCreateEvent(javax.servlet.http.HttpServletRequest request)
          Manage the files document before create event
 java.lang.String doModifyMapping(javax.servlet.http.HttpServletRequest request)
          Perform the mapping modification
 java.lang.String doModifyMappingAttribute(javax.servlet.http.HttpServletRequest request)
          Perform the mapping attribute modification
 java.lang.String doRemoveMapping(javax.servlet.http.HttpServletRequest request)
          Perform the deletion
 java.lang.String doSelectCalendar(javax.servlet.http.HttpServletRequest request)
          Perform the calendar selection
 java.lang.String getConfirmRemoveMapping(javax.servlet.http.HttpServletRequest request)
          Returns the page of confirmation for deleting a mapping
 java.lang.String getCreateEvent(javax.servlet.http.HttpServletRequest request)
          Returns the Event creation form
 java.lang.String getCreateMapping(javax.servlet.http.HttpServletRequest request)
          Gets the mapping creation page
 void getFile(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Processes requests for both HTTP GET and POST methods.
 fr.paris.lutece.util.ReferenceList getIntervalList(javax.servlet.http.HttpServletRequest request)
          Return the list of time intervals declared in properties file
 java.lang.String getManageDocumentToCalendar(javax.servlet.http.HttpServletRequest request)
          Gets the main mapping management page
 java.lang.String getModifyMapping(javax.servlet.http.HttpServletRequest request)
          Gets the mapping modification page
 java.lang.String getModifyMappingAttribute(javax.servlet.http.HttpServletRequest request)
          Gets the mapping attribute modification page
 java.lang.String getSelectCalendar(javax.servlet.http.HttpServletRequest request)
          Gets the cfalendar selection page
 
Methods inherited from class fr.paris.lutece.portal.web.admin.PluginAdminPageJspBean
getPlugin, init
 
Methods inherited from class fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean
getAdminPage, getFeatureIcon, getHomeUrl, getLocale, getPageTitle, getUser, populate, setFeatureIcon, setPageTitleProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RIGHT_MANAGE_DOCUMENTTOCALENDAR

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

DocumentToCalendarJspBean

public DocumentToCalendarJspBean()
Method Detail

getManageDocumentToCalendar

public java.lang.String getManageDocumentToCalendar(javax.servlet.http.HttpServletRequest request)
Gets the main mapping management page

Parameters:
request - The HTTP request
Returns:
The mapping creation page

getConfirmRemoveMapping

public java.lang.String getConfirmRemoveMapping(javax.servlet.http.HttpServletRequest request)
Returns the page of confirmation for deleting a mapping

Parameters:
request - The Http Request
Returns:
the confirmation url

doRemoveMapping

public java.lang.String doRemoveMapping(javax.servlet.http.HttpServletRequest request)
Perform the deletion

Parameters:
request - The HTTP request
Returns:
The URL to go after performing the action

getCreateMapping

public java.lang.String getCreateMapping(javax.servlet.http.HttpServletRequest request)
Gets the mapping creation page

Parameters:
request - The HTTP request
Returns:
The mapping creation page

doCreateMapping

public java.lang.String doCreateMapping(javax.servlet.http.HttpServletRequest request)
Perform the mapping creation

Parameters:
request - The HTTP request
Returns:
The URL to go after performing the action

getModifyMapping

public java.lang.String getModifyMapping(javax.servlet.http.HttpServletRequest request)
Gets the mapping modification page

Parameters:
request - The HTTP request
Returns:
The mapping modification page

doModifyMapping

public java.lang.String doModifyMapping(javax.servlet.http.HttpServletRequest request)
Perform the mapping modification

Parameters:
request - The HTTP request
Returns:
The URL to go after performing the action

getModifyMappingAttribute

public java.lang.String getModifyMappingAttribute(javax.servlet.http.HttpServletRequest request)
Gets the mapping attribute modification page

Parameters:
request - The HTTP request
Returns:
The mapping creation page

doModifyMappingAttribute

public java.lang.String doModifyMappingAttribute(javax.servlet.http.HttpServletRequest request)
Perform the mapping attribute modification

Parameters:
request - The HTTP request
Returns:
The URL to go after performing the action

getSelectCalendar

public java.lang.String getSelectCalendar(javax.servlet.http.HttpServletRequest request)
Gets the cfalendar selection page

Parameters:
request - The HTTP request
Returns:
The mapping creation page

doSelectCalendar

public java.lang.String doSelectCalendar(javax.servlet.http.HttpServletRequest request)
Perform the calendar selection

Parameters:
request - The HTTP request
Returns:
The URL to go after performing the action

getCreateEvent

public java.lang.String getCreateEvent(javax.servlet.http.HttpServletRequest request)
Returns the Event creation form

Parameters:
request - The Http request
Returns:
Html creation form

doManageCreateEvent

public void doManageCreateEvent(javax.servlet.http.HttpServletRequest request)
Manage the files document before create event

Parameters:
request - The HTTP request

getIntervalList

public fr.paris.lutece.util.ReferenceList getIntervalList(javax.servlet.http.HttpServletRequest request)
Return the list of time intervals declared in properties file

Parameters:
request - The HttpRequest
Returns:
A ReferenceList of time interval

getFile

public void getFile(javax.servlet.http.HttpServletRequest request,
                    javax.servlet.http.HttpServletResponse response)
             throws java.io.IOException
Processes requests for both HTTP GET and POST methods. Load the document file whose identifier is specified in request

Parameters:
request - servlet request
response - servlet response*
Throws:
java.io.IOException - the io exception


Copyright © 2012 Mairie de Paris. All Rights Reserved.