public class AbstractJspBean
extends fr.paris.lutece.portal.web.admin.PluginAdminPageJspBean
Modifier and Type | Field and Description |
---|---|
protected int |
_nItemsPerPage |
protected static String |
MARK_BUTTON_CANCEL |
protected static String |
MARK_FILTER |
protected static String |
MARK_JSP_BACK |
static int |
N_DEFAULT_ITEMS_PER_PAGE |
Constructor and Description |
---|
AbstractJspBean() |
Modifier and Type | Method and Description |
---|---|
protected String |
doGoBack(javax.servlet.http.HttpServletRequest request,
String JSP_MANAGE_BEAN)
Return the url of the JSP which called the last action
|
protected <T> T |
getFilterToUse(javax.servlet.http.HttpServletRequest request,
T filter,
String markFilter,
fr.paris.lutece.util.datatable.DataTableManager<?> dataTable)
Get the correct filter to use with data table manager
|
Map<String,Object> |
getManageBeansModel(javax.servlet.http.HttpServletRequest request)
Get model for manage beans
|
Map<String,Object> |
getSaveBeansModel(javax.servlet.http.HttpServletRequest request)
Get model for save beans
|
getPlugin, init
public static final int N_DEFAULT_ITEMS_PER_PAGE
protected int _nItemsPerPage
protected static final String MARK_BUTTON_CANCEL
protected static final String MARK_JSP_BACK
protected static final String MARK_FILTER
public Map<String,Object> getManageBeansModel(javax.servlet.http.HttpServletRequest request)
request
- the http requestpublic Map<String,Object> getSaveBeansModel(javax.servlet.http.HttpServletRequest request)
request
- the http requestprotected String doGoBack(javax.servlet.http.HttpServletRequest request, String JSP_MANAGE_BEAN)
request
- The Http requestprotected <T> T getFilterToUse(javax.servlet.http.HttpServletRequest request, T filter, String markFilter, fr.paris.lutece.util.datatable.DataTableManager<?> dataTable)
T
- the bean filter typerequest
- the http requestfilter
- the bean filter get with requestmarkFilter
- the key of the filterdataTable
- the datatable to useCopyright © 2018 City of Paris. All rights reserved.