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:
Serializable

public class XslExportJspBean
extends PluginAdminPageJspBean

class XslExportJspBean

See Also:
Serialized Form

Field Summary
static String RIGHT_MANAGE_XSL_EXPORT
          Right to manage XSL Export
 
Constructor Summary
XslExportJspBean()
           
 
Method Summary
 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
 String doModifyXslExport(javax.servlet.http.HttpServletRequest request)
          Perform the xsl export modification
 String doRemoveXslExport(javax.servlet.http.HttpServletRequest request)
          Perform the export format supression
 String getConfirmRemoveXslExport(javax.servlet.http.HttpServletRequest request)
          Gets the confirmation page of delete xsl export
 String getCreateXslExport(javax.servlet.http.HttpServletRequest request)
          Gets the xsl export creation page
 String getManageXslExport(javax.servlet.http.HttpServletRequest request)
          Return the xsl export management page ( list of export format )
 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, 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_XSL_EXPORT

public static final String RIGHT_MANAGE_XSL_EXPORT
Right to manage XSL Export

See Also:
Constant Field Values
Constructor Detail

XslExportJspBean

public XslExportJspBean()
Method Detail

getManageXslExport

public 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 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 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 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 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 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 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 IOException
Initiate a download of a XSL file

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


Copyright © 2014 Mairie de Paris. All Rights Reserved.