Class DefaultUnitSearchFields

java.lang.Object
fr.paris.lutece.plugins.unittree.web.action.DefaultUnitSearchFields
All Implemented Interfaces:
IUnitSearchFields, Serializable
Direct Known Subclasses:
UnitUserSearchFields

public abstract class DefaultUnitSearchFields extends Object implements IUnitSearchFields, Serializable
DefaultUnitSearchFields
See Also:
  • Constructor Details

    • DefaultUnitSearchFields

      public DefaultUnitSearchFields()
  • Method Details

    • getCurrentPageIndex

      public String getCurrentPageIndex()
      Current page index
      Specified by:
      getCurrentPageIndex in interface IUnitSearchFields
      Returns:
      current page index
    • getDefaultItemsPerPage

      public int getDefaultItemsPerPage()
      Default items per page
      Specified by:
      getDefaultItemsPerPage in interface IUnitSearchFields
      Returns:
      default items per page
    • setCurrentPageIndex

      public void setCurrentPageIndex(String strCurrentPageIndex)
      Current page index
      Specified by:
      setCurrentPageIndex in interface IUnitSearchFields
      Parameters:
      strCurrentPageIndex - current page index
    • setDefaultItemsPerPage

      public void setDefaultItemsPerPage(int nDefaultItemsPerPage)
      Default items per page
      Specified by:
      setDefaultItemsPerPage in interface IUnitSearchFields
      Parameters:
      nDefaultItemsPerPage - default items per page
    • getItemsPerPage

      public int getItemsPerPage()
      Get the items per page
      Specified by:
      getItemsPerPage in interface IUnitSearchFields
      Returns:
      the items per page
    • setItemsPerPage

      public void setItemsPerPage(int nItemsPerPage)
      Set the items per page
      Specified by:
      setItemsPerPage in interface IUnitSearchFields
      Parameters:
      nItemsPerPage - the items per page
    • setInDepthSearch

      public 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
      Specified by:
      setInDepthSearch in interface IUnitSearchFields
      Parameters:
      request - the HTTP request
    • isInDepthSearch

      public boolean isInDepthSearch()
      Check if it is an in depth search
      Specified by:
      isInDepthSearch in interface IUnitSearchFields
      Returns:
      true if it is an in depth search, false otherwise
    • getSortedAttributeName

      public String getSortedAttributeName()
      Get the sorted attribute name
      Specified by:
      getSortedAttributeName in interface IUnitSearchFields
      Returns:
      the sorted attibute name
    • setSortedAttributeName

      public void setSortedAttributeName(jakarta.servlet.http.HttpServletRequest request)
      Set the sorted attribute name from the HTTP request
      Specified by:
      setSortedAttributeName in interface IUnitSearchFields
      Parameters:
      request - the HTTP request
    • isAscSort

      public boolean isAscSort()
      Check if it is an asc sort
      Specified by:
      isAscSort in interface IUnitSearchFields
      Returns:
      true if it is an asc sort, false otherwise
    • setAscSort

      public void setAscSort(jakarta.servlet.http.HttpServletRequest request)
      Set the asc sort from the HTTP request
      Specified by:
      setAscSort in interface IUnitSearchFields
      Parameters:
      request - the HTTP request