com.atlassian.crowd.model.group
Class Groups

java.lang.Object
  extended by com.atlassian.crowd.model.group.Groups

public final class Groups
extends Object

Utility class for Group

Since:
v2.7

Field Summary
static com.google.common.base.Function<Group,String> LOWER_NAME_FUNCTION
          Deprecated. Use the more general DirectoryEntities.LOWER_NAME_FUNCTION.
static com.google.common.base.Function<Group,String> NAME_FUNCTION
          Deprecated. Use the more general DirectoryEntities.NAME_FUNCTION.
 
Method Summary
static Iterable<String> namesOf(Iterable<? extends Group> groups)
          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<Group,String> NAME_FUNCTION
Deprecated. Use the more general DirectoryEntities.NAME_FUNCTION.
A function that projects the group name


LOWER_NAME_FUNCTION

public static final com.google.common.base.Function<Group,String> LOWER_NAME_FUNCTION
Deprecated. Use the more general DirectoryEntities.LOWER_NAME_FUNCTION.
A function that projects the lowercase group name

Method Detail

namesOf

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

Transforms groups into their names.

Parameters:
groups - some groups
Returns:
their names


Copyright © 2015 Atlassian. All Rights Reserved.