public abstract class AbstractJspBean
extends fr.paris.lutece.portal.util.mvc.admin.MVCAdminJspBean
| Modifier and Type | Field and Description |
|---|---|
protected int |
_nItemsPerPage |
protected fr.paris.lutece.portal.web.util.LocalizedDelegatePaginator<Integer> |
_paginator |
protected String |
_strCurrentPageIndex |
protected static String |
PROPERTY_DEFAULT_LIST_ITEM_PER_PAGE |
| Constructor and Description |
|---|
AbstractJspBean() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkUserPermission(String strRessourceType,
String strResource,
String strPermissionName,
javax.servlet.http.HttpServletRequest request)
Check is user is authorized to access to given permission, on given resource and ressource Type.
|
protected int |
getIndexStart()
Get the index start
|
protected String |
getJspManageForm(javax.servlet.http.HttpServletRequest request)
Return the URL of the JSP manage form
|
protected String |
getJspManageSteps(javax.servlet.http.HttpServletRequest request)
Return the URL of the JSP manage step
|
protected Map<String,Object> |
getPaginatedListModel(javax.servlet.http.HttpServletRequest request,
String strBookmark,
List<Integer> list,
String strUrl,
int nbTotalItems)
Return a model that contains the list and paginator information
|
protected fr.paris.lutece.portal.web.util.LocalizedDelegatePaginator<Integer> |
getPaginator()
Return the paginator
|
protected void |
initiatePaginatorProperties(javax.servlet.http.HttpServletRequest request) |
protected String |
redirectToViewManageForm(javax.servlet.http.HttpServletRequest request)
Redirect to the URL of view manage form
|
protected String |
redirectToViewManageSteps(javax.servlet.http.HttpServletRequest request,
int nIdForm)
Redirect to the URL of View manage step for the given
|
protected void |
resetCurrentPaginatorPageIndex()
Reset current paginator page index to 1
|
addError, addError, addInfo, addInfo, addWarning, addWarning, download, download, fillCommons, getActionUrl, getControllerJsp, getControllerPath, getModel, getPage, getPage, getPage, getViewFullUrl, getViewUrl, processController, redirect, redirect, redirect, redirect, redirectView, validateBeangetPlugin, initprotected static final String PROPERTY_DEFAULT_LIST_ITEM_PER_PAGE
protected String _strCurrentPageIndex
protected int _nItemsPerPage
protected fr.paris.lutece.portal.web.util.LocalizedDelegatePaginator<Integer> _paginator
protected void initiatePaginatorProperties(javax.servlet.http.HttpServletRequest request)
protected Map<String,Object> getPaginatedListModel(javax.servlet.http.HttpServletRequest request, String strBookmark, List<Integer> list, String strUrl, int nbTotalItems)
request - The HTTP requeststrBookmark - The bookmark with the items of the current paginationlist - The list of item to paginatestrUrl - The url to used for the paginationprotected void resetCurrentPaginatorPageIndex()
protected fr.paris.lutece.portal.web.util.LocalizedDelegatePaginator<Integer> getPaginator()
protected String getJspManageSteps(javax.servlet.http.HttpServletRequest request)
request - The HTTP requestprotected String redirectToViewManageSteps(javax.servlet.http.HttpServletRequest request, int nIdForm)
request - The HTTP requestnIdForm - The Form identifierprotected String getJspManageForm(javax.servlet.http.HttpServletRequest request)
request - The HTTP requestprotected String redirectToViewManageForm(javax.servlet.http.HttpServletRequest request)
request - The HTTP requestprotected void checkUserPermission(String strRessourceType, String strResource, String strPermissionName, javax.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException
strRessourceType - The resource type codestrResource - The resourcestrPermissionName - The permission namerequest - The HttpServletRequestfr.paris.lutece.portal.service.admin.AccessDeniedException - An access denied exceptionprotected int getIndexStart()
Copyright © 2019 City of Paris. All rights reserved.