Interface CommerceMediaResolver


@ProviderType public interface CommerceMediaResolver
  • Method Details

    • getDefaultURL

      String getDefaultURL(long groupId)
    • getDownloadURL

      String getDownloadURL(long commerceAccountId, long cpAttachmentFileEntryId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getDownloadVirtualOrderItemURL

      String getDownloadVirtualOrderItemURL(long commerceVirtualOrderItemId, long fileEntryId)
    • 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