Class SoapStampService
java.lang.Object
com.logicaldoc.webservice.AbstractService
com.logicaldoc.stamp.webservice.soap.endpoint.SoapStampService
- All Implemented Interfaces:
StampService
public class SoapStampService
extends com.logicaldoc.webservice.AbstractService
implements StampService
Implementation of the Stamp webservice
- Since:
- 8.1.1
- Author:
- Marco Meschieri - LogicalDOC
-
Constructor Summary
-
Method Summary
Methods inherited from class com.logicaldoc.webservice.AbstractService
convertDateToString, convertStringToDate, getContext, getMessageContext, isValidateSession, setContext, setMessageContext, setValidateSession
-
Constructor Details
-
SoapStampService
public SoapStampService()
-
-
Method Details
-
stamp
public void stamp(String sid, long docId, String stamp, com.logicaldoc.webservice.model.WSAttribute[] parameters) throws com.logicaldoc.core.security.authentication.AuthenticationException, com.logicaldoc.webservice.WebserviceException, com.logicaldoc.core.PersistenceException, com.logicaldoc.core.security.authorization.PermissionException, 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.webservice.WebserviceException
- Error in the webservicecom.logicaldoc.core.PersistenceException
- Error in the data layercom.logicaldoc.core.security.authorization.PermissionException
- The user does not have enough permissionsFeatureNotEnabledException
- Feature not enabled in the licenseIOException
- I/O errorcom.logicaldoc.util.crypt.CryptUtil.EncryptionException
- Cannot decrypt the stamp image
-