Package com.liferay.commerce.media
Class CommerceMediaResolverUtil
java.lang.Object
com.liferay.commerce.media.CommerceMediaResolverUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
getDefaultURL
(long groupId) static String
getDownloadURL
(long commerceAccountId, long cpAttachmentFileEntryId) static String
getThumbnailURL
(long commerceAccountId, long cpAttachmentFileEntryId) static String
getURL
(long commerceAccountId, long cpAttachmentFileEntryId)
-
Constructor Details
-
CommerceMediaResolverUtil
public CommerceMediaResolverUtil()
-
-
Method Details
-
getDefaultURL
-
getDownloadURL
public static String getDownloadURL(long commerceAccountId, long cpAttachmentFileEntryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getThumbnailURL
public static String getThumbnailURL(long commerceAccountId, long cpAttachmentFileEntryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getURL
public static String getURL(long commerceAccountId, long cpAttachmentFileEntryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-