Class InsertServiceSelectorJspBean
- java.lang.Object
-
- fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean
-
- fr.paris.lutece.portal.web.insert.InsertServiceSelectorJspBean
-
- All Implemented Interfaces:
java.io.Serializable
public class InsertServiceSelectorJspBean extends AdminFeaturesPageJspBean
Provides the generic interface to choose a particular link service- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringRIGHT_MANAGE_LINK_SERVICERight to manage this featurestatic java.lang.StringSESSION_INSERTSession key to set the content to insert
-
Constructor Summary
Constructors Constructor Description InsertServiceSelectorJspBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringdisplayService(javax.servlet.http.HttpServletRequest request)Call the selected service selection UIjava.lang.StringdoInsertIntoElement(javax.servlet.http.HttpServletRequest request)Build the JSP that provides the HTML code insertion into the Editor via a javascript calljava.lang.StringgetServicesListPage(javax.servlet.http.HttpServletRequest request)build the insert service selection page-
Methods inherited from class fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean
getAdminPage, getAdminPage, getFeatureIcon, getHomeUrl, getLocale, getPageTitle, getUser, init, setFeatureGroup, setFeatureIcon, setPageTitleProperty, validate, validate, validate
-
-
-
-
Field Detail
-
RIGHT_MANAGE_LINK_SERVICE
public static final java.lang.String RIGHT_MANAGE_LINK_SERVICE
Right to manage this feature- See Also:
- Constant Field Values
-
SESSION_INSERT
public static final java.lang.String SESSION_INSERT
Session key to set the content to insert- See Also:
- Constant Field Values
-
-
Method Detail
-
getServicesListPage
public java.lang.String getServicesListPage(javax.servlet.http.HttpServletRequest request)
build the insert service selection page- Parameters:
request- HTTP request- Returns:
- HTML code of the page as String
-
displayService
public java.lang.String displayService(javax.servlet.http.HttpServletRequest request)
Call the selected service selection UI- Parameters:
request- HTTP request- Returns:
- the HTML code of the selection page for selected service
-
doInsertIntoElement
public java.lang.String doInsertIntoElement(javax.servlet.http.HttpServletRequest request)
Build the JSP that provides the HTML code insertion into the Editor via a javascript call- Parameters:
request- HTTP request- Returns:
- the HTML code of the page that insert code into the editor
-
-