public class ResourceExtenderSearchFields extends Object implements IResourceExtenderSearchFields, Serializable
| Constructor and Description |
|---|
ResourceExtenderSearchFields() |
| Modifier and Type | Method and Description |
|---|---|
void |
fillModel(String strBaseUrl,
javax.servlet.http.HttpServletRequest request,
Map<String,Object> model,
fr.paris.lutece.portal.business.user.AdminUser user)
Fill model.
|
void |
fillModel(String strBaseUrl,
javax.servlet.http.HttpServletRequest request,
Map<String,Object> model,
String strIdExtendableResource,
fr.paris.lutece.portal.business.user.AdminUser user)
Fill model.
|
String |
getCurrentPageIndex()
Current page index
|
int |
getDefaultItemsPerPage()
Default items per page
|
int |
getItemsPerPage()
Get the items per page
|
String |
getSortedAttributeName()
Get the sorted attribute name
|
void |
initFilter(javax.servlet.http.HttpServletRequest request)
Inits the filter.
|
boolean |
isAscSort()
Check if it is an asc sort
|
void |
setAscSort(javax.servlet.http.HttpServletRequest request)
Set the asc sort from the HTTP request
|
void |
setCurrentPageIndex(String strCurrentPageIndex)
Current page index
|
void |
setDefaultItemsPerPage(int nDefaultItemsPerPage)
Default items per page
|
void |
setItemsPerPage(int nItemsPerPage)
Set the items per page
|
void |
setSortedAttributeName(javax.servlet.http.HttpServletRequest request)
Set the sorted attribute name from the HTTP request
|
public String getCurrentPageIndex()
getCurrentPageIndex in interface IResourceExtenderSearchFieldspublic int getDefaultItemsPerPage()
getDefaultItemsPerPage in interface IResourceExtenderSearchFieldspublic void setCurrentPageIndex(String strCurrentPageIndex)
setCurrentPageIndex in interface IResourceExtenderSearchFieldsstrCurrentPageIndex - current page indexpublic void setDefaultItemsPerPage(int nDefaultItemsPerPage)
setDefaultItemsPerPage in interface IResourceExtenderSearchFieldsnDefaultItemsPerPage - default items per pagepublic int getItemsPerPage()
getItemsPerPage in interface IResourceExtenderSearchFieldspublic void setItemsPerPage(int nItemsPerPage)
setItemsPerPage in interface IResourceExtenderSearchFieldsnItemsPerPage - the items per pagepublic String getSortedAttributeName()
getSortedAttributeName in interface IResourceExtenderSearchFieldspublic void setSortedAttributeName(javax.servlet.http.HttpServletRequest request)
setSortedAttributeName in interface IResourceExtenderSearchFieldsrequest - the HTTP requestpublic boolean isAscSort()
isAscSort in interface IResourceExtenderSearchFieldspublic void setAscSort(javax.servlet.http.HttpServletRequest request)
setAscSort in interface IResourceExtenderSearchFieldsrequest - the HTTP requestpublic void fillModel(String strBaseUrl, javax.servlet.http.HttpServletRequest request, Map<String,Object> model, fr.paris.lutece.portal.business.user.AdminUser user) throws fr.paris.lutece.portal.service.admin.AccessDeniedException
fillModel in interface IResourceExtenderSearchFieldsstrBaseUrl - the str base urlrequest - the requestmodel - the modeluser - the userfr.paris.lutece.portal.service.admin.AccessDeniedException - the access denied exceptionpublic void fillModel(String strBaseUrl, javax.servlet.http.HttpServletRequest request, Map<String,Object> model, String strIdExtendableResource, fr.paris.lutece.portal.business.user.AdminUser user) throws fr.paris.lutece.portal.service.admin.AccessDeniedException
fillModel in interface IResourceExtenderSearchFieldsstrBaseUrl - the str base urlrequest - the requestmodel - the modelstrIdExtendableResource - the str id extendable resourceuser - the userfr.paris.lutece.portal.service.admin.AccessDeniedException - the access denied exceptionpublic void initFilter(javax.servlet.http.HttpServletRequest request)
initFilter in interface IResourceExtenderSearchFieldsrequest - the requestCopyright © 2022 City of Paris. All rights reserved.