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

java.lang.Object
  extended by fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean
      extended by fr.paris.lutece.portal.web.admin.AdminPageJspBean
Direct Known Subclasses:
DaemonsJspBean

public class AdminPageJspBean
extends AdminFeaturesPageJspBean

This class provides the admin interface to manage administration of site


Field Summary
static java.lang.String PROPERTY_PAGE_TITLE_ADMIN_SITE
           
static java.lang.String RIGHT_MANAGE_ADMIN_SITE
           
 
Constructor Summary
AdminPageJspBean()
           
 
Method Summary
 java.lang.String doCreateChildPage(javax.servlet.http.HttpServletRequest request)
          Processes the creation of a child page to the page whose identifier is stored in the http request
 java.lang.String doDefineImage(javax.servlet.http.HttpServletRequest request)
          Associate an image to the current page
 java.lang.String doModifyPage(javax.servlet.http.HttpServletRequest request)
          Processes of the modification of the page informations
 java.lang.String doRemovePage(javax.servlet.http.HttpServletRequest request)
          Processes the deletion of a page
 java.lang.String getAdminPage(javax.servlet.http.HttpServletRequest request)
          Displays the page which contains the management forms of a skin page whose identifier is specified in parameter
 java.lang.String getAdminPagePreview(javax.servlet.http.HttpServletRequest request)
          Returns the html code for displaying the page whose identifier is specified in parameter from the administration unit.
 java.lang.String getRemovePage(javax.servlet.http.HttpServletRequest request)
          Display the confirm page for the delete of a page
 java.lang.String getResourceImagePage(Page page, java.lang.String strPageId)
          Management of the image associated to the page
 
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

RIGHT_MANAGE_ADMIN_SITE

public static final java.lang.String RIGHT_MANAGE_ADMIN_SITE
See Also:
Constant Field Values

PROPERTY_PAGE_TITLE_ADMIN_SITE

public static final java.lang.String PROPERTY_PAGE_TITLE_ADMIN_SITE
See Also:
Constant Field Values
Constructor Detail

AdminPageJspBean

public AdminPageJspBean()
Method Detail

getAdminPage

public java.lang.String getAdminPage(javax.servlet.http.HttpServletRequest request)
Displays the page which contains the management forms of a skin page whose identifier is specified in parameter

Parameters:
request - The identifier of the page
Returns:
The html code of the management forms of a page

getAdminPagePreview

public java.lang.String getAdminPagePreview(javax.servlet.http.HttpServletRequest request)
                                     throws UserNotSignedException
Returns the html code for displaying the page whose identifier is specified in parameter from the administration unit.
That is useful to make a preview of the page.

Parameters:
request - The http request
Returns:
The html code of the page
Throws:
UserNotSignedException - The UserNotSignedException

doModifyPage

public java.lang.String doModifyPage(javax.servlet.http.HttpServletRequest request)
Processes of the modification of the page informations

Parameters:
request - The http request
Returns:
The jsp url result of the process

getRemovePage

public java.lang.String getRemovePage(javax.servlet.http.HttpServletRequest request)
Display the confirm page for the delete of a page

Parameters:
request - The http request
Returns:
The html code of the confirm page

doRemovePage

public java.lang.String doRemovePage(javax.servlet.http.HttpServletRequest request)
Processes the deletion of a page

Parameters:
request - The http request
Returns:
The jsp url result of the process

doCreateChildPage

public java.lang.String doCreateChildPage(javax.servlet.http.HttpServletRequest request)
Processes the creation of a child page to the page whose identifier is stored in the http request

Parameters:
request - The http request
Returns:
The jsp url result of the process

doDefineImage

public java.lang.String doDefineImage(javax.servlet.http.HttpServletRequest request)
Associate an image to the current page

Parameters:
request - The http request
Returns:
The Jsp URL of the process result

getResourceImagePage

public java.lang.String getResourceImagePage(Page page,
                                             java.lang.String strPageId)
Management of the image associated to the page

Parameters:
page - The Page Object
strPageId - The page identifier


Copyright © 2007 Mairie de Paris. All Rights Reserved.