com.atlassian.crowd.model.user
Class Users

java.lang.Object
  extended by com.atlassian.crowd.model.user.Users

public final class Users
extends Object

Utility class for User

Since:
v2.7

Field Summary
static com.google.common.base.Function<User,String> LOWER_NAME_FUNCTION
          Deprecated. Use the more general DirectoryEntities.LOWER_NAME_FUNCTION.
static com.google.common.base.Function<User,String> NAME_FUNCTION
          Deprecated. Use the more general DirectoryEntities.NAME_FUNCTION.
 
Method Summary
static Iterable<String> namesOf(Iterable<? extends User> users)
          Deprecated. Use the more general DirectoryEntities.namesOf(java.lang.Iterable).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME_FUNCTION

public static final com.google.common.base.Function<User,String> NAME_FUNCTION
Deprecated. Use the more general DirectoryEntities.NAME_FUNCTION.
A function that projects the user name


LOWER_NAME_FUNCTION

public static final com.google.common.base.Function<User,String> LOWER_NAME_FUNCTION
Deprecated. Use the more general DirectoryEntities.LOWER_NAME_FUNCTION.
A function that projects the lower case user name

Method Detail

namesOf

public static Iterable<String> namesOf(Iterable<? extends User> users)
Deprecated. Use the more general DirectoryEntities.namesOf(java.lang.Iterable).

Transforms users into their names.

Parameters:
users - some users
Returns:
their names


Copyright © 2015 Atlassian. All Rights Reserved.