Class UploadInsertServiceJspBean

  • All Implemented Interfaces:
    fr.paris.lutece.portal.web.insert.InsertServiceSelectionBean, java.io.Serializable

    public class UploadInsertServiceJspBean
    extends fr.paris.lutece.portal.web.insert.InsertServiceJspBean
    implements fr.paris.lutece.portal.web.insert.InsertServiceSelectionBean
    UploadInsertServiceJspBean Used for uploading document
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String createDocument​(javax.servlet.http.HttpServletRequest request, fr.paris.lutece.plugins.document.business.Document document)
      creation of a document
      java.lang.String doCreateDocument​(javax.servlet.http.HttpServletRequest request)
      creation of a document
      java.lang.String doCreateImage​(javax.servlet.http.HttpServletRequest request)
      Perform the creation of a document
      java.lang.String doInsertUrl​(javax.servlet.http.HttpServletRequest request)
      Insert the link to the document into the current editor
      java.lang.String doInsertUrl​(javax.servlet.http.HttpServletRequest request, fr.paris.lutece.plugins.document.business.Document document)
      Insert the link to the document into the current editor
      java.lang.String getCreateMedia​(javax.servlet.http.HttpServletRequest request)
      Return the form for creating a document
      java.lang.String getEditSelectedMedia​(javax.servlet.http.HttpServletRequest request, fr.paris.lutece.plugins.document.business.Document document)
      Return the page for edition of the created document
      java.lang.String getInsertServiceSelectorUI​(javax.servlet.http.HttpServletRequest request)
      Get the select type of document page
      java.lang.String getSelectSpace​(javax.servlet.http.HttpServletRequest request)
      Return a page with space for selection
      • Methods inherited from class fr.paris.lutece.portal.web.insert.InsertServiceJspBean

        getSubCategories
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • UploadInsertServiceJspBean

        public UploadInsertServiceJspBean()
    • Method Detail

      • getInsertServiceSelectorUI

        public java.lang.String getInsertServiceSelectorUI​(javax.servlet.http.HttpServletRequest request)
        Get the select type of document page
        Specified by:
        getInsertServiceSelectorUI in interface fr.paris.lutece.portal.web.insert.InsertServiceSelectionBean
        Parameters:
        request - the request
        Returns:
        the page
      • getCreateMedia

        public java.lang.String getCreateMedia​(javax.servlet.http.HttpServletRequest request)
        Return the form for creating a document
        Parameters:
        request - The request
        Returns:
        a form with needed fields
      • getSelectSpace

        public java.lang.String getSelectSpace​(javax.servlet.http.HttpServletRequest request)
        Return a page with space for selection
        Parameters:
        request - the request
        Returns:
        the page
      • createDocument

        public java.lang.String createDocument​(javax.servlet.http.HttpServletRequest request,
                                               fr.paris.lutece.plugins.document.business.Document document)
        creation of a document
        Parameters:
        request - The HTTP request
        Returns:
        The URL to go after performing the action
      • doCreateDocument

        public java.lang.String doCreateDocument​(javax.servlet.http.HttpServletRequest request)
        creation of a document
        Parameters:
        request - The HTTP request
        Returns:
        The URL to go after performing the action
      • doCreateImage

        public java.lang.String doCreateImage​(javax.servlet.http.HttpServletRequest request)
        Perform the creation of a document
        Parameters:
        request - The HTTP request
        Returns:
        The URL to go after performing the action
      • doInsertUrl

        public java.lang.String doInsertUrl​(javax.servlet.http.HttpServletRequest request)
        Insert the link to the document into the current editor
        Parameters:
        request - the request
        Returns:
        the url
      • doInsertUrl

        public java.lang.String doInsertUrl​(javax.servlet.http.HttpServletRequest request,
                                            fr.paris.lutece.plugins.document.business.Document document)
        Insert the link to the document into the current editor
        Parameters:
        request - the request
        document - the document in case of "quick image insertion" without the "media_edition" page
        Returns:
        the url
      • getEditSelectedMedia

        public java.lang.String getEditSelectedMedia​(javax.servlet.http.HttpServletRequest request,
                                                     fr.paris.lutece.plugins.document.business.Document document)
        Return the page for edition of the created document
        Parameters:
        request - the request
        document - the document just created
        Returns:
        the form with document parameters