Interface PlatformUserQuery

    • Method Detail

      • accessibleByUserWithUserDefinitionKey

        PlatformUserQuery accessibleByUserWithUserDefinitionKey​(java.lang.String userId,
                                                                java.lang.String userDefinitionKey)
        Query all users that are accessible by the user with the provided userId and userDefinitionKey.
        Parameters:
        userId - the id of the user for which users should be queried
        userDefinitionKey - the user definition key for the user for which users should be queried
      • userIdsNotIn

        PlatformUserQuery userIdsNotIn​(java.util.List<java.lang.String> ids)
      • userDefinitionKey

        PlatformUserQuery userDefinitionKey​(java.lang.String userDefinitionKey)
      • infoEquals

        PlatformUserQuery infoEquals​(java.lang.String name,
                                     java.lang.Object value)
        Checks for a user with the given info name and value.
        Parameters:
        name - the name of the info
        value - the value that the info should have
      • infoEqualsIgnoreCase

        PlatformUserQuery infoEqualsIgnoreCase​(java.lang.String name,
                                               java.lang.String value)
        Checks for a user with the given info name and value ignoring the case of the value.
        Parameters:
        name - the name of the info
        value - the value that the info should have
      • infoValueLike

        PlatformUserQuery infoValueLike​(java.lang.String name,
                                        java.lang.String valueLike)
        Checks for a user with the given info name and value like.
        Parameters:
        name - the name of the info
        valueLike - the value like the info should have ('%' has to be added by the caller itself)
      • infoValueLikeIgnoreCase

        PlatformUserQuery infoValueLikeIgnoreCase​(java.lang.String name,
                                                  java.lang.String valueLike)
        Checks for a user with the given info name and value like ignoring the case of the value.
        Parameters:
        name - the name of the info
        valueLike - the value like the info should have ('%' has to be added by the caller itself)
      • includeIdentityInfo

        PlatformUserQuery includeIdentityInfo()
        Query the user including the extra identity info. Implementations are allowed to include the identity info even without explicitly invoking this.
      • withoutTenantId

        PlatformUserQuery withoutTenantId()
        Query only users belonging to no tenant.
      • memberOfGroupKey

        PlatformUserQuery memberOfGroupKey​(java.lang.String groupKey)
        Only select PlatformUsers that belong to the group with the given key.
      • memberOfGroupKeys

        PlatformUserQuery memberOfGroupKeys​(java.util.Collection<java.lang.String> groupKeys)
        Only select PlatformUsers that belong to the groups with the given keys.
      • userIdsOrMemberOfGroupKeys

        PlatformUserQuery userIdsOrMemberOfGroupKeys​(java.util.Collection<java.lang.String> userIds,
                                                     java.util.Collection<java.lang.String> groupKeys)
        Only select PlatformUsers with the given user ids or that belong to the groups with the given keys.