public abstract class DefaultUnitSearchFields extends Object implements IUnitSearchFields, Serializable
Constructor and Description |
---|
DefaultUnitSearchFields() |
Modifier and Type | Method and Description |
---|---|
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
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
fillModelForUserSearchForm
public String getCurrentPageIndex()
getCurrentPageIndex
in interface IUnitSearchFields
public int getDefaultItemsPerPage()
getDefaultItemsPerPage
in interface IUnitSearchFields
public void setCurrentPageIndex(String strCurrentPageIndex)
setCurrentPageIndex
in interface IUnitSearchFields
strCurrentPageIndex
- current page indexpublic void setDefaultItemsPerPage(int nDefaultItemsPerPage)
setDefaultItemsPerPage
in interface IUnitSearchFields
nDefaultItemsPerPage
- default items per pagepublic int getItemsPerPage()
getItemsPerPage
in interface IUnitSearchFields
public void setItemsPerPage(int nItemsPerPage)
setItemsPerPage
in interface IUnitSearchFields
nItemsPerPage
- the items per pagepublic void setInDepthSearch(javax.servlet.http.HttpServletRequest request)
setInDepthSearch
in interface IUnitSearchFields
request
- the HTTP requestpublic boolean isInDepthSearch()
isInDepthSearch
in interface IUnitSearchFields
public String getSortedAttributeName()
getSortedAttributeName
in interface IUnitSearchFields
public void setSortedAttributeName(javax.servlet.http.HttpServletRequest request)
setSortedAttributeName
in interface IUnitSearchFields
request
- the HTTP requestpublic boolean isAscSort()
isAscSort
in interface IUnitSearchFields
public void setAscSort(javax.servlet.http.HttpServletRequest request)
setAscSort
in interface IUnitSearchFields
request
- the HTTP requestCopyright © 2017 City of Paris. All rights reserved.