Class DocumentServiceJspBean
- java.lang.Object
-
- fr.paris.lutece.portal.web.insert.InsertServiceJspBean
-
- fr.paris.lutece.plugins.document.web.DocumentServiceJspBean
-
- All Implemented Interfaces:
fr.paris.lutece.portal.web.insert.InsertServiceSelectionBean,java.io.Serializable
public class DocumentServiceJspBean extends fr.paris.lutece.portal.web.insert.InsertServiceJspBean implements fr.paris.lutece.portal.web.insert.InsertServiceSelectionBeanThis class provides the user interface to insert a link to a document- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DocumentServiceJspBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringdoInsertUrl(javax.servlet.http.HttpServletRequest request)Insert the specified url into HTML contentjava.lang.StringdoSelectPage(javax.servlet.http.HttpServletRequest request)Select and validate the specified Pagejava.lang.StringdoSelectPortlet(javax.servlet.http.HttpServletRequest request)Select and validate the specified Portletjava.lang.StringgetInsertServiceSelectorUI(javax.servlet.http.HttpServletRequest request)Entry point of the insert servicejava.lang.StringgetSelectDocument(javax.servlet.http.HttpServletRequest request)Return the html form for document selection.java.lang.StringgetSelectPage(javax.servlet.http.HttpServletRequest request)Return the html form for page selection.java.lang.StringgetSelectPortlet(javax.servlet.http.HttpServletRequest request)Return the html form for portlet selection.fr.paris.lutece.util.ReferenceListgetSubCategories()java.lang.StringgetTypeFilter()Gets the filter for the document type.voidinit(javax.servlet.http.HttpServletRequest request)Initialize datavoidsetTypeFilter(java.lang.String strTypeFilter)Sets the filter for the document type.
-
-
-
Method Detail
-
init
public void init(javax.servlet.http.HttpServletRequest request)
Initialize data- Parameters:
request- The HTTP request
-
getSubCategories
public fr.paris.lutece.util.ReferenceList getSubCategories()
- Overrides:
getSubCategoriesin classfr.paris.lutece.portal.web.insert.InsertServiceJspBean
-
getInsertServiceSelectorUI
public java.lang.String getInsertServiceSelectorUI(javax.servlet.http.HttpServletRequest request)
Entry point of the insert service- Specified by:
getInsertServiceSelectorUIin interfacefr.paris.lutece.portal.web.insert.InsertServiceSelectionBean- Parameters:
request- The Http Request- Returns:
- The html form.
-
getSelectPage
public java.lang.String getSelectPage(javax.servlet.http.HttpServletRequest request)
Return the html form for page selection.- Parameters:
request- The HTTP request- Returns:
- The html form of the page selection page
-
doSelectPage
public java.lang.String doSelectPage(javax.servlet.http.HttpServletRequest request)
Select and validate the specified Page- Parameters:
request- The http request- Returns:
- The url of the portlet selection page
-
getSelectPortlet
public java.lang.String getSelectPortlet(javax.servlet.http.HttpServletRequest request)
Return the html form for portlet selection.- Parameters:
request- The HTTP request- Returns:
- The html form of the portlet selection page
-
doSelectPortlet
public java.lang.String doSelectPortlet(javax.servlet.http.HttpServletRequest request)
Select and validate the specified Portlet- Parameters:
request- The http request- Returns:
- The url of the document selection page if porlet id is valid
-
getSelectDocument
public java.lang.String getSelectDocument(javax.servlet.http.HttpServletRequest request)
Return the html form for document selection.- Parameters:
request- The HTTP request- Returns:
- The html form of the document selection page
-
doInsertUrl
public java.lang.String doInsertUrl(javax.servlet.http.HttpServletRequest request)
Insert the specified url into HTML content- Parameters:
request- The HTTP request- Returns:
- The url
-
getTypeFilter
public java.lang.String getTypeFilter()
Gets the filter for the document type.- Returns:
- the document type, empty string otherwise.
-
setTypeFilter
public void setTypeFilter(java.lang.String strTypeFilter)
Sets the filter for the document type.- Parameters:
strTypeFilter- the document type, empty string otherwise.
-
-