@ProviderType
public interface CPContentHelper
Modifier and Type | Method and Description |
---|---|
com.liferay.portal.kernel.json.JSONObject |
getAvailabilityContentContributorValueJSONObject(CPCatalogEntry cpCatalogEntry,
javax.servlet.http.HttpServletRequest httpServletRequest) |
java.lang.String |
getAvailabilityEstimateLabel(javax.servlet.http.HttpServletRequest httpServletRequest) |
java.lang.String |
getAvailabilityLabel(javax.servlet.http.HttpServletRequest httpServletRequest) |
java.util.List<CPDefinitionSpecificationOptionValue> |
getCategorizedCPDefinitionSpecificationOptionValues(long cpDefinitionId,
long cpOptionCategoryId) |
java.util.List<CPMedia> |
getCPAttachmentFileEntries(long cpDefinitionId,
com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) |
CPCatalogEntry |
getCPCatalogEntry(javax.servlet.http.HttpServletRequest httpServletRequest) |
com.liferay.portal.kernel.json.JSONObject |
getCPContentContributorValueJSONObject(java.lang.String contributorKey,
CPCatalogEntry cpCatalogEntry,
javax.servlet.http.HttpServletRequest httpServletRequest) |
com.liferay.portal.kernel.json.JSONObject |
getCPContentContributorValueJSONObject(java.lang.String contributorKey,
javax.servlet.http.HttpServletRequest httpServletRequest) |
java.lang.String |
getCPContentRendererKey(java.lang.String type,
javax.portlet.RenderRequest renderRequest) |
java.util.List<CPContentRenderer> |
getCPContentRenderers(java.lang.String cpType) |
com.liferay.portal.kernel.repository.model.FileVersion |
getCPDefinitionImageFileVersion(long cpDefinitionId,
javax.servlet.http.HttpServletRequest httpServletRequest) |
java.util.List<CPDefinitionSpecificationOptionValue> |
getCPDefinitionSpecificationOptionValues(long cpDefinitionId) |
java.util.List<CPOptionCategory> |
getCPOptionCategories(long companyId) |
java.util.List<CPType> |
getCPTypes() |
CPInstance |
getDefaultCPInstance(CPCatalogEntry cpCatalogEntry) |
CPInstance |
getDefaultCPInstance(javax.servlet.http.HttpServletRequest httpServletRequest) |
CPSku |
getDefaultCPSku(CPCatalogEntry cpCatalogEntry) |
java.lang.String |
getDefaultImageFileURL(long commerceAccountId,
long cpDefinitionId) |
java.lang.String |
getDownloadFileEntryURL(com.liferay.portal.kernel.repository.model.FileEntry fileEntry,
com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) |
java.lang.String |
getFriendlyURL(CPCatalogEntry cpCatalogEntry,
com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) |
java.util.List<CPMedia> |
getImages(long cpDefinitionId,
com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) |
java.lang.String |
getImageURL(com.liferay.portal.kernel.repository.model.FileEntry fileEntry,
com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) |
java.lang.String |
getReplacementCommerceProductFriendlyURL(long cProductId,
java.lang.String cpIntanceUuid,
com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) |
java.lang.String |
getStockQuantity(javax.servlet.http.HttpServletRequest httpServletRequest) |
java.lang.String |
getStockQuantityLabel(javax.servlet.http.HttpServletRequest httpServletRequest) |
java.lang.String |
getSubscriptionInfoLabel(javax.servlet.http.HttpServletRequest httpServletRequest) |
javax.portlet.ResourceURL |
getViewAttachmentURL(com.liferay.portal.kernel.portlet.LiferayPortletRequest liferayPortletRequest,
com.liferay.portal.kernel.portlet.LiferayPortletResponse liferayPortletResponse) |
boolean |
hasChildCPDefinitions(long cpDefinitionId) |
boolean |
hasCPDefinitionOptionRels(long cpDefinitionId) |
boolean |
hasCPDefinitionSpecificationOptionValues(long cpDefinitionId) |
boolean |
isInWishList(CPSku cpSku,
CPCatalogEntry cpCatalogEntry,
com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) |
void |
renderCPType(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse) |
java.lang.String |
renderOptions(javax.portlet.RenderRequest renderRequest,
javax.portlet.RenderResponse renderResponse) |
com.liferay.portal.kernel.json.JSONObject getAvailabilityContentContributorValueJSONObject(CPCatalogEntry cpCatalogEntry, javax.servlet.http.HttpServletRequest httpServletRequest) throws java.lang.Exception
java.lang.Exception
java.lang.String getAvailabilityEstimateLabel(javax.servlet.http.HttpServletRequest httpServletRequest) throws java.lang.Exception
java.lang.Exception
java.lang.String getAvailabilityLabel(javax.servlet.http.HttpServletRequest httpServletRequest) throws java.lang.Exception
java.lang.Exception
java.util.List<CPDefinitionSpecificationOptionValue> getCategorizedCPDefinitionSpecificationOptionValues(long cpDefinitionId, long cpOptionCategoryId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
java.util.List<CPMedia> getCPAttachmentFileEntries(long cpDefinitionId, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
CPCatalogEntry getCPCatalogEntry(javax.servlet.http.HttpServletRequest httpServletRequest) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.json.JSONObject getCPContentContributorValueJSONObject(java.lang.String contributorKey, CPCatalogEntry cpCatalogEntry, javax.servlet.http.HttpServletRequest httpServletRequest) throws java.lang.Exception
java.lang.Exception
com.liferay.portal.kernel.json.JSONObject getCPContentContributorValueJSONObject(java.lang.String contributorKey, javax.servlet.http.HttpServletRequest httpServletRequest) throws java.lang.Exception
java.lang.Exception
java.lang.String getCPContentRendererKey(java.lang.String type, javax.portlet.RenderRequest renderRequest)
java.util.List<CPContentRenderer> getCPContentRenderers(java.lang.String cpType)
com.liferay.portal.kernel.repository.model.FileVersion getCPDefinitionImageFileVersion(long cpDefinitionId, javax.servlet.http.HttpServletRequest httpServletRequest) throws java.lang.Exception
java.lang.Exception
java.util.List<CPDefinitionSpecificationOptionValue> getCPDefinitionSpecificationOptionValues(long cpDefinitionId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
java.util.List<CPOptionCategory> getCPOptionCategories(long companyId)
java.util.List<CPType> getCPTypes()
CPInstance getDefaultCPInstance(CPCatalogEntry cpCatalogEntry) throws java.lang.Exception
java.lang.Exception
CPInstance getDefaultCPInstance(javax.servlet.http.HttpServletRequest httpServletRequest) throws java.lang.Exception
java.lang.Exception
CPSku getDefaultCPSku(CPCatalogEntry cpCatalogEntry) throws java.lang.Exception
java.lang.Exception
java.lang.String getDefaultImageFileURL(long commerceAccountId, long cpDefinitionId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
java.lang.String getDownloadFileEntryURL(com.liferay.portal.kernel.repository.model.FileEntry fileEntry, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
java.lang.String getFriendlyURL(CPCatalogEntry cpCatalogEntry, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
java.util.List<CPMedia> getImages(long cpDefinitionId, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
java.lang.String getImageURL(com.liferay.portal.kernel.repository.model.FileEntry fileEntry, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) throws java.lang.Exception
java.lang.Exception
java.lang.String getReplacementCommerceProductFriendlyURL(long cProductId, java.lang.String cpIntanceUuid, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
java.lang.String getStockQuantity(javax.servlet.http.HttpServletRequest httpServletRequest) throws java.lang.Exception
java.lang.Exception
java.lang.String getStockQuantityLabel(javax.servlet.http.HttpServletRequest httpServletRequest) throws java.lang.Exception
java.lang.Exception
java.lang.String getSubscriptionInfoLabel(javax.servlet.http.HttpServletRequest httpServletRequest) throws java.lang.Exception
java.lang.Exception
javax.portlet.ResourceURL getViewAttachmentURL(com.liferay.portal.kernel.portlet.LiferayPortletRequest liferayPortletRequest, com.liferay.portal.kernel.portlet.LiferayPortletResponse liferayPortletResponse) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
boolean hasChildCPDefinitions(long cpDefinitionId)
boolean hasCPDefinitionOptionRels(long cpDefinitionId)
boolean hasCPDefinitionSpecificationOptionValues(long cpDefinitionId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
boolean isInWishList(CPSku cpSku, CPCatalogEntry cpCatalogEntry, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) throws java.lang.Exception
java.lang.Exception
void renderCPType(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse) throws java.lang.Exception
java.lang.Exception
java.lang.String renderOptions(javax.portlet.RenderRequest renderRequest, javax.portlet.RenderResponse renderResponse) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException