public class CSUtils extends Object
| Constructor and Description |
|---|
CSUtils() |
| Modifier and Type | Method and Description |
|---|---|
static Boolean |
canManage() |
static String |
formatDate(String date,
TimeZone timezone) |
static long |
getDiffBetweenTwoDates(Calendar c1,
Calendar c2) |
static List<org.exoplatform.services.organization.User> |
getGroupMembers(String groupId) |
static Calendar |
getNextDate(Calendar c,
long delay) |
static List<org.exoplatform.services.organization.User> |
getSupportManagers() |
static String |
getSupportManagersGroup()
Get the group ID for the support team
|
static List<org.exoplatform.services.organization.User> |
getSupportMembers() |
static String |
getSupportTeamGroup()
Get the group ID for the support team
|
static TimeZone |
getUserTimezone(String username) |
static boolean |
isMemberof(String user,
String groupId) |
public static List<org.exoplatform.services.organization.User> getSupportMembers() throws Exception
Exceptionpublic static String getSupportTeamGroup()
public static List<org.exoplatform.services.organization.User> getSupportManagers() throws Exception
Exceptionpublic static String getSupportManagersGroup()
public static List<org.exoplatform.services.organization.User> getGroupMembers(String groupId) throws Exception
Exceptionpublic static Boolean canManage()
Copyright © 2003–2018 eXo Platform SAS. All rights reserved.