fr.paris.lutece.plugins.unittree.web.action
Interface IUnitSearchFields

All Known Implementing Classes:
DefaultUnitSearchFields, UnitUserSearchFields

public interface IUnitSearchFields

IUnitPluginAction


Method Summary
 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
 

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

String getCurrentPageIndex()
Current page index

Returns:
current page index

setCurrentPageIndex

void setCurrentPageIndex(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

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(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
Fill the model for the user search form

Parameters:
listUsers - the list of users
strBaseUrl - the base url
request - the HTTP request
model - the model
unit - 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


Copyright © 2013 Mairie de Paris. All Rights Reserved.