Class SoapSignClient
- java.lang.Object
- 
- com.logicaldoc.webservice.soap.client.SoapClient<SignService>
- 
- com.logicaldoc.sign.webservice.soap.client.SoapSignClient
 
 
- 
- All Implemented Interfaces:
- SignService
 
 public class SoapSignClient extends com.logicaldoc.webservice.soap.client.SoapClient<SignService> implements SignService 
- 
- 
Constructor SummaryConstructors Constructor Description SoapSignClient(String endpoint)SoapSignClient(String endpoint, int gzipThreshold, boolean log, int timeout)
 - 
Method SummaryAll Methods Instance Methods Concrete 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
 
- 
- 
- 
Constructor Detail- 
SoapSignClientpublic SoapSignClient(String endpoint, int gzipThreshold, boolean log, int timeout) throws IOException - Throws:
- IOException
 
 - 
SoapSignClientpublic SoapSignClient(String endpoint) throws IOException - Throws:
- IOException
 
 
- 
 - 
Method Detail- 
generateCertificatepublic void generateCertificate(String sid) throws Exception Description copied from interface:SignService* Generates a new certificate for the user- Specified by:
- generateCertificatein interface- SignService
- Parameters:
- sid- The session identifier
- Throws:
- Exception- error in the server
 
 - 
signpublic Long[] sign(String sid, Long[] docIds, String reason) throws Exception Description copied from interface:SignServiceSigns a set of documents- Specified by:
- signin interface- SignService
- Parameters:
- sid- The session identifier
- docIds- Identifiers of the documents you wants to sign
- reason- Reason for the signature
- Returns:
- The list of the documents that were signed
- Throws:
- Exception- error in the server
 
 - 
markDocumentSignedpublic void markDocumentSigned(String sid, long docId, String reason, String certificate) throws Exception Description copied from interface:SignServiceMarks a document as signed(it does not apply any signature, just marks the document as signed)- Specified by:
- markDocumentSignedin interface- SignService
- Parameters:
- sid- The session identifier
- docId- Identifier of the document
- reason- Reason for the signature
- certificate- Description of the certificate to save in the even
- Throws:
- Exception- error in the server
 
 
- 
 
-