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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    stamp(String sid, long docId, String stamp, List<com.logicaldoc.webservice.model.WSAttribute> parameters)
    Applies a stamp in a document

    Methods inherited from class com.logicaldoc.webservice.AbstractService

    convertDateToString, convertStringToDate, getCurrentMessage, isValidateSession, setCurrentMessage, setValidateSession

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SoapStampService

      public SoapStampService()
  • 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.webservice.WebserviceException, com.logicaldoc.core.PersistenceException, com.logicaldoc.core.security.authorization.PermissionException, FeatureNotEnabledException, IOException, com.logicaldoc.util.crypt.CryptUtil.EncryptionException, com.logicaldoc.core.automation.AutomationException
      Description copied from interface: StampService
      Applies a stamp in a document
      Specified by:
      stamp in interface StampService
      Parameters:
      sid - identifier of the session
      docId - identifier of the document
      stamp - name of the stamp
      parameters - a set of dynamic parameters to use inside the stamp automation
      Throws:
      com.logicaldoc.core.security.authentication.AuthenticationException - The user has not been authenticated
      com.logicaldoc.webservice.WebserviceException - Error in the webservice
      com.logicaldoc.core.PersistenceException - Error in the data layer
      com.logicaldoc.core.security.authorization.PermissionException - The user does not have enough permissions
      FeatureNotEnabledException - Feature not enabled in the license
      IOException - I/O error
      com.logicaldoc.util.crypt.CryptUtil.EncryptionException - Cannot decrypt the stamp image
      com.logicaldoc.core.automation.AutomationException - the script has been evaluated but produced an error