Package fr.paris.lutece.portal.web.admin
Class AdminPageJspBean
java.lang.Object
fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean
fr.paris.lutece.portal.web.admin.AdminPageJspBean
- All Implemented Interfaces:
Serializable
This class provides the admin interface to manage administration of site
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoCreateChildPage(jakarta.servlet.http.HttpServletRequest request) Processes the creation of a child page to the page whose identifier is stored in the http requestdoModifyPage(jakarta.servlet.http.HttpServletRequest request) Processes of the modification of the page informationsdoRemovePage(jakarta.servlet.http.HttpServletRequest request) Processes the deletion of a pagegetAdminPage(jakarta.servlet.http.HttpServletRequest request) Displays the page which contains the management forms of a skin page whose identifier is specified in parametergetAdminPagePreview(jakarta.servlet.http.HttpServletRequest request) Returns the html code for displaying the page whose identifier is specified in parameter from the administration unit.getRemovePage(jakarta.servlet.http.HttpServletRequest request) Display the confirm page for the delete of a pagegetResourceImagePage(Page page, String strPageId) Management of the image associated to the pageMethods inherited from class fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean
getAdminPage, getFeatureIcon, getHomeUrl, getLocale, getPageTitle, getSecurityTokenService, getUser, init, setFeatureGroup, setFeatureIcon, setPageTitleProperty, validate, validate, validate
-
Field Details
-
RIGHT_MANAGE_ADMIN_SITE
- See Also:
-
PROPERTY_PAGE_TITLE_ADMIN_SITE
- See Also:
-
-
Constructor Details
-
AdminPageJspBean
public AdminPageJspBean()
-
-
Method Details
-
getAdminPage
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 String getAdminPagePreview(jakarta.servlet.http.HttpServletRequest request) throws UserNotSignedException, SiteMessageException 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 UserNotSignedExceptionSiteMessageException- occurs when a site message need to be displayed
-
doModifyPage
public String doModifyPage(jakarta.servlet.http.HttpServletRequest request) throws AccessDeniedException Processes of the modification of the page informations- Parameters:
request- The http request- Returns:
- The jsp url result of the process
- Throws:
AccessDeniedException- if the security token is invalid
-
getRemovePage
Display the confirm page for the delete of a page- Parameters:
request- The http request- Returns:
- The url of the confirm page
-
doRemovePage
public String doRemovePage(jakarta.servlet.http.HttpServletRequest request) throws AccessDeniedException Processes the deletion of a page- Parameters:
request- The http request- Returns:
- The jsp url result of the process
- Throws:
AccessDeniedException- if the security token is invalid
-
doCreateChildPage
public String doCreateChildPage(jakarta.servlet.http.HttpServletRequest request) throws AccessDeniedException 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
- Throws:
AccessDeniedException- If the security token is invalid
-
getResourceImagePage
Management of the image associated to the page- Parameters:
page- The Page ObjectstrPageId- The page identifier- Returns:
- The url
-