Class Files2DocsJspBean

java.lang.Object
fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean
fr.paris.lutece.portal.web.admin.PluginAdminPageJspBean
fr.paris.lutece.plugins.files2docs.web.Files2DocsJspBean
All Implemented Interfaces:
Serializable

public class Files2DocsJspBean extends fr.paris.lutece.portal.web.admin.PluginAdminPageJspBean
Files2Docs JSP Bean class
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    doCreateDocuments(javax.servlet.http.HttpServletRequest request)
    Performs the fields validation and creates documents
    doCreateSpace(javax.servlet.http.HttpServletRequest request)
    Perform the space creation
    doSelectFiles(javax.servlet.http.HttpServletRequest request)
    Performs the selection of the document type and destination space
    getCreateDocuments(javax.servlet.http.HttpServletRequest request)
    Gets the create document(s) form(s) page
    getImportResult(javax.servlet.http.HttpServletRequest request)
    Gets the import result page
    getJsonResponse(javax.servlet.http.HttpServletRequest request, String fileName, long fileLength)
    return a JSON report
    getSelectFiles(javax.servlet.http.HttpServletRequest request)
    Gets the selection of the document type, files and destination space page
    upload(javax.servlet.http.HttpServletRequest request)
    Performs the upload of selected files

    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, setFeatureGroup, setFeatureIcon, setPageTitleProperty, validate, validate, validate

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • Files2DocsJspBean

      public Files2DocsJspBean()
      Constructor
  • Method Details

    • getSelectFiles

      public String getSelectFiles(javax.servlet.http.HttpServletRequest request)
      Gets the selection of the document type, files and destination space page
      Parameters:
      request - The HTTP request
      Returns:
      The selection of the document type, files and destination space page
    • doCreateSpace

      public String doCreateSpace(javax.servlet.http.HttpServletRequest request)
      Perform the space creation
      Parameters:
      request - The HTTP request
      Returns:
      The Feature Home Page
    • doSelectFiles

      public String doSelectFiles(javax.servlet.http.HttpServletRequest request)
      Performs the selection of the document type and destination space
      Parameters:
      request - The HTTP request
      Returns:
      The URL to go after performing the action
    • upload

      public String upload(javax.servlet.http.HttpServletRequest request)
      Performs the upload of selected files
      Parameters:
      request - The HTTP request
      Returns:
      null if the upload is complete, otherwise an error message
    • getJsonResponse

      public String getJsonResponse(javax.servlet.http.HttpServletRequest request, String fileName, long fileLength)
      return a JSON report
      Parameters:
      request - The HTTP request
      String - the name of the uploaded file
      long - the length of the file
      Returns:
      The json result
    • getCreateDocuments

      public String getCreateDocuments(javax.servlet.http.HttpServletRequest request)
      Gets the create document(s) form(s) page
      Parameters:
      request - The HTTP request
      Returns:
      The create document(s) form(s) page
    • doCreateDocuments

      public String doCreateDocuments(javax.servlet.http.HttpServletRequest request)
      Performs the fields validation and creates documents
      Parameters:
      request - The HTTP request
      Returns:
      The URL to go after performing the action
    • getImportResult

      public String getImportResult(javax.servlet.http.HttpServletRequest request)
      Gets the import result page
      Parameters:
      request - The HTTP request
      Returns:
      The import result page