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 Details

    • CSUtils

      public CSUtils()
  • Method Details

    • 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)
    • isMemberof

      public static boolean isMemberof(String user, String groupId)
    • canManage

      public static Boolean canManage()
    • getNextDate

      public static Calendar getNextDate(Calendar c, long delay)
    • getDiffBetweenTwoDates

      public static long getDiffBetweenTwoDates(Calendar c1, Calendar c2)
    • formatDate

      public static String formatDate(String date, TimeZone timezone)
    • getUserTimezone

      public static TimeZone getUserTimezone(String username)
    • getDefaultState

      public static String getDefaultState(String flow)
    • 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