Interface IUnitSearchFields
-
- All Known Implementing Classes:
DefaultUnitSearchFields,UnitUserSearchFields
public interface IUnitSearchFieldsIUnitPluginAction
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidfillModelForUserSearchForm(java.util.List<fr.paris.lutece.portal.business.user.AdminUser> listUsers, java.lang.String strBaseUrl, javax.servlet.http.HttpServletRequest request, java.util.Map<java.lang.String,java.lang.Object> model, Unit unit)Fill the model for the user search formjava.lang.StringgetCurrentPageIndex()Current page indexintgetDefaultItemsPerPage()Default items per pageintgetItemsPerPage()Get the items per pagejava.lang.StringgetSortedAttributeName()Get the sorted attribute namebooleanisAscSort()Check if it is an asc sortbooleanisInDepthSearch()Check if it is an in depth searchvoidsetAscSort(javax.servlet.http.HttpServletRequest request)Set the asc sort from the HTTP requestvoidsetCurrentPageIndex(java.lang.String strCurrentPageIndex)Current page indexvoidsetDefaultItemsPerPage(int nDefaultItemsPerPage)Default items per pagevoidsetInDepthSearch(javax.servlet.http.HttpServletRequest request)Check if if it an in depth search.voidsetItemsPerPage(int nItemsPerPage)Set the items per pagevoidsetSortedAttributeName(javax.servlet.http.HttpServletRequest request)Set the sorted attribute name from the HTTP request
-
-
-
Method Detail
-
getItemsPerPage
int getItemsPerPage()
Get the items per page- Returns:
- the items per page
-
setItemsPerPage
void setItemsPerPage(int nItemsPerPage)
Set the items per page- Parameters:
nItemsPerPage- the items per page
-
getDefaultItemsPerPage
int getDefaultItemsPerPage()
Default items per page- Returns:
- default items per page
-
setDefaultItemsPerPage
void setDefaultItemsPerPage(int nDefaultItemsPerPage)
Default items per page- Parameters:
nDefaultItemsPerPage- default items per page
-
getCurrentPageIndex
java.lang.String getCurrentPageIndex()
Current page index- Returns:
- current page index
-
setCurrentPageIndex
void setCurrentPageIndex(java.lang.String strCurrentPageIndex)
Current page index- Parameters:
strCurrentPageIndex- current page index
-
setSortedAttributeName
void setSortedAttributeName(javax.servlet.http.HttpServletRequest request)
Set the sorted attribute name from the HTTP request- Parameters:
request- the HTTP request
-
getSortedAttributeName
java.lang.String getSortedAttributeName()
Get the sorted attribute name- Returns:
- the sorted attibute name
-
setAscSort
void setAscSort(javax.servlet.http.HttpServletRequest request)
Set the asc sort from the HTTP request- Parameters:
request- the HTTP request
-
isAscSort
boolean isAscSort()
Check if it is an asc sort- Returns:
- true if it is an asc sort, false otherwise
-
fillModelForUserSearchForm
void fillModelForUserSearchForm(java.util.List<fr.paris.lutece.portal.business.user.AdminUser> listUsers, java.lang.String strBaseUrl, javax.servlet.http.HttpServletRequest request, java.util.Map<java.lang.String,java.lang.Object> model, Unit unit) throws fr.paris.lutece.portal.service.admin.AccessDeniedExceptionFill the model for the user search form- Parameters:
listUsers- the list of usersstrBaseUrl- the base urlrequest- the HTTP requestmodel- the modelunit- the unit- Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException- exception if the user does not have the rights
-
setInDepthSearch
void setInDepthSearch(javax.servlet.http.HttpServletRequest request)
Check if if it an in depth search.
It will check if the request possesses the parameter isInDepthSearch- Parameters:
request- the HTTP request
-
isInDepthSearch
boolean isInDepthSearch()
Check if it is an in depth search- Returns:
- true if it is an in depth search, false otherwise
-
-