org.exoplatform.forum.create
Class CreateUtils
java.lang.Object
org.exoplatform.forum.create.CreateUtils
public class CreateUtils
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SPACES_GROUP
public static final String SPACES_GROUP
- See Also:
- Constant Field Values
CATEGORY
public static final String CATEGORY
- See Also:
- Constant Field Values
CreateUtils
public CreateUtils()
getAllPortalNames
public static List<String> getAllPortalNames()
getCurrentPortalName
public static String getCurrentPortalName()
buildLink
public static String buildLink(String categoryId,
String forumId,
String topicId)
- Parameters:
categoryId - forumId - topicId -
- Returns:
buildLink
public static String buildLink(String categoryId,
String forumId,
String topicId,
String siteName)
- Parameters:
categoryId - forumId - topicId -
- Returns:
buildSpaceLink
public static String buildSpaceLink(String spaceGroupId,
String objectType,
String objectId)
throws Exception
- Parameters:
spaceGroupId - objectType - objectId -
- Returns:
-
- Throws:
Exception
getSiteName
public static String getSiteName(org.exoplatform.portal.mop.SiteKey siteKey)
getSiteHomeURL
public static String getSiteHomeURL(String portalName,
String nodeURI)
- Parameters:
portalName - nodeURI -
- Returns:
getSpaceHomeURL
public static String getSpaceHomeURL(String spaceGroupId)
- Gets the space home url of a space.
- Parameters:
spaceGroupId -
- Returns:
- Since:
- 4.0
Copyright © 2003-2013 eXo Platform SAS. All Rights Reserved.