Package com.liferay.commerce.media
Interface CommerceMediaResolver
@ProviderType
public interface CommerceMediaResolver
-
Method Summary
Modifier and TypeMethodDescriptiongetDefaultURL
(long groupId) getDownloadURL
(long commerceAccountId, long cpAttachmentFileEntryId) getDownloadVirtualOrderItemURL
(long commerceVirtualOrderItemId, long fileEntryId) getDownloadVirtualProductSampleURL
(String className, long classPK, long commerceAccountId, long fileEntryId) getDownloadVirtualProductURL
(String className, long classPK, long commerceAccountId, long fileEntryId) getThumbnailURL
(long commerceAccountId, long cpAttachmentFileEntryId) getURL
(long commerceAccountId, long cpAttachmentFileEntryId) getURL
(long commerceAccountId, long cpAttachmentFileEntryId, boolean download, boolean thumbnail) getURL
(long commerceAccountId, long cpAttachmentFileEntryId, boolean download, boolean thumbnail, boolean secure)
-
Method Details
-
getDefaultURL
-
getDownloadURL
String getDownloadURL(long commerceAccountId, long cpAttachmentFileEntryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getDownloadVirtualOrderItemURL
-
getDownloadVirtualProductSampleURL
String getDownloadVirtualProductSampleURL(String className, long classPK, long commerceAccountId, long fileEntryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getDownloadVirtualProductURL
String getDownloadVirtualProductURL(String className, long classPK, long commerceAccountId, long fileEntryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getThumbnailURL
String getThumbnailURL(long commerceAccountId, long cpAttachmentFileEntryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getURL
String getURL(long commerceAccountId, long cpAttachmentFileEntryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getURL
String getURL(long commerceAccountId, long cpAttachmentFileEntryId, boolean download, boolean thumbnail) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getURL
String getURL(long commerceAccountId, long cpAttachmentFileEntryId, boolean download, boolean thumbnail, boolean secure) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-