public class WikiUtil
extends java.lang.Object
Constructor and Description |
---|
WikiUtil() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getAttachmentURLPrefix(java.lang.String mainPath,
long plid,
long nodeId,
java.lang.String title) |
static com.liferay.portal.kernel.diff.DiffVersionsInfo |
getDiffVersionsInfo(long nodeId,
java.lang.String title,
double sourceVersion,
double targetVersion,
javax.servlet.http.HttpServletRequest request) |
static java.util.List<java.lang.String> |
getNodeNames(java.util.List<WikiNode> nodes) |
static java.util.List<WikiNode> |
getNodes(java.util.List<WikiNode> nodes,
java.lang.String[] hiddenNodes,
com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker) |
static java.util.List<WikiNode> |
orderNodes(java.util.List<WikiNode> nodes,
java.lang.String[] visibleNodeNames) |
static java.lang.String |
processContent(java.lang.String content) |
public static java.lang.String getAttachmentURLPrefix(java.lang.String mainPath, long plid, long nodeId, java.lang.String title)
public static com.liferay.portal.kernel.diff.DiffVersionsInfo getDiffVersionsInfo(long nodeId, java.lang.String title, double sourceVersion, double targetVersion, javax.servlet.http.HttpServletRequest request)
public static java.util.List<java.lang.String> getNodeNames(java.util.List<WikiNode> nodes)
public static java.util.List<WikiNode> getNodes(java.util.List<WikiNode> nodes, java.lang.String[] hiddenNodes, com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker)
public static java.util.List<WikiNode> orderNodes(java.util.List<WikiNode> nodes, java.lang.String[] visibleNodeNames)
public static java.lang.String processContent(java.lang.String content)