Package org.exoplatform.forum.create
Class CreateUtils
java.lang.Object
org.exoplatform.forum.create.CreateUtils
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Stringstatic Stringstatic StringbuildSpaceLink(String spaceGroupId, String objectType, String objectId) static Stringstatic StringgetSiteHomeURL(String portalName, String nodeURI) static StringgetSiteName(org.exoplatform.portal.mop.SiteKey siteKey) static StringgetSpaceHomeURL(String spaceGroupId) Gets the space home url of a space.
-
Field Details
-
SPACES_GROUP
- See Also:
-
CATEGORY
- See Also:
-
-
Constructor Details
-
CreateUtils
public CreateUtils()
-
-
Method Details
-
getAllPortalNames
-
getCurrentPortalName
-
buildLink
- Parameters:
categoryId-forumId-topicId-- Returns:
-
buildLink
- 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
-
getSiteHomeURL
- Parameters:
portalName-nodeURI-- Returns:
-
getSpaceHomeURL
Gets the space home url of a space.- Parameters:
spaceGroupId-- Returns:
- Since:
- 4.0
-