public class KBTestUtil
extends java.lang.Object
| Constructor and Description |
|---|
KBTestUtil() |
| Modifier and Type | Method and Description |
|---|---|
static com.liferay.knowledge.base.model.KBArticle |
addKBArticle(long groupId) |
static com.liferay.knowledge.base.model.KBComment |
addKBComment(long kbArticleId) |
static com.liferay.knowledge.base.model.KBFolder |
addKBFolder(long groupId) |
static com.liferay.knowledge.base.model.KBTemplate |
addKBTemplate(long groupId) |
public static com.liferay.knowledge.base.model.KBArticle addKBArticle(long groupId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static com.liferay.knowledge.base.model.KBComment addKBComment(long kbArticleId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static com.liferay.knowledge.base.model.KBFolder addKBFolder(long groupId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static com.liferay.knowledge.base.model.KBTemplate addKBTemplate(long groupId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException