public interface IUnitSearchFields
Modifier and Type | Method and Description |
---|---|
void |
fillModelForUserSearchForm(List<fr.paris.lutece.portal.business.user.AdminUser> listUsers,
String strBaseUrl,
javax.servlet.http.HttpServletRequest request,
Map<String,Object> model,
Unit unit)
Fill the model for the user search form
|
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
|
boolean |
isAscSort()
Check if it is an asc sort
|
boolean |
isInDepthSearch()
Check if it is an in depth search
|
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 |
setInDepthSearch(javax.servlet.http.HttpServletRequest request)
Check if if it an in depth search.
|
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
|
int getItemsPerPage()
void setItemsPerPage(int nItemsPerPage)
nItemsPerPage
- the items per pageint getDefaultItemsPerPage()
void setDefaultItemsPerPage(int nDefaultItemsPerPage)
nDefaultItemsPerPage
- default items per pageString getCurrentPageIndex()
void setCurrentPageIndex(String strCurrentPageIndex)
strCurrentPageIndex
- current page indexvoid setSortedAttributeName(javax.servlet.http.HttpServletRequest request)
request
- the HTTP requestString getSortedAttributeName()
void setAscSort(javax.servlet.http.HttpServletRequest request)
request
- the HTTP requestboolean isAscSort()
void fillModelForUserSearchForm(List<fr.paris.lutece.portal.business.user.AdminUser> listUsers, String strBaseUrl, javax.servlet.http.HttpServletRequest request, Map<String,Object> model, Unit unit) throws fr.paris.lutece.portal.service.admin.AccessDeniedException
listUsers
- the list of usersstrBaseUrl
- the base urlrequest
- the HTTP requestmodel
- the modelunit
- the unitfr.paris.lutece.portal.service.admin.AccessDeniedException
- exception if the user does not have the rightsvoid setInDepthSearch(javax.servlet.http.HttpServletRequest request)
request
- the HTTP requestboolean isInDepthSearch()
Copyright © 2017 City of Paris. All rights reserved.