Class DefaultUnitSearchFields
- java.lang.Object
-
- fr.paris.lutece.plugins.unittree.web.action.DefaultUnitSearchFields
-
- All Implemented Interfaces:
IUnitSearchFields,java.io.Serializable
- Direct Known Subclasses:
UnitUserSearchFields
public abstract class DefaultUnitSearchFields extends java.lang.Object implements IUnitSearchFields, java.io.Serializable
DefaultUnitSearchFields- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DefaultUnitSearchFields()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.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-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface fr.paris.lutece.plugins.unittree.web.action.IUnitSearchFields
fillModelForUserSearchForm
-
-
-
-
Method Detail
-
getCurrentPageIndex
public java.lang.String getCurrentPageIndex()
Current page index- Specified by:
getCurrentPageIndexin interfaceIUnitSearchFields- Returns:
- current page index
-
getDefaultItemsPerPage
public int getDefaultItemsPerPage()
Default items per page- Specified by:
getDefaultItemsPerPagein interfaceIUnitSearchFields- Returns:
- default items per page
-
setCurrentPageIndex
public void setCurrentPageIndex(java.lang.String strCurrentPageIndex)
Current page index- Specified by:
setCurrentPageIndexin interfaceIUnitSearchFields- Parameters:
strCurrentPageIndex- current page index
-
setDefaultItemsPerPage
public void setDefaultItemsPerPage(int nDefaultItemsPerPage)
Default items per page- Specified by:
setDefaultItemsPerPagein interfaceIUnitSearchFields- Parameters:
nDefaultItemsPerPage- default items per page
-
getItemsPerPage
public int getItemsPerPage()
Get the items per page- Specified by:
getItemsPerPagein interfaceIUnitSearchFields- Returns:
- the items per page
-
setItemsPerPage
public void setItemsPerPage(int nItemsPerPage)
Set the items per page- Specified by:
setItemsPerPagein interfaceIUnitSearchFields- Parameters:
nItemsPerPage- the items per page
-
setInDepthSearch
public 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- Specified by:
setInDepthSearchin interfaceIUnitSearchFields- Parameters:
request- the HTTP request
-
isInDepthSearch
public boolean isInDepthSearch()
Check if it is an in depth search- Specified by:
isInDepthSearchin interfaceIUnitSearchFields- Returns:
- true if it is an in depth search, false otherwise
-
getSortedAttributeName
public java.lang.String getSortedAttributeName()
Get the sorted attribute name- Specified by:
getSortedAttributeNamein interfaceIUnitSearchFields- Returns:
- the sorted attibute name
-
setSortedAttributeName
public void setSortedAttributeName(javax.servlet.http.HttpServletRequest request)
Set the sorted attribute name from the HTTP request- Specified by:
setSortedAttributeNamein interfaceIUnitSearchFields- Parameters:
request- the HTTP request
-
isAscSort
public boolean isAscSort()
Check if it is an asc sort- Specified by:
isAscSortin interfaceIUnitSearchFields- Returns:
- true if it is an asc sort, false otherwise
-
setAscSort
public void setAscSort(javax.servlet.http.HttpServletRequest request)
Set the asc sort from the HTTP request- Specified by:
setAscSortin interfaceIUnitSearchFields- Parameters:
request- the HTTP request
-
-