Interface UploadResponseHandler


public interface UploadResponseHandler
  • Method Summary

    Modifier and Type
    Method
    Description
    com.liferay.portal.kernel.json.JSONObject
    onFailure(javax.portlet.PortletRequest portletRequest, com.liferay.portal.kernel.exception.PortalException portalException)
     
    com.liferay.portal.kernel.json.JSONObject
    onSuccess(com.liferay.portal.kernel.upload.UploadPortletRequest uploadPortletRequest, com.liferay.portal.kernel.repository.model.FileEntry fileEntry)
     
  • Method Details

    • onFailure

      com.liferay.portal.kernel.json.JSONObject onFailure(javax.portlet.PortletRequest portletRequest, com.liferay.portal.kernel.exception.PortalException portalException) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • onSuccess

      com.liferay.portal.kernel.json.JSONObject onSuccess(com.liferay.portal.kernel.upload.UploadPortletRequest uploadPortletRequest, com.liferay.portal.kernel.repository.model.FileEntry fileEntry) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException