Interface SignService
- 
- All Known Implementing Classes:
 SoapSignClient,SoapSignService
public interface SignServiceWebService to allow a user to sign documents- Since:
 - 7.1.2
 - Author:
 - Marco Meschieri - LogicalDOC
 
 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidgenerateCertificate(String sid)* Generates a new certificate for the uservoidmarkDocumentSigned(String sid, long docId, String reason, String certificate)Marks a document as signed(it does not apply any signature, just marks the document as signed)Long[]sign(String sid, Long[] docIds, String reason)Signs a set of documents 
 - 
 
- 
- 
Method Detail
- 
generateCertificate
void generateCertificate(String sid) throws Exception
* Generates a new certificate for the user- Parameters:
 sid- The session identifier- Throws:
 Exception- error in the server
 
- 
sign
Long[] sign(String sid, Long[] docIds, String reason) throws Exception
Signs a set of documents- Parameters:
 sid- The session identifierdocIds- Identifiers of the documents you wants to signreason- Reason for the signature- Returns:
 - The list of the documents that were signed
 - Throws:
 Exception- error in the server
 
- 
markDocumentSigned
void markDocumentSigned(String sid, long docId, String reason, String certificate) throws Exception
Marks a document as signed(it does not apply any signature, just marks the document as signed)- Parameters:
 sid- The session identifierdocId- Identifier of the documentreason- Reason for the signaturecertificate- Description of the certificate to save in the even- Throws:
 Exception- error in the server
 
 - 
 
 -