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
All Implemented Interfaces:
Serializable

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

This class provides the user interface to manage DocumentToCalendarJspBean

See Also:
Serialized Form

Field Summary
static String RIGHT_MANAGE_DOCUMENTTOCALENDAR
           
 
Constructor Summary
DocumentToCalendarJspBean()
           
 
Method Summary
 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
 String doModifyMapping(javax.servlet.http.HttpServletRequest request)
          Perform the mapping modification
 String doModifyMappingAttribute(javax.servlet.http.HttpServletRequest request)
          Perform the mapping attribute modification
 String doRemoveMapping(javax.servlet.http.HttpServletRequest request)
          Perform the deletion
 String doSelectCalendar(javax.servlet.http.HttpServletRequest request)
          Perform the calendar selection
 String getConfirmRemoveMapping(javax.servlet.http.HttpServletRequest request)
          Returns the page of confirmation for deleting a mapping
 String getCreateEvent(javax.servlet.http.HttpServletRequest request)
          Returns the Event creation form
 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
 String getManageDocumentToCalendar(javax.servlet.http.HttpServletRequest request)
          Gets the main mapping management page
 String getModifyMapping(javax.servlet.http.HttpServletRequest request)
          Gets the mapping modification page
 String getModifyMappingAttribute(javax.servlet.http.HttpServletRequest request)
          Gets the mapping attribute modification page
 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, validate, validate, validate
 
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 String RIGHT_MANAGE_DOCUMENTTOCALENDAR
See Also:
Constant Field Values
Constructor Detail

DocumentToCalendarJspBean

public DocumentToCalendarJspBean()
Method Detail

getManageDocumentToCalendar

public 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 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 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 String getCreateMapping(javax.servlet.http.HttpServletRequest request)
Gets the mapping creation page

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

doCreateMapping

public 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 String getModifyMapping(javax.servlet.http.HttpServletRequest request)
Gets the mapping modification page

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

doModifyMapping

public 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 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 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 String getSelectCalendar(javax.servlet.http.HttpServletRequest request)
Gets the cfalendar selection page

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

doSelectCalendar

public 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 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 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:
IOException - the io exception


Copyright © 2014 Mairie de Paris. All Rights Reserved.