Interface UserQuery

    • Method Detail

      • getUsername

        String getUsername()
        Returns the case insensitive substring user name criteria.
        Returns:
        the username criteria.
      • setUsername

        void setUsername​(String userName)
        Sets the case insensitive substring user name criteria.
        Parameters:
        userName - the username criteria
      • getFullName

        String getFullName()
        Returns the case insensitive substring full name criteria.
        Returns:
        the username criteria.
      • setFullName

        void setFullName​(String fullName)
        Sets the case insensitive substring full name criteria.
        Parameters:
        fullName - the full name criteria
      • getEmail

        String getEmail()
        Returns the case insensitive substring email criteria.
        Returns:
        the email criteria.
      • setEmail

        void setEmail​(String email)
        Sets the case insensitive substring email criteria.
        Parameters:
        email - the email criteria
      • getFirstResult

        long getFirstResult()
        Returns the index (zero based) of the first result to include. Useful for paging.
        Returns:
        the first index
      • setFirstResult

        void setFirstResult​(int firstResult)
        Sets the index (zero based) of the first result to include. Useful for paging.
        Parameters:
        firstResult - the first index
      • getMaxResults

        long getMaxResults()
        Returns the maximum number of users to return.
        Returns:
        the maximum number of users to return.
      • setMaxResults

        void setMaxResults​(int maxResults)
        Sets the maximum number of users to return.
        Parameters:
        maxResults - the maximum number of users to return.
      • isAscending

        boolean isAscending()
        Returns true if the results should be returned in ascending order.
        Returns:
        ascending
      • setAscending

        void setAscending​(boolean ascending)
        Set this to true if the results should be returned in ascending order.
        Parameters:
        ascending - true if the results should be returned in ascending