Package org.exoplatform.cs.rest.utils
Class CSRestUtils
java.lang.Object
org.exoplatform.cs.rest.utils.CSRestUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic final booleanauthorizedOnCS(String spaceGroupId) static final booleanstatic CSpaceextendCSSpace(CSpace cSpace) static org.exoplatform.services.organization.Userstatic List<org.exoplatform.commons.file.model.FileItem>getFiles(List<TicketAttachment> ticketAttachments) static final org.exoplatform.social.core.identity.model.ProfilegetProfile(String userName) static Stringstatic List<org.exoplatform.services.organization.User>static boolean
-
Constructor Details
-
CSRestUtils
public CSRestUtils()
-
-
Method Details
-
getCurrentUser
- Throws:
Exception
-
getProfile
public static final org.exoplatform.social.core.identity.model.Profile getProfile(String userName) throws Exception - Throws:
Exception
-
getSupportMemberGroupName
-
getSupportMembers
-
isSupportMember
public static boolean isSupportMember() -
extendCSSpace
-
canManage
public static final boolean canManage() -
authorizedOnCS
-
getFiles
public static List<org.exoplatform.commons.file.model.FileItem> getFiles(List<TicketAttachment> ticketAttachments) throws javax.jcr.RepositoryException - Throws:
javax.jcr.RepositoryException
-