Package org.exoplatform.cs.rest.utils
Class CSRestUtils
- java.lang.Object
-
- org.exoplatform.cs.rest.utils.CSRestUtils
-
public class CSRestUtils extends Object
-
-
Constructor Summary
Constructors Constructor Description CSRestUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanauthorizedOnCS(String spaceGroupId)static booleancanManage()static CSpaceextendCSSpace(CSpace cSpace)static org.exoplatform.services.organization.UsergetCurrentUser()static org.exoplatform.social.core.identity.model.ProfilegetProfile(String userName)static StringgetSupportMemberGroupName()static List<org.exoplatform.services.organization.User>getSupportMembers()static booleanisSupportMember()
-
-
-
Method Detail
-
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()
-
canManage
public static final boolean canManage()
-
authorizedOnCS
public static final boolean authorizedOnCS(String spaceGroupId)
-
-