Package com.levigo.jadice.server.pdf
Class PDFDecryptNode
- java.lang.Object
-
- com.levigo.jadice.server.internal.NodeInternal
-
- com.levigo.jadice.server.Node
-
- com.levigo.jadice.server.pdf.PDFDecryptNode
-
public class PDFDecryptNode extends Node
ThisNode
removes encryption flags from PDF documents. In order to conform with copyright regulations a valid owner password is required.If no valid owner password is provided, the job will fail with the message ID
JS.PDF-WRONG_OWNER_PASSWORD
.
If the encryption algorithm is not supported theJob
will fail with the message IDJS.PDF-UNSUPPORTED_ENCRYPTION
.Its worker respects
PageCountLimit
s.- Since:
- jadice server 4.3.1.16
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.levigo.jadice.server.Node
Node.Cardinality
-
-
Constructor Summary
Constructors Constructor Description PDFDecryptNode()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
getOwnerPasswords()
String
getWorkerClassName()
Return the node's associatedcom.levigo.jadice.server.core.NodeWorker
full qualified class's name.void
setOwnerPasswords(List<String> ownerPasswords)
protected void
validateConfiguration()
-
Methods inherited from class com.levigo.jadice.server.Node
addTransportReceiver, appendSuccessor, apply, equals, getInputCardinality, getJob, getOutputCardinality, getPredecessors, getSubsidiaryNodes, getSuccessors, getTransportSender, getUUID, hashCode, initialize, prependPredecessor, remove
-
-
-
-
Method Detail
-
getWorkerClassName
public String getWorkerClassName()
Description copied from class:Node
Return the node's associatedcom.levigo.jadice.server.core.NodeWorker
full qualified class's name. By default, the worker class name is- The same as the node name with the trailing "Node" replaced by "Worker" if the node name ends in "Node"
- The node class name with an appended "Worker" otherwise.
This behavior can be overridden in concrete subclasses.
- Overrides:
getWorkerClassName
in classNode
- Returns:
- the full qualified class name of the worker of this node.
-
validateConfiguration
protected void validateConfiguration() throws ConfigurationException
- Overrides:
validateConfiguration
in classNode
- Throws:
ConfigurationException
-
-