fr.paris.lutece.plugins.theme.web
Class ThemeJspBean

java.lang.Object
  extended by fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean
      extended by fr.paris.lutece.portal.web.admin.PluginAdminPageJspBean
          extended by fr.paris.lutece.plugins.theme.web.ThemeJspBean
All Implemented Interfaces:
Serializable

public class ThemeJspBean
extends fr.paris.lutece.portal.web.admin.PluginAdminPageJspBean

ThemeJspBean

See Also:
Serialized Form

Field Summary
static String RIGHT_MANAGE_THEMES
           
 
Constructor Summary
ThemeJspBean()
           
 
Method Summary
 String doCreateTheme(javax.servlet.http.HttpServletRequest request)
           
 String doModifyGlobalTheme(javax.servlet.http.HttpServletRequest request)
          Modify the global theme
 String doModifyTheme(javax.servlet.http.HttpServletRequest request)
           
 String doModifyUserTheme(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Modify the User theme
 String doRemoveTheme(javax.servlet.http.HttpServletRequest request)
          Remove a profile
 String getConfirmRemoveTheme(javax.servlet.http.HttpServletRequest request)
          Returns the confirmation to remove the theme
 String getCreateTheme(javax.servlet.http.HttpServletRequest request)
          Get the creation page
 String getManageThemes(javax.servlet.http.HttpServletRequest request)
          Returns the list of Themes
 String getModifyTheme(javax.servlet.http.HttpServletRequest request)
          Get the modification page
 
Methods inherited from class fr.paris.lutece.portal.web.admin.PluginAdminPageJspBean
getPlugin, init
 
Methods inherited from class fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean
getAdminPage, getFeatureIcon, getHomeUrl, getLocale, getPageTitle, getUser, 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

RIGHT_MANAGE_THEMES

public static final String RIGHT_MANAGE_THEMES
See Also:
Constant Field Values
Constructor Detail

ThemeJspBean

public ThemeJspBean()
Method Detail

getManageThemes

public String getManageThemes(javax.servlet.http.HttpServletRequest request)
Returns the list of Themes

Parameters:
request - The Http request
Returns:
the html code for display the manage themes page

doModifyGlobalTheme

public String doModifyGlobalTheme(javax.servlet.http.HttpServletRequest request)
Modify the global theme

Parameters:
request - The Http request
Returns:
the html code for display the manage themes page

doModifyUserTheme

public String doModifyUserTheme(javax.servlet.http.HttpServletRequest request,
                                javax.servlet.http.HttpServletResponse response)
Modify the User theme

Parameters:
request - The Http request
response - The Http response
Returns:
the html code for display the manage themes page

getCreateTheme

public String getCreateTheme(javax.servlet.http.HttpServletRequest request)
                      throws fr.paris.lutece.portal.service.admin.AccessDeniedException
Get the creation page

Parameters:
request - The HttpServletRequest
Returns:
the html code to create a theme
Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException - Access denied exception

getModifyTheme

public String getModifyTheme(javax.servlet.http.HttpServletRequest request)
                      throws fr.paris.lutece.portal.service.admin.AccessDeniedException
Get the modification page

Parameters:
request - The HttpServletRequest
Returns:
the html page to modifiy a theme
Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException - Access denied exception

doModifyTheme

public String doModifyTheme(javax.servlet.http.HttpServletRequest request)
                     throws fr.paris.lutece.portal.service.admin.AccessDeniedException
Parameters:
request - The HttpServletRequest
Returns:
the html code for the theme list
Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException - Access denied exception

doCreateTheme

public String doCreateTheme(javax.servlet.http.HttpServletRequest request)
                     throws fr.paris.lutece.portal.service.admin.AccessDeniedException
Parameters:
request - The HttpServletRequest
Returns:
the html code for the theme list
Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException - Access denied exception

getConfirmRemoveTheme

public String getConfirmRemoveTheme(javax.servlet.http.HttpServletRequest request)
Returns the confirmation to remove the theme

Parameters:
request - The Http request
Returns:
the confirmation page

doRemoveTheme

public String doRemoveTheme(javax.servlet.http.HttpServletRequest request)
                     throws fr.paris.lutece.portal.service.admin.AccessDeniedException
Remove a profile

Parameters:
request - The Http request
Returns:
Html form
Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException - the AccessDeniedException


Copyright © 2013 Mairie de Paris. All Rights Reserved.