Package org.exoplatform.cs.service.util
Class CSUtils
- java.lang.Object
-
- org.exoplatform.cs.service.util.CSUtils
-
public class CSUtils extends Object
Created by IntelliJ IDEA. User: ali Date: 30/01/17 Time: 17:55
-
-
Constructor Summary
Constructors Constructor Description CSUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BooleancanManage()static StringformatDate(String date, TimeZone timezone)static StringgetDefaultState(String flow)static longgetDiffBetweenTwoDates(Calendar c1, Calendar c2)static List<org.exoplatform.services.organization.User>getGroupMembers(String groupId)static List<org.exoplatform.services.organization.User>getInternalSupportMembers()static StringgetInternalSupportTeamGroup()static CalendargetNextDate(Calendar c, long delay)static org.exoplatform.portal.config.model.PagegetPage(org.exoplatform.portal.config.DataStorage dataStorage, org.exoplatform.portal.mop.page.PageService pageService, org.exoplatform.portal.mop.page.PageKey pageKey)static List<org.exoplatform.services.organization.User>getSupportAutoAssignees()static List<org.exoplatform.services.organization.User>getSupportManagers()static StringgetSupportManagersGroup()Get the group ID for the support teamstatic List<org.exoplatform.services.organization.User>getSupportMembers()static StringgetSupportTeamGroup()Get the group ID for the support teamstatic TimeZonegetUserTimezone(String username)static booleanisMemberof(String user, String groupId)
-
-
-
Method Detail
-
getSupportMembers
public static List<org.exoplatform.services.organization.User> getSupportMembers()
-
getInternalSupportMembers
public static List<org.exoplatform.services.organization.User> getInternalSupportMembers()
-
getSupportTeamGroup
public static String getSupportTeamGroup()
Get the group ID for the support team- Returns:
-
getInternalSupportTeamGroup
public static String getInternalSupportTeamGroup()
-
getSupportManagers
public static List<org.exoplatform.services.organization.User> getSupportManagers()
-
getSupportAutoAssignees
public static List<org.exoplatform.services.organization.User> getSupportAutoAssignees()
-
getSupportManagersGroup
public static String getSupportManagersGroup()
Get the group ID for the support team- Returns:
-
getGroupMembers
public static List<org.exoplatform.services.organization.User> getGroupMembers(String groupId)
-
canManage
public static Boolean canManage()
-
-