Class AbstractBlogInsertServiceJspBean
- java.lang.Object
-
- fr.paris.lutece.portal.web.insert.InsertServiceJspBean
-
- fr.paris.lutece.plugins.blog.web.insertservice.AbstractBlogInsertServiceJspBean
-
- All Implemented Interfaces:
fr.paris.lutece.portal.web.insert.InsertServiceSelectionBean,java.io.Serializable
- Direct Known Subclasses:
BlogPortletInsertServiceJspBean,BlogResourceInsertServiceJspBean,BlogUrlInsertServiceJspBean
public abstract class AbstractBlogInsertServiceJspBean 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 toward a blog post or a blog's Resource- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AbstractBlogInsertServiceJspBean()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description java.lang.StringdoInsertBlogLink(javax.servlet.http.HttpServletRequest request)Insert the link toward the selected blog post element into the html editorabstract java.lang.StringdoSearchBlogLink(javax.servlet.http.HttpServletRequest request)Search for the blogs matching the user's search and reload the HTML form where the blog link to insert is selectedjava.lang.StringgetInsertServiceSelectorUI(javax.servlet.http.HttpServletRequest request)Get the HTML form where the blog to insert is selected
-
-
-
Method Detail
-
getInsertServiceSelectorUI
public java.lang.String getInsertServiceSelectorUI(javax.servlet.http.HttpServletRequest request)
Get the HTML form where the blog to insert is selected- Specified by:
getInsertServiceSelectorUIin interfacefr.paris.lutece.portal.web.insert.InsertServiceSelectionBean- Parameters:
request- The http request- Returns:
- the HTML code to display
-
doInsertBlogLink
public java.lang.String doInsertBlogLink(javax.servlet.http.HttpServletRequest request)
Insert the link toward the selected blog post element into the html editor- Parameters:
request- The http request- Returns:
- the link to display in the html code
-
doSearchBlogLink
public abstract java.lang.String doSearchBlogLink(javax.servlet.http.HttpServletRequest request)
Search for the blogs matching the user's search and reload the HTML form where the blog link to insert is selected- Parameters:
request- The http request- Returns:
- the HTML code to display the blogs that can be selected to create a link from
-
-