-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #42 from AlbertoRamirezLosilla/master
Generate signature report
- Loading branch information
Showing
47 changed files
with
1,472 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
...fresco/extension/templates/webscripts/es/alfatec/downloadSignatureReportFile.get.desc.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<webscript> | ||
<shortname>Download document signature report</shortname> | ||
<description>It generates a report about document signature. It is a copy of document signed | ||
To test: curl "http://localhost:8080/alfresco/service/alfatec/alfresco-global/downloadSignReportFile" | ||
</description> | ||
<family>alfatec</family> | ||
<url>/alfatec/alfresco-global/downloadSignReportFile</url> | ||
<format default="json">any</format> | ||
<authentication>user</authentication> | ||
<transaction>none</transaction> | ||
</webscript> |
11 changes: 11 additions & 0 deletions
11
...lfresco/extension/templates/webscripts/es/alfatec/getAlfatecCustomProperties.get.desc.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<webscript> | ||
<shortname>Get Alfatec custom params</shortname> | ||
<description>Get all properties from alfresco-global.properties created by Alfatec | ||
To test: curl "http://localhost:8080/alfresco/service/alfatec/alfresco-global/getAlfatecCustomProperties" | ||
</description> | ||
<family>alfatec</family> | ||
<url>/alfatec/alfresco-global/getAlfatecCustomProperties</url> | ||
<format default="json">any</format> | ||
<authentication>user</authentication> | ||
<transaction>none</transaction> | ||
</webscript> |
11 changes: 11 additions & 0 deletions
11
...co/extension/templates/webscripts/es/alfatec/hasBeenDocumentSignedOnAlfresco.get.desc.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<webscript> | ||
<shortname>Check if document has been signed on Alfresco</shortname> | ||
<description>Check if document has been signed on Alfresco | ||
To test: curl "http://localhost:8080/alfresco/service/alfatec/alfresco-global/hasBeenDocumentSignedOnAlfresco?nodeRef={nodeRef}" | ||
</description> | ||
<family>alfatec</family> | ||
<url>/alfatec/alfresco-global/hasBeenDocumentSignedOnAlfresco</url> | ||
<format default="json">any</format> | ||
<authentication>user</authentication> | ||
<transaction>none</transaction> | ||
</webscript> |
11 changes: 0 additions & 11 deletions
11
...fig/alfresco/extension/templates/webscripts/es/alfatec/signOtherDocsProperty.get.desc.xml
This file was deleted.
Oops, something went wrong.
11 changes: 11 additions & 0 deletions
11
...nfig/alfresco/extension/templates/webscripts/es/alfatec/signatureReportInfo.post.desc.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<webscript> | ||
<shortname>Get document signature report information</shortname> | ||
<description>It generates a report about document signature. It is a copy of document signed | ||
To test: curl "http://localhost:8080/alfresco/service/alfatec/alfresco-global/signatureReportInfo" | ||
</description> | ||
<family>alfatec</family> | ||
<url>/alfatec/alfresco-global/signatureReportInfo</url> | ||
<format default="json">any</format> | ||
<authentication>user</authentication> | ||
<transaction>none</transaction> | ||
</webscript> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
esign-cert-repo/src/main/amp/config/alfresco/module/esign-cert-repo/messages/csv.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
csv.text1=Documento firmado electr\u00f3nicamente | ||
csv.text2=C\u00f3digo seguro de verificaci\u00f3n: | ||
csv.text3=Para descargar el documento acceda a: |
3 changes: 3 additions & 0 deletions
3
...-cert-repo/src/main/amp/config/alfresco/module/esign-cert-repo/messages/csv_es.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
csv.text1=Documento firmado electr\u00f3nicamente | ||
csv.text2=C\u00f3digo seguro de verificaci\u00f3n: | ||
csv.text3=Para descargar el documento acceda a: |
2 changes: 2 additions & 0 deletions
2
esign-cert-repo/src/main/amp/config/alfresco/module/esign-cert-repo/messages/sign.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
sign.signed=Firmado por: | ||
sign.date=Fecha: |
2 changes: 2 additions & 0 deletions
2
...cert-repo/src/main/amp/config/alfresco/module/esign-cert-repo/messages/sign_es.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
sign.signed=Firmado por: | ||
sign.date=Fecha: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
esign-cert-repo/src/main/java/es/alfatec/alfresco/AlfatecException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package es.alfatec.alfresco; | ||
|
||
public class AlfatecException extends Exception{ | ||
|
||
private static final long serialVersionUID = 1L; | ||
private String exceptionMessage; | ||
private int resultCode; | ||
|
||
public AlfatecException(String exceptionMessage, int resultCode){ | ||
this.exceptionMessage = exceptionMessage; | ||
this.resultCode = resultCode; | ||
} | ||
|
||
public String getExceptionMessage() { | ||
return exceptionMessage; | ||
} | ||
|
||
public int getResultCode() { | ||
return resultCode; | ||
} | ||
} |
Oops, something went wrong.