Interface IUnitSearchFields

    • Method Detail

      • 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

        java.lang.String getCurrentPageIndex()
        Current page index
        Returns:
        current page index
      • setCurrentPageIndex

        void setCurrentPageIndex​(java.lang.String strCurrentPageIndex)
        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

        java.lang.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
      • fillModelForUserSearchForm

        void fillModelForUserSearchForm​(java.util.List<fr.paris.lutece.portal.business.user.AdminUser> listUsers,
                                        java.lang.String strBaseUrl,
                                        javax.servlet.http.HttpServletRequest request,
                                        java.util.Map<java.lang.String,​java.lang.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​(javax.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