diff --git a/liferay-plugins-sdk-6.2/portlets/portos-firma-portlet/build.xml b/liferay-plugins-sdk-6.2/portlets/portos-firma-portlet/build.xml index 9e64b9e2..1d83004a 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-firma-portlet/build.xml +++ b/liferay-plugins-sdk-6.2/portlets/portos-firma-portlet/build.xml @@ -2,5 +2,6 @@ + diff --git a/liferay-plugins-sdk-6.2/portlets/portos-firma-portlet/docroot/WEB-INF/lib/commons-codec.jar b/liferay-plugins-sdk-6.2/portlets/portos-firma-portlet/docroot/WEB-INF/lib/commons-codec.jar new file mode 100644 index 00000000..ef35f1c5 Binary files /dev/null and b/liferay-plugins-sdk-6.2/portlets/portos-firma-portlet/docroot/WEB-INF/lib/commons-codec.jar differ diff --git a/liferay-plugins-sdk-6.2/portlets/portos-firma-portlet/docroot/WEB-INF/lib/commons-logging.jar b/liferay-plugins-sdk-6.2/portlets/portos-firma-portlet/docroot/WEB-INF/lib/commons-logging.jar new file mode 100644 index 00000000..93a3b9f6 Binary files /dev/null and b/liferay-plugins-sdk-6.2/portlets/portos-firma-portlet/docroot/WEB-INF/lib/commons-logging.jar differ diff --git a/liferay-plugins-sdk-6.2/portlets/portos-firma-portlet/docroot/WEB-INF/lib/httpclient.jar b/liferay-plugins-sdk-6.2/portlets/portos-firma-portlet/docroot/WEB-INF/lib/httpclient.jar new file mode 100644 index 00000000..8af45610 Binary files /dev/null and b/liferay-plugins-sdk-6.2/portlets/portos-firma-portlet/docroot/WEB-INF/lib/httpclient.jar differ diff --git a/liferay-plugins-sdk-6.2/portlets/portos-firma-portlet/docroot/WEB-INF/lib/httpcore.jar b/liferay-plugins-sdk-6.2/portlets/portos-firma-portlet/docroot/WEB-INF/lib/httpcore.jar new file mode 100644 index 00000000..16ed0d16 Binary files /dev/null and b/liferay-plugins-sdk-6.2/portlets/portos-firma-portlet/docroot/WEB-INF/lib/httpcore.jar differ diff --git a/liferay-plugins-sdk-6.2/portlets/portos-firma-portlet/docroot/WEB-INF/lib/httpmime.jar b/liferay-plugins-sdk-6.2/portlets/portos-firma-portlet/docroot/WEB-INF/lib/httpmime.jar new file mode 100644 index 00000000..fe2cf8e3 Binary files /dev/null and b/liferay-plugins-sdk-6.2/portlets/portos-firma-portlet/docroot/WEB-INF/lib/httpmime.jar differ diff --git a/liferay-plugins-sdk-6.2/portlets/portos-firma-portlet/docroot/WEB-INF/lib/jackson-annotations.jar b/liferay-plugins-sdk-6.2/portlets/portos-firma-portlet/docroot/WEB-INF/lib/jackson-annotations.jar new file mode 100644 index 00000000..d19b67b0 Binary files /dev/null and b/liferay-plugins-sdk-6.2/portlets/portos-firma-portlet/docroot/WEB-INF/lib/jackson-annotations.jar differ diff --git a/liferay-plugins-sdk-6.2/portlets/portos-firma-portlet/docroot/WEB-INF/lib/jackson-core.jar b/liferay-plugins-sdk-6.2/portlets/portos-firma-portlet/docroot/WEB-INF/lib/jackson-core.jar new file mode 100644 index 00000000..3ddd6a0e Binary files /dev/null and b/liferay-plugins-sdk-6.2/portlets/portos-firma-portlet/docroot/WEB-INF/lib/jackson-core.jar differ diff --git a/liferay-plugins-sdk-6.2/portlets/portos-firma-portlet/docroot/WEB-INF/lib/jackson-databind.jar b/liferay-plugins-sdk-6.2/portlets/portos-firma-portlet/docroot/WEB-INF/lib/jackson-databind.jar new file mode 100644 index 00000000..1d155d36 Binary files /dev/null and b/liferay-plugins-sdk-6.2/portlets/portos-firma-portlet/docroot/WEB-INF/lib/jackson-databind.jar differ diff --git a/liferay-plugins-sdk-6.2/portlets/portos-firma-portlet/ivy.xml b/liferay-plugins-sdk-6.2/portlets/portos-firma-portlet/ivy.xml index 12a2dd41..c90498c1 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-firma-portlet/ivy.xml +++ b/liferay-plugins-sdk-6.2/portlets/portos-firma-portlet/ivy.xml @@ -14,5 +14,9 @@ + + + + \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-firma-portlet/ivy.xml.MD5 b/liferay-plugins-sdk-6.2/portlets/portos-firma-portlet/ivy.xml.MD5 index 5492befa..ddcc2b49 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-firma-portlet/ivy.xml.MD5 +++ b/liferay-plugins-sdk-6.2/portlets/portos-firma-portlet/ivy.xml.MD5 @@ -1 +1 @@ -5ce14a43480763a02a7a0f47d7f82801 +a15636541520cd34beccb182ca342eb1 diff --git a/liferay-plugins-sdk-6.2/shared/portos-firma-shared/.classpath b/liferay-plugins-sdk-6.2/shared/portos-firma-shared/.classpath new file mode 100644 index 00000000..504c4212 --- /dev/null +++ b/liferay-plugins-sdk-6.2/shared/portos-firma-shared/.classpath @@ -0,0 +1,6 @@ + + + + + + diff --git a/liferay-plugins-sdk-6.2/shared/portos-firma-shared/.gitignore b/liferay-plugins-sdk-6.2/shared/portos-firma-shared/.gitignore index 840e7d31..163dddc4 100644 --- a/liferay-plugins-sdk-6.2/shared/portos-firma-shared/.gitignore +++ b/liferay-plugins-sdk-6.2/shared/portos-firma-shared/.gitignore @@ -1 +1,2 @@ /classes/ +/bin/ diff --git a/liferay-plugins-sdk-6.2/shared/portos-firma-shared/src/it/tref/firma/shared/RestFile.java b/liferay-plugins-sdk-6.2/shared/portos-firma-shared/src/it/tref/firma/shared/RestFile.java new file mode 100644 index 00000000..d09f4f45 --- /dev/null +++ b/liferay-plugins-sdk-6.2/shared/portos-firma-shared/src/it/tref/firma/shared/RestFile.java @@ -0,0 +1,92 @@ +package it.tref.firma.shared; + +import java.io.Serializable; +import java.util.Date; + +public class RestFile implements Serializable { + private static final long serialVersionUID = 560778228734037313L; + + private Integer idFile; + private String nomeFile; + private Date dataInvio; + private String documentiType; + private String tipoPratica; + private String file; + + public RestFile() { + this.idFile = Integer.valueOf(-1); + this.dataInvio = new Date(); + this.nomeFile = ""; + this.documentiType = ""; + this.tipoPratica = ""; + setFile(""); + } + + public String toString() { + StringBuilder sb = new StringBuilder(); + if (this.idFile != null) { + sb.append("Id = "); + sb.append(this.idFile); + sb.append(" "); + } + if (this.documentiType != null) { + sb.append("Documenti type = "); + sb.append(this.documentiType); + sb.append(" "); + } + if (this.tipoPratica != null) { + sb.append("Tipo pratica= "); + sb.append(this.tipoPratica); + sb.append(" "); + } + return sb.toString(); + } + + public String getNomeFile() { + return nomeFile; + } + + public void setNomeFile(String nomeFile) { + this.nomeFile = nomeFile; + } + + public Date getDataInvio() { + return dataInvio; + } + + public void setDataInvio(Date dataInvio) { + this.dataInvio = dataInvio; + } + + public String getDocumentiType() { + return documentiType; + } + + public void setDocumentiType(String documentiType) { + this.documentiType = documentiType; + } + + public String getTipoPratica() { + return tipoPratica; + } + + public void setTipoPratica(String tipoPratica) { + this.tipoPratica = tipoPratica; + } + + public Integer getIdFile() { + return idFile; + } + + public void setIdFile(Integer idFile) { + this.idFile = idFile; + } + + public String getFile() { + return file; + } + + public void setFile(String file) { + this.file = file; + } +} diff --git a/liferay-plugins-sdk-6.2/shared/portos-firma-shared/src/it/tref/firma/shared/Risposta.java b/liferay-plugins-sdk-6.2/shared/portos-firma-shared/src/it/tref/firma/shared/Risposta.java new file mode 100644 index 00000000..4d396140 --- /dev/null +++ b/liferay-plugins-sdk-6.2/shared/portos-firma-shared/src/it/tref/firma/shared/Risposta.java @@ -0,0 +1,23 @@ +package it.tref.firma.shared; + +public class Risposta { + private int risposta = -100; + + private T obj = null; + + public int getRisposta() { + return risposta; + } + + public void setRisposta(int risposta) { + this.risposta = risposta; + } + + public T getObj() { + return obj; + } + + public void setObj(T obj) { + this.obj = obj; + } +} diff --git a/liferay-plugins-sdk-6.2/shared/portos-firma-shared/src/it/tref/firma/shared/RispostaCostanti.java b/liferay-plugins-sdk-6.2/shared/portos-firma-shared/src/it/tref/firma/shared/RispostaCostanti.java new file mode 100644 index 00000000..743d6a8a --- /dev/null +++ b/liferay-plugins-sdk-6.2/shared/portos-firma-shared/src/it/tref/firma/shared/RispostaCostanti.java @@ -0,0 +1,13 @@ +package it.tref.firma.shared; + +public interface RispostaCostanti { + public static final int NO_SET = -100; + + public static final int OK = 0; + public static final int NO_CONFIGURATION = 1; + public static final int NO_UTENTE = 2; + public static final int NO_LOGIN = 3; + public static final int NO_FILE = 4; + public static final int NO_PRATICA = 5; + public static final int ERRORE_APPLICAZIONE = 6; +} diff --git a/liferay-plugins-sdk-6.2/shared/portos-firma-shared/src/it/tref/firma/shared/Stile.java b/liferay-plugins-sdk-6.2/shared/portos-firma-shared/src/it/tref/firma/shared/Stile.java new file mode 100644 index 00000000..489209ad --- /dev/null +++ b/liferay-plugins-sdk-6.2/shared/portos-firma-shared/src/it/tref/firma/shared/Stile.java @@ -0,0 +1,26 @@ +package it.tref.firma.shared; + +import java.util.ArrayList; +import java.util.List; + +public class Stile { + private String logo = null; + + private List listNumrodlfProperty = new ArrayList<>(); + + public String getLogo() { + return logo; + } + + public void setLogo(String logo) { + this.logo = logo; + } + + public List getListNumrodlfProperty() { + return listNumrodlfProperty; + } + + public void setListNumrodlfProperty(List listNumrodlfProperty) { + this.listNumrodlfProperty = listNumrodlfProperty; + } +} \ No newline at end of file