public class CreateUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
CATEGORY |
static String |
SPACES_GROUP |
| Constructor and Description |
|---|
CreateUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
buildLink(String categoryId,
String forumId,
String topicId) |
static String |
buildLink(String categoryId,
String forumId,
String topicId,
String siteName) |
static String |
buildSpaceLink(String spaceGroupId,
String objectType,
String objectId) |
static List<String> |
getAllPortalNames() |
static String |
getCurrentPortalName() |
static String |
getSiteHomeURL(String portalName,
String nodeURI) |
static String |
getSiteName(org.exoplatform.portal.mop.SiteKey siteKey) |
static String |
getSpaceHomeURL(String spaceGroupId)
Gets the space home url of a space.
|
public static final String SPACES_GROUP
public static final String CATEGORY
public static String getCurrentPortalName()
public static String buildLink(String categoryId, String forumId, String topicId)
categoryId - forumId - topicId - public static String buildLink(String categoryId, String forumId, String topicId, String siteName)
categoryId - forumId - topicId - public static String buildSpaceLink(String spaceGroupId, String objectType, String objectId) throws Exception
spaceGroupId - objectType - objectId - Exceptionpublic static String getSiteName(org.exoplatform.portal.mop.SiteKey siteKey)
public static String getSiteHomeURL(String portalName, String nodeURI)
portalName - nodeURI - Copyright © 2003–2019 eXo Platform SAS. All rights reserved.