Class ExtendDocumentDTO
java.lang.Object
eu.europa.esig.dss.ws.signature.dto.ExtendDocumentDTO
- All Implemented Interfaces:
Serializable
This class is a DTO to transfer required objects to execute extendDocument method
It's only possible to transfer an object by POST and REST.
It's impossible to transfer big objects by GET (url size limitation)
- See Also:
-
Constructor Summary
ConstructorDescriptionEmpty documentExtendDocumentDTO
(RemoteDocument toExtendDocument, RemoteSignatureParameters parameters) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Gets the extension parametersGets the document to be extendedint
hashCode()
void
setParameters
(RemoteSignatureParameters parameters) Sets the extension parametersvoid
setToExtendDocument
(RemoteDocument toExtendDocument) Sets the document to be extendedtoString()
-
Constructor Details
-
ExtendDocumentDTO
public ExtendDocumentDTO()Empty document -
ExtendDocumentDTO
Default constructor- Parameters:
toExtendDocument
-RemoteDocument
parameters
-RemoteSignatureParameters
-
-
Method Details
-
getToExtendDocument
Gets the document to be extended- Returns:
RemoteDocument
-
setToExtendDocument
Sets the document to be extended- Parameters:
toExtendDocument
-RemoteDocument
-
getParameters
Gets the extension parameters- Returns:
RemoteSignatureParameters
-
setParameters
Sets the extension parameters- Parameters:
parameters
-RemoteSignatureParameters
-
toString
-
hashCode
public int hashCode() -
equals
-