|
||||||||||
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 java.lang.String |
PARAMETER_PAGE_ID
|
protected static java.lang.String |
PARAMETER_PORTLET_ID
|
protected static java.lang.String |
PARAMETER_PORTLET_TYPE_ID
|
static java.lang.String |
RIGHT_MANAGE_ADMIN_SITE
|
Constructor Summary | |
---|---|
PortletJspBean()
|
Method Summary | |
---|---|
abstract java.lang.String |
doCreate(javax.servlet.http.HttpServletRequest request)
Processes portlet's creation |
abstract java.lang.String |
doModify(javax.servlet.http.HttpServletRequest request)
Processes portlet's modification |
abstract java.lang.String |
getCreate(javax.servlet.http.HttpServletRequest request)
Displays the portlet's creation form |
protected HtmlTemplate |
getCreateTemplate(java.lang.String strPageId,
java.lang.String strPortletTypeId)
Fills templates with common values shared by portlet creation form |
protected HtmlTemplate |
getCreateTemplate(java.lang.String strPageId,
java.lang.String strPortletTypeId,
java.util.Map<java.lang.String,java.lang.Object> model)
Fills templates with common values shared by portlet creation form |
abstract java.lang.String |
getModify(javax.servlet.http.HttpServletRequest request)
Displays the portlet's modification form |
protected HtmlTemplate |
getModifyTemplate(Portlet portlet)
Fills update template with portlet values |
protected HtmlTemplate |
getModifyTemplate(Portlet portlet,
java.util.Map<java.lang.String,java.lang.Object> model)
Fills update template with portlet values |
protected java.lang.String |
getPageUrl(int nIdPage)
Gets the page URL |
protected java.lang.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, setFeatureIcon, setPageTitleProperty |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String RIGHT_MANAGE_ADMIN_SITE
protected static final java.lang.String PARAMETER_PAGE_ID
protected static final java.lang.String PARAMETER_PORTLET_ID
protected static final java.lang.String PARAMETER_PORTLET_TYPE_ID
Constructor Detail |
---|
public PortletJspBean()
Method Detail |
---|
public abstract java.lang.String getCreate(javax.servlet.http.HttpServletRequest request)
request
- The http request
public abstract java.lang.String doCreate(javax.servlet.http.HttpServletRequest request)
request
- The http request
public abstract java.lang.String getModify(javax.servlet.http.HttpServletRequest request)
request
- The http request
public abstract java.lang.String doModify(javax.servlet.http.HttpServletRequest request)
request
- The http request
protected java.lang.String setPortletCommonData(javax.servlet.http.HttpServletRequest request, Portlet portlet)
request
- the http requestportlet
- The instance of the portlet
protected HtmlTemplate getCreateTemplate(java.lang.String strPageId, java.lang.String strPortletTypeId)
strPageId
- the page identifierstrPortletTypeId
- the Portlet type identifier
protected HtmlTemplate getCreateTemplate(java.lang.String strPageId, java.lang.String strPortletTypeId, java.util.Map<java.lang.String,java.lang.Object> model)
strPageId
- the page identifierstrPortletTypeId
- the Portlet type identifiermodel
- Specific data stored in a hashtable
protected HtmlTemplate getModifyTemplate(Portlet portlet)
portlet
- the object to update
protected HtmlTemplate getModifyTemplate(Portlet portlet, java.util.Map<java.lang.String,java.lang.Object> model)
portlet
- the object to updatemodel
- The Data model
protected java.lang.String getPageUrl(int nIdPage)
nIdPage
- Page ID
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |