|
|
@ -1,14 +1,5 @@ |
|
|
|
package it.tref.liferay.portos.firma.util; |
|
|
|
package it.tref.liferay.portos.firma.util; |
|
|
|
|
|
|
|
|
|
|
|
import com.fasterxml.jackson.databind.ObjectMapper; |
|
|
|
|
|
|
|
import com.liferay.portal.kernel.exception.SystemException; |
|
|
|
|
|
|
|
import com.liferay.portal.kernel.log.Log; |
|
|
|
|
|
|
|
import com.liferay.portal.kernel.log.LogFactoryUtil; |
|
|
|
|
|
|
|
import com.liferay.portal.model.PortletPreferences; |
|
|
|
|
|
|
|
import com.liferay.portal.service.PortletPreferencesLocalServiceUtil; |
|
|
|
|
|
|
|
import com.liferay.portal.util.PortletKeys; |
|
|
|
|
|
|
|
import com.liferay.portlet.PortletPreferencesFactoryUtil; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import java.io.File; |
|
|
|
import java.io.File; |
|
|
|
import java.io.IOException; |
|
|
|
import java.io.IOException; |
|
|
|
import java.io.InputStream; |
|
|
|
import java.io.InputStream; |
|
|
@ -23,6 +14,15 @@ import org.apache.http.entity.mime.content.ContentBody; |
|
|
|
import org.apache.http.entity.mime.content.FileBody; |
|
|
|
import org.apache.http.entity.mime.content.FileBody; |
|
|
|
import org.apache.http.impl.client.DefaultHttpClient; |
|
|
|
import org.apache.http.impl.client.DefaultHttpClient; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import com.fasterxml.jackson.databind.ObjectMapper; |
|
|
|
|
|
|
|
import com.liferay.portal.kernel.exception.SystemException; |
|
|
|
|
|
|
|
import com.liferay.portal.kernel.log.Log; |
|
|
|
|
|
|
|
import com.liferay.portal.kernel.log.LogFactoryUtil; |
|
|
|
|
|
|
|
import com.liferay.portal.model.PortletPreferences; |
|
|
|
|
|
|
|
import com.liferay.portal.service.PortletPreferencesLocalServiceUtil; |
|
|
|
|
|
|
|
import com.liferay.portal.util.PortletKeys; |
|
|
|
|
|
|
|
import com.liferay.portlet.PortletPreferencesFactoryUtil; |
|
|
|
|
|
|
|
|
|
|
|
public class FirmaUtil { |
|
|
|
public class FirmaUtil { |
|
|
|
|
|
|
|
|
|
|
|
private static final Log _log = LogFactoryUtil.getLog(FirmaUtil.class); |
|
|
|
private static final Log _log = LogFactoryUtil.getLog(FirmaUtil.class); |
|
|
|