Package fr.paris.lutece.portal.web.admin
Class AdminPagePortletJspBean
java.lang.Object
fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean
fr.paris.lutece.portal.web.admin.AdminPagePortletJspBean
- All Implemented Interfaces:
Serializable
This class provides the admin interface to manage administration of portlet on the pages
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe action of the security token of a portlet move, from the toolbar of the preview, the preview or the portlets tabstatic final StringThe action of the security token of a status change, from the toolbar of the preview or the switch of the portlet formstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoCreatePortlet(jakarta.servlet.http.HttpServletRequest request) Redirects towards the url of the process creation of a portlet according to its type or null if the portlet type doesn't exist.doModifyPortlet(jakarta.servlet.http.HttpServletRequest request) Processes the modification of a portlet whose identifier is stored in the http requestdoModifyPortletStatus(jakarta.servlet.http.HttpServletRequest request) Processes the status definition for portlet : suspended or activateddoModifyPortletStatusJson(jakarta.servlet.http.HttpServletRequest request) Processes the status change of the portlet called by a script, from the switch of the portlet form: the security token is used once, the answer gives the one of the next changedoRemovePortlet(jakarta.servlet.http.HttpServletRequest request) Processes the removal of the portletdoUpdatePortletPosition(jakarta.servlet.http.HttpServletRequest request) Processes the Order and Column Update of the portletdoUpdatePortletPositionJson(jakarta.servlet.http.HttpServletRequest request) Processes the Order and Column Update of the portlet called by a script, which saves several moves one after the other: the security token is used once, the answer gives the one of the next movegetModifyPortletStatus(jakarta.servlet.http.HttpServletRequest request) Displays the portlet status modification pagegetRemovePortlet(jakarta.servlet.http.HttpServletRequest request) Displays the confirm message for deleting the portletMethods 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:
-
JSP_DO_MODIFY_STATUS
The action of the security token of a status change, from the toolbar of the preview or the switch of the portlet form- See Also:
-
JSP_DO_MODIFY_POSITION
The action of the security token of a portlet move, from the toolbar of the preview, the preview or the portlets tab- See Also:
-
-
Constructor Details
-
AdminPagePortletJspBean
public AdminPagePortletJspBean()
-
-
Method Details
-
doModifyPortlet
Processes the modification of a portlet whose identifier is stored in the http request- Parameters:
request- The http request- Returns:
- The jsp url of the process result
-
doCreatePortlet
Redirects towards the url of the process creation of a portlet according to its type or null if the portlet type doesn't exist.- Parameters:
request- The http request- Returns:
- The jsp url of the portlet type process creation
-
getRemovePortlet
public String getRemovePortlet(jakarta.servlet.http.HttpServletRequest request) throws AccessDeniedException Displays the confirm message for deleting the portlet- Parameters:
request- The http request- Returns:
- The confirm page
- Throws:
AccessDeniedException- if the user is not authorized to manage the portlet
-
doRemovePortlet
public String doRemovePortlet(jakarta.servlet.http.HttpServletRequest request) throws AccessDeniedException Processes the removal of the portlet- Parameters:
request- The http request- Returns:
- The Jsp URL of the process result
- Throws:
AccessDeniedException- if the user is not authorized to manage the portlet
-
getModifyPortletStatus
public String getModifyPortletStatus(jakarta.servlet.http.HttpServletRequest request) throws AccessDeniedException Displays the portlet status modification page- Parameters:
request- The http request- Returns:
- The confirm page
- Throws:
AccessDeniedException- if the user is not authorized to manage the portlet
-
doModifyPortletStatus
public String doModifyPortletStatus(jakarta.servlet.http.HttpServletRequest request) throws AccessDeniedException Processes the status definition for portlet : suspended or activated- Parameters:
request- The http request- Returns:
- The Jsp URL of the process result
- Throws:
AccessDeniedException- if the user is not authorized to manage the portlet
-
doUpdatePortletPosition
public String doUpdatePortletPosition(jakarta.servlet.http.HttpServletRequest request) throws AccessDeniedException Processes the Order and Column Update of the portlet- Parameters:
request- The http request- Returns:
- The Jsp URL of the process result
- Throws:
AccessDeniedException- if the security token is invalid or if the user is not authorized to manage the portlet
-
doUpdatePortletPositionJson
public String doUpdatePortletPositionJson(jakarta.servlet.http.HttpServletRequest request) throws AccessDeniedException Processes the Order and Column Update of the portlet called by a script, which saves several moves one after the other: the security token is used once, the answer gives the one of the next move- Parameters:
request- The http request- Returns:
- The JSON answer: whether the move is saved, and the security token of the next move
- Throws:
AccessDeniedException- if the security token is invalid, or if the user is not authorized to manage the portlet
-
doModifyPortletStatusJson
public String doModifyPortletStatusJson(jakarta.servlet.http.HttpServletRequest request) throws AccessDeniedException Processes the status change of the portlet called by a script, from the switch of the portlet form: the security token is used once, the answer gives the one of the next change- Parameters:
request- The http request- Returns:
- The JSON answer: whether the status is saved, and the security token of the next change
- Throws:
AccessDeniedException- if the security token is invalid, or if the user is not authorized to manage the portlet
-