Module jpms_dss_ws_signature_dto
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
ConstructorsConstructorDescriptionEmpty documentExtendDocumentDTO(eu.europa.esig.dss.ws.dto.RemoteDocument toExtendDocument, RemoteSignatureParameters parameters) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets the extension parameterseu.europa.esig.dss.ws.dto.RemoteDocumentGets the document to be extendedinthashCode()voidsetParameters(RemoteSignatureParameters parameters) Sets the extension parametersvoidsetToExtendDocument(eu.europa.esig.dss.ws.dto.RemoteDocument toExtendDocument) Sets the document to be extendedtoString()
-
Constructor Details
-
ExtendDocumentDTO
public ExtendDocumentDTO()Empty document -
ExtendDocumentDTO
public ExtendDocumentDTO(eu.europa.esig.dss.ws.dto.RemoteDocument toExtendDocument, RemoteSignatureParameters parameters) Default constructor- Parameters:
toExtendDocument-RemoteDocumentparameters-RemoteSignatureParameters
-
-
Method Details
-
getToExtendDocument
public eu.europa.esig.dss.ws.dto.RemoteDocument getToExtendDocument()Gets the document to be extended- Returns:
RemoteDocument
-
setToExtendDocument
public void setToExtendDocument(eu.europa.esig.dss.ws.dto.RemoteDocument toExtendDocument) 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
-