Class CSRestUtils

java.lang.Object
org.exoplatform.cs.rest.utils.CSRestUtils

public class CSRestUtils extends Object
  • Constructor Details

    • CSRestUtils

      public CSRestUtils()
  • Method Details

    • getCurrentUser

      public static org.exoplatform.services.organization.User getCurrentUser() throws Exception
      Throws:
      Exception
    • getProfile

      public static final org.exoplatform.social.core.identity.model.Profile getProfile(String userName) throws Exception
      Throws:
      Exception
    • getSupportMemberGroupName

      public static String getSupportMemberGroupName()
    • getSupportMembers

      public static List<org.exoplatform.services.organization.User> getSupportMembers()
    • isSupportMember

      public static boolean isSupportMember()
    • extendCSSpace

      public static CSpace extendCSSpace(CSpace cSpace)
    • canManage

      public static final boolean canManage()
    • authorizedOnCS

      public static final boolean authorizedOnCS(String spaceGroupId)
    • getFiles

      public static List<org.exoplatform.commons.file.model.FileItem> getFiles(List<TicketAttachment> ticketAttachments) throws javax.jcr.RepositoryException
      Throws:
      javax.jcr.RepositoryException