Package org.exoplatform.cs.service.util
Class CSUtils
java.lang.Object
org.exoplatform.cs.service.util.CSUtils
Created by IntelliJ IDEA.
User: ali
Date: 30/01/17
Time: 17:55
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Booleanstatic 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>static Stringstatic 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>static List<org.exoplatform.services.organization.User>static StringGet the group ID for the support teamstatic List<org.exoplatform.services.organization.User>static StringGet the group ID for the support teamstatic TimeZonegetUserTimezone(String username) static booleanisMemberof(String user, String groupId)
-
Constructor Details
-
CSUtils
public CSUtils()
-
-
Method Details
-
getSupportMembers
-
getInternalSupportMembers
-
getSupportTeamGroup
Get the group ID for the support team- Returns:
-
getInternalSupportTeamGroup
-
getSupportManagers
-
getSupportAutoAssignees
-
getSupportManagersGroup
Get the group ID for the support team- Returns:
-
getGroupMembers
-
isMemberof
-
canManage
-
getNextDate
-
getDiffBetweenTwoDates
-
formatDate
-
getUserTimezone
-
getDefaultState
-
getPage
public static org.exoplatform.portal.config.model.Page getPage(org.exoplatform.portal.config.DataStorage dataStorage, org.exoplatform.portal.mop.page.PageService pageService, org.exoplatform.portal.mop.page.PageKey pageKey) throws Exception - Throws:
Exception
-