Interface IResourceExtenderSearchFields
- All Known Implementing Classes:
ResourceExtenderSearchFields
public interface IResourceExtenderSearchFields
IResourceExtenderSearchFields
-
Method Summary
Modifier and TypeMethodDescriptionvoidfillModel(String strBaseUrl, javax.servlet.http.HttpServletRequest request, Map<String, Object> model, fr.paris.lutece.portal.business.user.AdminUser user) Fill model.voidfillModel(String strBaseUrl, javax.servlet.http.HttpServletRequest request, Map<String, Object> model, String strIdExtendableResource, fr.paris.lutece.portal.business.user.AdminUser user) Fill model.Current page indexintDefault items per pageintGet the items per pageGet the sorted attribute namevoidinitFilter(javax.servlet.http.HttpServletRequest request) Inits the filter.booleanCheck if it is an asc sortvoidsetAscSort(javax.servlet.http.HttpServletRequest request) Set the asc sort from the HTTP requestvoidsetCurrentPageIndex(String strCurrentPageIndex) Current page indexvoidsetDefaultItemsPerPage(int nDefaultItemsPerPage) Default items per pagevoidsetItemsPerPage(int nItemsPerPage) Set the items per pagevoidsetSortedAttributeName(javax.servlet.http.HttpServletRequest request) Set the sorted attribute name from the HTTP request
-
Method Details
-
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
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
-
fillModel
void fillModel(String strBaseUrl, javax.servlet.http.HttpServletRequest request, Map<String, Object> model, String strIdExtendableResource, fr.paris.lutece.portal.business.user.AdminUser user) throws fr.paris.lutece.portal.service.admin.AccessDeniedExceptionFill model.- Parameters:
strBaseUrl- the str base urlrequest- the requestmodel- the modelstrIdExtendableResource- the str id extendable resourceuser- the user- Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException- the access denied exception
-
fillModel
void fillModel(String strBaseUrl, javax.servlet.http.HttpServletRequest request, Map<String, Object> model, fr.paris.lutece.portal.business.user.AdminUser user) throws fr.paris.lutece.portal.service.admin.AccessDeniedExceptionFill model.- Parameters:
strBaseUrl- the str base urlrequest- the requestmodel- the modeluser- the user- Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException- the access denied exception
-
initFilter
void initFilter(javax.servlet.http.HttpServletRequest request) Inits the filter.- Parameters:
request- the request
-