Interface IUnitSearchFields

All Known Implementing Classes:
DefaultUnitSearchFields, UnitUserSearchFields

public interface IUnitSearchFields
IUnitPluginAction
  • 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

      void setCurrentPageIndex(String strCurrentPageIndex)
      Current page index
      Parameters:
      strCurrentPageIndex - current page index
    • setSortedAttributeName

      void setSortedAttributeName(jakarta.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(jakarta.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, jakarta.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(jakarta.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