Class InsertServiceSelectorJspBean
- java.lang.Object
-
- fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean
-
- fr.paris.lutece.portal.web.insert.InsertServiceSelectorJspBean
-
- All Implemented Interfaces:
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 StringRIGHT_MANAGE_LINK_SERVICERight to manage this featurestatic 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 StringdisplayService(javax.servlet.http.HttpServletRequest request)Call the selected service selection UIStringdoInsertIntoElement(javax.servlet.http.HttpServletRequest request)Build the JSP that provides the HTML code insertion into the Editor via a javascript callStringgetServicesListPage(javax.servlet.http.HttpServletRequest request)build the insert service selection page-
Methods inherited from class fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean
getAdminPage, getFeatureIcon, getHomeUrl, getLocale, getPageTitle, getUser, init, setFeatureGroup, setFeatureIcon, setPageTitleProperty, validate, validate, validate
-
-
-
-
Field Detail
-
RIGHT_MANAGE_LINK_SERVICE
public static final String RIGHT_MANAGE_LINK_SERVICE
Right to manage this feature- See Also:
- Constant Field Values
-
SESSION_INSERT
public static final String SESSION_INSERT
Session key to set the content to insert- See Also:
- Constant Field Values
-
-
Method Detail
-
getServicesListPage
public 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 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 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
-
-