Salvatore La Manna 4 anni fa
parent
commit
d633be28cc
  1. 1
      liferay-plugins-sdk-6.2/portlets/portos-firma-portlet/build.xml
  2. BIN
      liferay-plugins-sdk-6.2/portlets/portos-firma-portlet/docroot/WEB-INF/lib/commons-codec.jar
  3. BIN
      liferay-plugins-sdk-6.2/portlets/portos-firma-portlet/docroot/WEB-INF/lib/commons-logging.jar
  4. BIN
      liferay-plugins-sdk-6.2/portlets/portos-firma-portlet/docroot/WEB-INF/lib/httpclient.jar
  5. BIN
      liferay-plugins-sdk-6.2/portlets/portos-firma-portlet/docroot/WEB-INF/lib/httpcore.jar
  6. BIN
      liferay-plugins-sdk-6.2/portlets/portos-firma-portlet/docroot/WEB-INF/lib/httpmime.jar
  7. BIN
      liferay-plugins-sdk-6.2/portlets/portos-firma-portlet/docroot/WEB-INF/lib/jackson-annotations.jar
  8. BIN
      liferay-plugins-sdk-6.2/portlets/portos-firma-portlet/docroot/WEB-INF/lib/jackson-core.jar
  9. BIN
      liferay-plugins-sdk-6.2/portlets/portos-firma-portlet/docroot/WEB-INF/lib/jackson-databind.jar
  10. 4
      liferay-plugins-sdk-6.2/portlets/portos-firma-portlet/ivy.xml
  11. 2
      liferay-plugins-sdk-6.2/portlets/portos-firma-portlet/ivy.xml.MD5
  12. 6
      liferay-plugins-sdk-6.2/shared/portos-firma-shared/.classpath
  13. 1
      liferay-plugins-sdk-6.2/shared/portos-firma-shared/.gitignore
  14. 92
      liferay-plugins-sdk-6.2/shared/portos-firma-shared/src/it/tref/firma/shared/RestFile.java
  15. 23
      liferay-plugins-sdk-6.2/shared/portos-firma-shared/src/it/tref/firma/shared/Risposta.java
  16. 13
      liferay-plugins-sdk-6.2/shared/portos-firma-shared/src/it/tref/firma/shared/RispostaCostanti.java
  17. 26
      liferay-plugins-sdk-6.2/shared/portos-firma-shared/src/it/tref/firma/shared/Stile.java

1
liferay-plugins-sdk-6.2/portlets/portos-firma-portlet/build.xml

@ -2,5 +2,6 @@
<!DOCTYPE project>
<project name="portos-firma-portlet" basedir="." default="deploy">
<property name="import.shared" value="portos-firma-shared" />
<import file="../build-common-portlet.xml" />
</project>

BIN
liferay-plugins-sdk-6.2/portlets/portos-firma-portlet/docroot/WEB-INF/lib/commons-codec.jar

File binario non mostrato.

BIN
liferay-plugins-sdk-6.2/portlets/portos-firma-portlet/docroot/WEB-INF/lib/commons-logging.jar

File binario non mostrato.

BIN
liferay-plugins-sdk-6.2/portlets/portos-firma-portlet/docroot/WEB-INF/lib/httpclient.jar

File binario non mostrato.

BIN
liferay-plugins-sdk-6.2/portlets/portos-firma-portlet/docroot/WEB-INF/lib/httpcore.jar

File binario non mostrato.

BIN
liferay-plugins-sdk-6.2/portlets/portos-firma-portlet/docroot/WEB-INF/lib/httpmime.jar

File binario non mostrato.

BIN
liferay-plugins-sdk-6.2/portlets/portos-firma-portlet/docroot/WEB-INF/lib/jackson-annotations.jar

File binario non mostrato.

BIN
liferay-plugins-sdk-6.2/portlets/portos-firma-portlet/docroot/WEB-INF/lib/jackson-core.jar

File binario non mostrato.

BIN
liferay-plugins-sdk-6.2/portlets/portos-firma-portlet/docroot/WEB-INF/lib/jackson-databind.jar

File binario non mostrato.

4
liferay-plugins-sdk-6.2/portlets/portos-firma-portlet/ivy.xml

@ -14,5 +14,9 @@
<dependency conf="test->default" name="arquillian-junit-container" org="org.jboss.arquillian.junit" rev="1.1.6.Final" />
<dependency conf="test->default" name="arquillian-tomcat-remote-7" org="org.jboss.arquillian.container" rev="1.0.0.CR6" />
<dependency conf="test->default" name="com.liferay.ant.arquillian" org="com.liferay" rev="1.0.0" />
<dependency name="httpclient" org="org.apache.httpcomponents" rev="4.5.3"/>
<dependency name="httpmime" org="org.apache.httpcomponents" rev="4.5.3"/>
<dependency name="jackson-databind" org="com.fasterxml.jackson.core" rev="2.8.7"/>
</dependencies>
</ivy-module>

2
liferay-plugins-sdk-6.2/portlets/portos-firma-portlet/ivy.xml.MD5

@ -1 +1 @@
5ce14a43480763a02a7a0f47d7f82801
a15636541520cd34beccb182ca342eb1

6
liferay-plugins-sdk-6.2/shared/portos-firma-shared/.classpath

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jdk1.7.0_80"/>
<classpathentry kind="output" path="bin"/>
</classpath>

1
liferay-plugins-sdk-6.2/shared/portos-firma-shared/.gitignore vendored

@ -1 +1,2 @@
/classes/
/bin/

92
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;
}
}

23
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<T> {
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;
}
}

13
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;
}

26
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<String> listNumrodlfProperty = new ArrayList<>();
public String getLogo() {
return logo;
}
public void setLogo(String logo) {
this.logo = logo;
}
public List<String> getListNumrodlfProperty() {
return listNumrodlfProperty;
}
public void setListNumrodlfProperty(List<String> listNumrodlfProperty) {
this.listNumrodlfProperty = listNumrodlfProperty;
}
}
Caricamento…
Annulla
Salva