Package com.logicaldoc.stamp.automation
Class StampTool
- java.lang.Object
-
- com.logicaldoc.stamp.automation.StampTool
-
public class StampTool extends Object
Class to apply stamps into documents from inside the Automation- Since:
- 7.5.1
- Author:
- Marco Meschieri - LogicalDOC
-
-
Constructor Summary
Constructors Constructor Description StampTool()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
stamp(com.logicaldoc.core.document.Document doc, Stamp stamp, com.logicaldoc.core.security.User user)
Applies a stamp in the given document in the name of the given uservoid
stamp(com.logicaldoc.core.document.Document doc, String stampName, com.logicaldoc.core.security.User user)
Applies a stamp in the given document in the name of the given uservoid
stamp(com.logicaldoc.core.document.Document doc, String stampName, String username)
-
-
-
Method Detail
-
stamp
public void stamp(com.logicaldoc.core.document.Document doc, Stamp stamp, com.logicaldoc.core.security.User user) throws Exception
Applies a stamp in the given document in the name of the given user- Parameters:
doc
- the document to stampstamp
- name of the stamp to applyuser
- the current user- Throws:
Exception
- a generic error
-
stamp
public void stamp(com.logicaldoc.core.document.Document doc, String stampName, com.logicaldoc.core.security.User user) throws Exception
Applies a stamp in the given document in the name of the given user- Parameters:
doc
- the document to stampstampName
- name of the stamp to applyuser
- the current user- Throws:
Exception
- a generic error
-
-