public class GroupHelper
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
NO_TRUNCATION
Constant to signal that Strings should not be truncated
|
| Constructor and Description |
|---|
GroupHelper() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
getGroupLabel(java.util.Collection<GroupVO> groups,
int max_len)
Get a String as a concatenation of all group names.
|
static java.lang.String |
getMultipleUsersLabel(java.util.Collection<UserVO> users,
int max_len)
Get a String as a concatenation of all user's display.
|
public static final int NO_TRUNCATION
public static java.lang.String getGroupLabel(java.util.Collection<GroupVO> groups, int max_len)
groups - Collection of groupsmax_len - Maximum desired length of the returned Stringpublic static java.lang.String getMultipleUsersLabel(java.util.Collection<UserVO> users, int max_len)
users - Collection of all usersmax_len - Maximum desired length of the returned String