public abstract class PortletJspBean extends AdminFeaturesPageJspBean
| Modifier and Type | Field and Description |
|---|---|
protected static String |
PARAMETER_PAGE_ID |
protected static String |
PARAMETER_PORTLET_ID |
protected static String |
PARAMETER_PORTLET_TYPE_ID |
static String |
RIGHT_MANAGE_ADMIN_SITE |
| Constructor and Description |
|---|
PortletJspBean() |
| Modifier and Type | Method and Description |
|---|---|
abstract String |
doCreate(javax.servlet.http.HttpServletRequest request)
Processes portlet's creation
|
abstract String |
doModify(javax.servlet.http.HttpServletRequest request)
Processes portlet's modification
|
abstract String |
getCreate(javax.servlet.http.HttpServletRequest request)
Displays the portlet's creation form
|
protected fr.paris.lutece.util.html.HtmlTemplate |
getCreateTemplate(String strPageId,
String strPortletTypeId)
Fills templates with common values shared by portlet creation form
|
protected fr.paris.lutece.util.html.HtmlTemplate |
getCreateTemplate(String strPageId,
String strPortletTypeId,
Map<String,Object> model)
Fills templates with common values shared by portlet creation form
|
abstract String |
getModify(javax.servlet.http.HttpServletRequest request)
Displays the portlet's modification form
|
protected fr.paris.lutece.util.html.HtmlTemplate |
getModifyTemplate(Portlet portlet)
Fills update template with portlet values
|
protected fr.paris.lutece.util.html.HtmlTemplate |
getModifyTemplate(Portlet portlet,
Map<String,Object> model)
Fills update template with portlet values
|
protected String |
getPageUrl(int nIdPage)
Gets the page URL
|
protected void |
putCheckBox(Map<String,Object> model,
String strMarkerChecked,
boolean bChecked)
Put check box.
|
protected String |
setPortletCommonData(javax.servlet.http.HttpServletRequest request,
Portlet portlet)
Recovers the common attributes of the portlet
|
getAdminPage, getFeatureIcon, getHomeUrl, getLocale, getPageTitle, getUser, init, populate, setFeatureGroup, setFeatureIcon, setPageTitleProperty, validate, validate, validatepublic static final String RIGHT_MANAGE_ADMIN_SITE
protected static final String PARAMETER_PAGE_ID
protected static final String PARAMETER_PORTLET_ID
protected static final String PARAMETER_PORTLET_TYPE_ID
public abstract String getCreate(javax.servlet.http.HttpServletRequest request)
request - The http requestpublic abstract String doCreate(javax.servlet.http.HttpServletRequest request)
request - The http requestpublic abstract String getModify(javax.servlet.http.HttpServletRequest request)
request - The http requestpublic abstract String doModify(javax.servlet.http.HttpServletRequest request)
request - The http requestprotected String setPortletCommonData(javax.servlet.http.HttpServletRequest request, Portlet portlet)
request - the http requestportlet - The instance of the portletprotected fr.paris.lutece.util.html.HtmlTemplate getCreateTemplate(String strPageId, String strPortletTypeId)
strPageId - the page identifierstrPortletTypeId - the Portlet type identifierprotected fr.paris.lutece.util.html.HtmlTemplate getCreateTemplate(String strPageId, String strPortletTypeId, Map<String,Object> model)
strPageId - the page identifierstrPortletTypeId - the Portlet type identifiermodel - Specific data stored in a hashtableprotected fr.paris.lutece.util.html.HtmlTemplate getModifyTemplate(Portlet portlet)
portlet - the object to updateprotected fr.paris.lutece.util.html.HtmlTemplate getModifyTemplate(Portlet portlet, Map<String,Object> model)
portlet - the object to updatemodel - The Data modelprotected void putCheckBox(Map<String,Object> model, String strMarkerChecked, boolean bChecked)
model - the modelstrMarkerChecked - the str marker checkedbChecked - the b checkedprotected String getPageUrl(int nIdPage)
nIdPage - Page IDCopyright © 2016 City of Paris. All rights reserved.