Interface StampService

All Known Implementing Classes:
SoapStampClient, SoapStampService

public interface StampService
WebService to allow a user to stamp documents
Since:
8.1.1
Author:
Marco Meschieri - LogicalDOC
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    stamp(String sid, long docId, String stamp, com.logicaldoc.webservice.model.WSAttribute[] parameters)
    Applies a stamp in a document
  • Method Details

    • stamp

      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
      Applies a stamp in a document
      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.PersistenceException - Error in the data layer
      com.logicaldoc.webservice.WebserviceException - Error in the webservice
      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.util.crypt.CryptUtil.EncryptionException - Cannot decrypt the stamp image
      IOException - I/O error
      FeatureNotEnabledException - Feature not enabled in the license