Class BaseCommercePriceListDisplayContext<T>
java.lang.Object
com.liferay.commerce.price.list.display.context.BaseCommercePriceListDisplayContext<T>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final CommercePriceListActionHelperprotected final com.liferay.portal.kernel.security.permission.resource.ModelResourcePermission<CommercePriceList>protected final javax.servlet.http.HttpServletRequestprotected final com.liferay.portal.kernel.portlet.LiferayPortletRequestprotected final com.liferay.portal.kernel.portlet.LiferayPortletResponseprotected 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 TypeMethodDescriptionlongprotected Stringjavax.portlet.PortletURLcom.liferay.portal.kernel.dao.search.RowCheckerabstract com.liferay.portal.kernel.dao.search.SearchContainer<T>booleanhasPermission(long commercePriceListId, String actionId) booleanhasPermission(String actionId) booleanisSearch()booleanvoidsetDefaultOrderByCol(String defaultOrderByCol) voidsetDefaultOrderByType(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
-