public class KBSuggestionListDisplayContext
extends java.lang.Object
| Constructor and Description |
|---|
KBSuggestionListDisplayContext(javax.servlet.http.HttpServletRequest request,
java.lang.String templatePath,
com.liferay.knowledge.base.model.KBArticle kbArticle) |
KBSuggestionListDisplayContext(javax.servlet.http.HttpServletRequest request,
java.lang.String templatePath,
long groupId) |
| Modifier and Type | Method and Description |
|---|---|
int |
getCompletedKBCommentsCount() |
java.lang.String |
getEmptyResultsMessage() |
long |
getGroupId() |
int |
getInProgressKBCommentsCount() |
int |
getKBCommentsCount(int status) |
int |
getNewKBCommentsCount() |
java.lang.String |
getViewSuggestionURL(javax.portlet.PortletURL portletURL) |
java.lang.String |
getViewSuggestionURL(javax.portlet.RenderResponse renderResponse) |
boolean |
isShowKBArticleTitle() |
void |
populateResultsAndTotal(com.liferay.portal.kernel.dao.search.SearchContainer<com.liferay.knowledge.base.model.KBComment> searchContainer) |
public KBSuggestionListDisplayContext(javax.servlet.http.HttpServletRequest request,
java.lang.String templatePath,
com.liferay.knowledge.base.model.KBArticle kbArticle)
public KBSuggestionListDisplayContext(javax.servlet.http.HttpServletRequest request,
java.lang.String templatePath,
long groupId)
public int getCompletedKBCommentsCount()
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic java.lang.String getEmptyResultsMessage()
public long getGroupId()
public int getInProgressKBCommentsCount()
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic int getKBCommentsCount(int status)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic int getNewKBCommentsCount()
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic java.lang.String getViewSuggestionURL(javax.portlet.PortletURL portletURL)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic java.lang.String getViewSuggestionURL(javax.portlet.RenderResponse renderResponse)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic boolean isShowKBArticleTitle()
public void populateResultsAndTotal(com.liferay.portal.kernel.dao.search.SearchContainer<com.liferay.knowledge.base.model.KBComment> searchContainer)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException