Class BaseMBListDisplayContext
java.lang.Object
com.liferay.portal.kernel.display.context.BaseDisplayContext<T>
com.liferay.message.boards.display.context.BaseMBDisplayContext<MBListDisplayContext>
com.liferay.message.boards.display.context.BaseMBListDisplayContext
- All Implemented Interfaces:
MBDisplayContext,MBListDisplayContext,com.liferay.portal.kernel.display.context.DisplayContext
public class BaseMBListDisplayContext
extends BaseMBDisplayContext<MBListDisplayContext>
implements MBListDisplayContext
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.display.context.BaseDisplayContext
parentDisplayContext, request, response -
Constructor Summary
ConstructorsConstructorDescriptionBaseMBListDisplayContext(UUID uuid, MBListDisplayContext parentDisplayContext, javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse) -
Method Summary
Modifier and TypeMethodDescriptionintintbooleanbooleanbooleanvoidpopulateCategoriesResultsAndTotal(com.liferay.portal.kernel.dao.search.SearchContainer searchContainer) voidpopulateThreadsResultsAndTotal(com.liferay.portal.kernel.dao.search.SearchContainer searchContainer) voidsetCategoryEntriesDelta(com.liferay.portal.kernel.dao.search.SearchContainer searchContainer) voidsetThreadEntriesDelta(com.liferay.portal.kernel.dao.search.SearchContainer searchContainer) Methods inherited from class com.liferay.portal.kernel.display.context.BaseDisplayContext
getUuidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.liferay.portal.kernel.display.context.DisplayContext
getUuid
-
Constructor Details
-
BaseMBListDisplayContext
public BaseMBListDisplayContext(UUID uuid, MBListDisplayContext parentDisplayContext, javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse)
-
-
Method Details
-
getCategoryEntriesDelta
public int getCategoryEntriesDelta()- Specified by:
getCategoryEntriesDeltain interfaceMBListDisplayContext
-
getEmptyResultsMessage
- Specified by:
getEmptyResultsMessagein interfaceMBListDisplayContext
-
getThreadEntriesDelta
public int getThreadEntriesDelta()- Specified by:
getThreadEntriesDeltain interfaceMBListDisplayContext
-
isShowMyPosts
public boolean isShowMyPosts()- Specified by:
isShowMyPostsin interfaceMBListDisplayContext
-
isShowRecentPosts
public boolean isShowRecentPosts()- Specified by:
isShowRecentPostsin interfaceMBListDisplayContext
-
isShowSearch
public boolean isShowSearch()- Specified by:
isShowSearchin interfaceMBListDisplayContext
-
populateCategoriesResultsAndTotal
public void populateCategoriesResultsAndTotal(com.liferay.portal.kernel.dao.search.SearchContainer searchContainer) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
populateCategoriesResultsAndTotalin interfaceMBListDisplayContext- Throws:
com.liferay.portal.kernel.exception.PortalException
-
populateThreadsResultsAndTotal
public void populateThreadsResultsAndTotal(com.liferay.portal.kernel.dao.search.SearchContainer searchContainer) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
populateThreadsResultsAndTotalin interfaceMBListDisplayContext- Throws:
com.liferay.portal.kernel.exception.PortalException
-
setCategoryEntriesDelta
public void setCategoryEntriesDelta(com.liferay.portal.kernel.dao.search.SearchContainer searchContainer) - Specified by:
setCategoryEntriesDeltain interfaceMBListDisplayContext
-
setThreadEntriesDelta
public void setThreadEntriesDelta(com.liferay.portal.kernel.dao.search.SearchContainer searchContainer) - Specified by:
setThreadEntriesDeltain interfaceMBListDisplayContext
-