Class UploadInsertServiceJspBean
java.lang.Object
fr.paris.lutece.portal.web.insert.InsertServiceJspBean
fr.paris.lutece.plugins.library.web.UploadInsertServiceJspBean
- All Implemented Interfaces:
fr.paris.lutece.portal.web.insert.InsertServiceSelectionBean,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:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateDocument(javax.servlet.http.HttpServletRequest request, fr.paris.lutece.plugins.document.business.Document document) creation of a documentdoCreateDocument(javax.servlet.http.HttpServletRequest request) creation of a documentdoCreateImage(javax.servlet.http.HttpServletRequest request) Perform the creation of a documentdoInsertUrl(javax.servlet.http.HttpServletRequest request) Insert the link to the document into the current editordoInsertUrl(javax.servlet.http.HttpServletRequest request, fr.paris.lutece.plugins.document.business.Document document) Insert the link to the document into the current editorgetCreateMedia(javax.servlet.http.HttpServletRequest request) Return the form for creating a documentgetEditSelectedMedia(javax.servlet.http.HttpServletRequest request, fr.paris.lutece.plugins.document.business.Document document) Return the page for edition of the created documentgetInsertServiceSelectorUI(javax.servlet.http.HttpServletRequest request) Get the select type of document pagegetSelectSpace(javax.servlet.http.HttpServletRequest request) Return a page with space for selectionMethods inherited from class fr.paris.lutece.portal.web.insert.InsertServiceJspBean
getSubCategories
-
Constructor Details
-
UploadInsertServiceJspBean
public UploadInsertServiceJspBean()
-
-
Method Details
-
getInsertServiceSelectorUI
Get the select type of document page- Specified by:
getInsertServiceSelectorUIin interfacefr.paris.lutece.portal.web.insert.InsertServiceSelectionBean- Parameters:
request- the request- Returns:
- the page
-
getCreateMedia
Return the form for creating a document- Parameters:
request- The request- Returns:
- a form with needed fields
-
getSelectSpace
Return a page with space for selection- Parameters:
request- the request- Returns:
- the page
-
createDocument
public 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
creation of a document- Parameters:
request- The HTTP request- Returns:
- The URL to go after performing the action
-
doCreateImage
Perform the creation of a document- Parameters:
request- The HTTP request- Returns:
- The URL to go after performing the action
-
doInsertUrl
Insert the link to the document into the current editor- Parameters:
request- the request- Returns:
- the url
-
doInsertUrl
public 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 requestdocument- the document in case of "quick image insertion" without the "media_edition" page- Returns:
- the url
-
getEditSelectedMedia
public 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 requestdocument- the document just created- Returns:
- the form with document parameters
-