fr.paris.lutece.portal.web.admin
Class AdminFeaturesPageJspBean

java.lang.Object
  extended by fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean
Direct Known Subclasses:
AdminDashboardJspBean, AdminMapJspBean, AdminPageJspBean, AdminPagePortletJspBean, AdminUserJspBean, AdminWorkgroupJspBean, AttributeFieldJspBean, AttributeJspBean, CacheJspBean, DashboardJspBean, FeaturesGroupJspBean, InsertServiceSelectorJspBean, LevelsJspBean, MailingListJspBean, ModesJspBean, PageTemplatesJspBean, PluginAdminPageJspBean, PluginJspBean, PortletJspBean, RightJspBean, RoleJspBean, RoleManagementJspBean, SearchIndexationJspBean, SearchJspBean, StyleSheetJspBean, StylesJspBean, SystemJspBean, ThemesJspBean

public abstract class AdminFeaturesPageJspBean
extends java.lang.Object

Provides generic methods for jspBeans


Constructor Summary
AdminFeaturesPageJspBean()
           
 
Method Summary
 java.lang.String getAdminPage(java.lang.String strContent)
          Get the admin page from a content data
 java.lang.String getFeatureIcon()
          Returns the feature icon Url
 java.lang.String getHomeUrl(javax.servlet.http.HttpServletRequest request)
          Returns the feature home Url
 java.util.Locale getLocale()
          Returns the Locale
 java.lang.String getPageTitle()
          Get the page title
 AdminUser getUser()
          Returns the AdminUser
 void init(javax.servlet.http.HttpServletRequest request, java.lang.String strRight)
          Initialize the jspbean data Allows to set the feature url and feature title associated
 void setFeatureIcon(java.lang.String strFeatureIcon)
          Sets the feature icon url
 void setPageTitleProperty(java.lang.String strPageTitleKey)
          Set the page title property
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AdminFeaturesPageJspBean

public AdminFeaturesPageJspBean()
Method Detail

init

public void init(javax.servlet.http.HttpServletRequest request,
                 java.lang.String strRight)
          throws AccessDeniedException
Initialize the jspbean data Allows to set the feature url and feature title associated

Parameters:
request - the HTTP request
strRight - The right
Throws:
AccessDeniedException - Access denied exception

setPageTitleProperty

public void setPageTitleProperty(java.lang.String strPageTitleKey)
Set the page title property

Parameters:
strPageTitleKey - The page title property

getPageTitle

public java.lang.String getPageTitle()
Get the page title

Returns:
The page title

getLocale

public java.util.Locale getLocale()
Returns the Locale

Returns:
The Locale

getUser

public AdminUser getUser()
Returns the AdminUser

Returns:
The AdminUser

getHomeUrl

public java.lang.String getHomeUrl(javax.servlet.http.HttpServletRequest request)
Returns the feature home Url

Parameters:
request - The HTTP request
Returns:
The feature home Url

getFeatureIcon

public java.lang.String getFeatureIcon()
Returns the feature icon Url

Returns:
The feature icon Url

setFeatureIcon

public void setFeatureIcon(java.lang.String strFeatureIcon)
Sets the feature icon url

Parameters:
strFeatureIcon - the feature icon url

getAdminPage

public java.lang.String getAdminPage(java.lang.String strContent)
Get the admin page from a content data

Parameters:
strContent - the data to load in the admin page
Returns:
the html code for the admin page for the given content


Copyright © 2011 Mairie de Paris. All Rights Reserved.