Class CommerceMediaResolverUtil

java.lang.Object
com.liferay.commerce.media.CommerceMediaResolverUtil

public class CommerceMediaResolverUtil extends Object
  • Constructor Details

    • CommerceMediaResolverUtil

      public CommerceMediaResolverUtil()
  • Method Details

    • getDefaultURL

      public static String getDefaultURL(long groupId)
    • 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