Interface UserBaseQuery<T extends UserBaseQuery<T,​U>,​U extends User>

  • All Superinterfaces:
    Query<T,​U>
    All Known Subinterfaces:
    UserQuery

    public interface UserBaseQuery<T extends UserBaseQuery<T,​U>,​U extends User>
    extends Query<T,​U>
    Allows programmatic querying of User
    Author:
    Joram Barrez, Filip Hrisafov
    • Method Detail

      • userId

        T userId​(String id)
        Only select Users with the given id/
      • userIds

        T userIds​(List<String> ids)
        Only select Users with the given ids/
      • userIdIgnoreCase

        T userIdIgnoreCase​(String id)
        Only select Users with the given id (ignoring case) /
      • userFirstName

        T userFirstName​(String firstName)
        Only select Users with the given firstName.
      • userFirstNameLike

        T userFirstNameLike​(String firstNameLike)
        Only select Users where the first name matches the given parameter. The syntax is that of SQL, eg. %name%.
      • userFirstNameLikeIgnoreCase

        T userFirstNameLikeIgnoreCase​(String firstNameLikeIgnoreCase)
        Only select Users where the first name matches the given parameter (ignoring case). The syntax is that of SQL, eg. %name%.
      • userLastName

        T userLastName​(String lastName)
        Only select Users with the given lastName.
      • userLastNameLike

        T userLastNameLike​(String lastNameLike)
        Only select Users where the last name matches the given parameter. The syntax is that of SQL, eg. %name%.
      • userLastNameLikeIgnoreCase

        T userLastNameLikeIgnoreCase​(String lastNameLikeIgnoreCase)
        Only select Users where the last name matches the given parameter (ignoring case). The syntax is that of SQL, eg. %name%.
      • userFullNameLike

        T userFullNameLike​(String fullNameLike)
        Only select Users where the full name matches the given parameters. Both the first name and last name will be tried, ie in semi-sql: where firstName like xxx or lastname like xxx
      • userFullNameLikeIgnoreCase

        T userFullNameLikeIgnoreCase​(String fullNameLikeIgnoreCase)
        Only select Users where the full name matches the given parameters (ignoring case). Both the first name and last name will be tried, ie in semi-sql: where firstName like xxx or lastname like xxx
      • userDisplayName

        T userDisplayName​(String displayName)
        Only select Users with the given displayName.
      • userDisplayNameLike

        T userDisplayNameLike​(String displayNameLike)
        Only select Users where the display name matches the given parameter. The syntax is that of SQL, eg. %name%.
      • userDisplayNameLikeIgnoreCase

        T userDisplayNameLikeIgnoreCase​(String displayNameLikeIgnoreCase)
        Only select Users where the display name matches the given parameter (ignoring case). The syntax is that of SQL, eg. %name%.
      • userEmail

        T userEmail​(String email)
        Only those Users with the given email address.
      • userEmailLike

        T userEmailLike​(String emailLike)
        Only select Users where the email matches the given parameter. The syntax is that of SQL, eg. %test%.
      • memberOfGroup

        T memberOfGroup​(String groupId)
        Only select Users that belong to the given group.
      • memberOfGroups

        T memberOfGroups​(List<String> groupIds)
        Only select Users that belong to the given groups.
      • tenantId

        T tenantId​(String tenantId)
        Only select Users that belong to the given tenant.
      • orderByUserFirstName

        T orderByUserFirstName()
        Order by user first name (needs to be followed by Query.asc() or Query.desc()).
      • orderByUserLastName

        T orderByUserLastName()
        Order by user last name (needs to be followed by Query.asc() or Query.desc()).