fr.paris.lutece.portal.web.xsl
Class XslExportJspBean

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.portal.web.xsl.XslExportJspBean
All Implemented Interfaces:
java.io.Serializable

public class XslExportJspBean
extends PluginAdminPageJspBean

class XslExportJspBean

See Also:
Serialized Form

Field Summary
static java.lang.String RIGHT_MANAGE_XSL_EXPORT
           
 
Constructor Summary
XslExportJspBean()
           
 
Method Summary
 java.lang.String doCreateXslExport(javax.servlet.http.HttpServletRequest request)
          Perform the xsl export creation
 void doDownloadXslExport(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Initiate a download of a XSL file
 java.lang.String doModifyXslExport(javax.servlet.http.HttpServletRequest request)
          Perform the xsl export modification
 java.lang.String doRemoveXslExport(javax.servlet.http.HttpServletRequest request)
          Perform the export format supression
 java.lang.String getConfirmRemoveXslExport(javax.servlet.http.HttpServletRequest request)
          Gets the confirmation page of delete xsl export
 java.lang.String getCreateXslExport(javax.servlet.http.HttpServletRequest request)
          Gets the xsl export creation page
 java.lang.String getManageXslExport(javax.servlet.http.HttpServletRequest request)
          Return the xsl export management page ( list of export format )
 java.lang.String getModifyXslExport(javax.servlet.http.HttpServletRequest request)
          Gets the export format modification 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_XSL_EXPORT

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

XslExportJspBean

public XslExportJspBean()
Method Detail

getManageXslExport

public java.lang.String getManageXslExport(javax.servlet.http.HttpServletRequest request)
Return the xsl export management page ( list of export format )

Parameters:
request - The Http request
Returns:
Html of the xsl export management page

getCreateXslExport

public java.lang.String getCreateXslExport(javax.servlet.http.HttpServletRequest request)
                                    throws AccessDeniedException
Gets the xsl export creation page

Parameters:
request - The HTTP request
Returns:
The xsl export creation page
Throws:
AccessDeniedException - the AccessDeniedException

doCreateXslExport

public java.lang.String doCreateXslExport(javax.servlet.http.HttpServletRequest request)
                                   throws AccessDeniedException
Perform the xsl export creation

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

getModifyXslExport

public java.lang.String getModifyXslExport(javax.servlet.http.HttpServletRequest request)
                                    throws AccessDeniedException
Gets the export format modification page

Parameters:
request - The HTTP request
Returns:
The export format creation page
Throws:
AccessDeniedException - the AccessDeniedException

doModifyXslExport

public java.lang.String doModifyXslExport(javax.servlet.http.HttpServletRequest request)
                                   throws AccessDeniedException
Perform the xsl export modification

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

getConfirmRemoveXslExport

public java.lang.String getConfirmRemoveXslExport(javax.servlet.http.HttpServletRequest request)
                                           throws AccessDeniedException
Gets the confirmation page of delete xsl export

Parameters:
request - The HTTP request
Returns:
the confirmation page of delete xsl export
Throws:
AccessDeniedException - the AccessDeniedException

doRemoveXslExport

public java.lang.String doRemoveXslExport(javax.servlet.http.HttpServletRequest request)
                                   throws AccessDeniedException
Perform the export format supression

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

doDownloadXslExport

public void doDownloadXslExport(javax.servlet.http.HttpServletRequest request,
                                javax.servlet.http.HttpServletResponse response)
                         throws java.io.IOException
Initiate a download of a XSL file

Parameters:
request - The request
response - The response
Throws:
java.io.IOException - Throw an exception if the outputstream has error.


Copyright © 2013 Mairie de Paris. All Rights Reserved.