|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean
fr.paris.lutece.portal.web.portlet.PortletJspBean
public abstract class PortletJspBean
This class represents user interface Portlet. It is the base class of all user interface portlets. It is abstract and the implementation of the interface PortletJspBeanInterface is compulsary.
Field Summary | |
---|---|
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 Summary | |
---|---|
PortletJspBean()
|
Method Summary | |
---|---|
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 |
Methods inherited from class fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean |
---|
getAdminPage, getFeatureIcon, getHomeUrl, getLocale, getPageTitle, getUser, init, populate, setFeatureIcon, setPageTitleProperty, validate, validate, validate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public 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
Constructor Detail |
---|
public PortletJspBean()
Method Detail |
---|
public abstract String getCreate(javax.servlet.http.HttpServletRequest request)
request
- The http request
public abstract String doCreate(javax.servlet.http.HttpServletRequest request)
request
- The http request
public abstract String getModify(javax.servlet.http.HttpServletRequest request)
request
- The http request
public abstract String doModify(javax.servlet.http.HttpServletRequest request)
request
- The http request
protected String setPortletCommonData(javax.servlet.http.HttpServletRequest request, Portlet portlet)
request
- the http requestportlet
- The instance of the portlet
protected fr.paris.lutece.util.html.HtmlTemplate getCreateTemplate(String strPageId, String strPortletTypeId)
strPageId
- the page identifierstrPortletTypeId
- the Portlet type identifier
protected 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 hashtable
protected fr.paris.lutece.util.html.HtmlTemplate getModifyTemplate(Portlet portlet)
portlet
- the object to update
protected fr.paris.lutece.util.html.HtmlTemplate getModifyTemplate(Portlet portlet, Map<String,Object> model)
portlet
- the object to updatemodel
- The Data model
protected 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 ID
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |