Class SoapStampClient
java.lang.Object
com.logicaldoc.webservice.soap.client.SoapClient<StampService>
com.logicaldoc.stamp.webservice.soap.client.SoapStampClient
- All Implemented Interfaces:
StampService
public class SoapStampClient
extends com.logicaldoc.webservice.soap.client.SoapClient<StampService>
implements StampService
-
Constructor Summary
ConstructorDescriptionSoapStampClient
(String endpoint) SoapStampClient
(String endpoint, int gzipThreshold, boolean log, int timeout) -
Method Summary
-
Constructor Details
-
SoapStampClient
-
SoapStampClient
-
-
Method Details
-
stamp
public void stamp(String sid, long docId, String stamp, List<com.logicaldoc.webservice.model.WSAttribute> parameters) throws com.logicaldoc.core.security.authentication.AuthenticationException, com.logicaldoc.core.security.authorization.PermissionException, com.logicaldoc.webservice.WebserviceException, com.logicaldoc.core.PersistenceException, FeatureNotEnabledException, IOException, com.logicaldoc.util.crypt.CryptUtil.EncryptionException Description copied from interface:StampService
Applies a stamp in a document- Specified by:
stamp
in interfaceStampService
- Parameters:
sid
- identifier of the sessiondocId
- identifier of the documentstamp
- name of the stampparameters
- a set of dynamic parameters to use inside the stamp automation- Throws:
com.logicaldoc.core.security.authentication.AuthenticationException
- The user has not been authenticatedcom.logicaldoc.core.security.authorization.PermissionException
- The user does not have enough permissionscom.logicaldoc.webservice.WebserviceException
- Error in the webservicecom.logicaldoc.core.PersistenceException
- Error in the data layerFeatureNotEnabledException
- Feature not enabled in the licenseIOException
- I/O errorcom.logicaldoc.util.crypt.CryptUtil.EncryptionException
- Cannot decrypt the stamp image
-