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 Details

    • SoapStampClient

      public SoapStampClient(String endpoint, int gzipThreshold, boolean log, int timeout)
    • SoapStampClient

      public SoapStampClient(String endpoint)
  • 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 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.core.security.authorization.PermissionException - The user does not have enough permissions
      com.logicaldoc.webservice.WebserviceException - Error in the webservice
      com.logicaldoc.core.PersistenceException - Error in the data layer
      FeatureNotEnabledException - Feature not enabled in the license
      IOException - I/O error
      com.logicaldoc.util.crypt.CryptUtil.EncryptionException - Cannot decrypt the stamp image