Class BaseCommercePriceListDisplayContext<T>
java.lang.Object
com.liferay.commerce.price.list.display.context.BaseCommercePriceListDisplayContext<T>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final CommercePriceListActionHelper
protected final com.liferay.portal.kernel.security.permission.resource.ModelResourcePermission<CommercePriceList>
protected final javax.servlet.http.HttpServletRequest
protected final com.liferay.portal.kernel.portlet.LiferayPortletRequest
protected final com.liferay.portal.kernel.portlet.LiferayPortletResponse
protected com.liferay.portal.kernel.dao.search.SearchContainer<T>
-
Constructor Summary
ConstructorsConstructorDescriptionBaseCommercePriceListDisplayContext
(CommercePriceListActionHelper commercePriceListActionHelper, com.liferay.portal.kernel.security.permission.resource.ModelResourcePermission<CommercePriceList> commercePriceListModelResourcePermission, javax.servlet.http.HttpServletRequest httpServletRequest) -
Method Summary
Modifier and TypeMethodDescriptionlong
protected String
javax.portlet.PortletURL
com.liferay.portal.kernel.dao.search.RowChecker
abstract com.liferay.portal.kernel.dao.search.SearchContainer<T>
boolean
hasPermission
(long commercePriceListId, String actionId) boolean
hasPermission
(String actionId) boolean
isSearch()
boolean
void
setDefaultOrderByCol
(String defaultOrderByCol) void
setDefaultOrderByType
(String defaultOrderByType)
-
Field Details
-
commercePriceListActionHelper
-
commercePriceListModelResourcePermission
protected final com.liferay.portal.kernel.security.permission.resource.ModelResourcePermission<CommercePriceList> commercePriceListModelResourcePermission -
httpServletRequest
protected final javax.servlet.http.HttpServletRequest httpServletRequest -
liferayPortletRequest
protected final com.liferay.portal.kernel.portlet.LiferayPortletRequest liferayPortletRequest -
liferayPortletResponse
protected final com.liferay.portal.kernel.portlet.LiferayPortletResponse liferayPortletResponse -
searchContainer
-
-
Constructor Details
-
BaseCommercePriceListDisplayContext
public BaseCommercePriceListDisplayContext(CommercePriceListActionHelper commercePriceListActionHelper, com.liferay.portal.kernel.security.permission.resource.ModelResourcePermission<CommercePriceList> commercePriceListModelResourcePermission, javax.servlet.http.HttpServletRequest httpServletRequest)
-
-
Method Details
-
getCommercePriceList
public CommercePriceList getCommercePriceList() throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommercePriceListId
public long getCommercePriceListId() throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getKeywords
-
getOrderByCol
-
getOrderByType
-
getPortletURL
public javax.portlet.PortletURL getPortletURL() throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getRowChecker
public com.liferay.portal.kernel.dao.search.RowChecker getRowChecker() -
getSearchContainer
public abstract com.liferay.portal.kernel.dao.search.SearchContainer<T> getSearchContainer() throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
hasPermission
public boolean hasPermission(long commercePriceListId, String actionId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
hasPermission
-
isSearch
public boolean isSearch() -
isShowInfoPanel
public boolean isShowInfoPanel() -
setDefaultOrderByCol
-
setDefaultOrderByType
-