public class DirectJob extends Object implements SignatureJob, WithExitUrls
| Modifier and Type | Class and Description |
|---|---|
static class |
DirectJob.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DirectJob.Builder |
builder(DirectDocument document,
WithExitUrls hasExitUrls,
DirectSigner... signers)
Create a new DirectJob.
|
static DirectJob.Builder |
builder(DirectDocument document,
WithExitUrls hasExitUrls,
List<DirectSigner> signers)
Create a new DirectJob.
|
String |
getCompletionUrl() |
DirectDocument |
getDocument() |
String |
getErrorUrl() |
Optional<IdentifierInSignedDocuments> |
getIdentifierInSignedDocuments() |
String |
getReference() |
String |
getRejectionUrl() |
Optional<AuthenticationLevel> |
getRequiredAuthentication() |
Optional<Sender> |
getSender() |
List<DirectSigner> |
getSigners() |
Optional<StatusRetrievalMethod> |
getStatusRetrievalMethod() |
public String getReference()
getReference in interface SignatureJobpublic DirectDocument getDocument()
getDocument in interface SignatureJobpublic Optional<Sender> getSender()
getSender in interface SignatureJobpublic String getCompletionUrl()
getCompletionUrl in interface WithExitUrlspublic String getRejectionUrl()
getRejectionUrl in interface WithExitUrlspublic String getErrorUrl()
getErrorUrl in interface WithExitUrlspublic Optional<AuthenticationLevel> getRequiredAuthentication()
getRequiredAuthentication in interface SignatureJobpublic Optional<IdentifierInSignedDocuments> getIdentifierInSignedDocuments()
getIdentifierInSignedDocuments in interface SignatureJobpublic List<DirectSigner> getSigners()
public Optional<StatusRetrievalMethod> getStatusRetrievalMethod()
public static DirectJob.Builder builder(DirectDocument document, WithExitUrls hasExitUrls, DirectSigner... signers)
document - The DirectDocument that should be signed.hasExitUrls - specifies the urls the user will be redirected back to upon completing/rejecting/failing
the signing ceremony. See ExitUrls.of(String, String, String), and alternatively
ExitUrls.singleExitUrl(String).signers - The DirectSigners of the document.builder(DirectDocument, WithExitUrls, List)public static DirectJob.Builder builder(DirectDocument document, WithExitUrls hasExitUrls, List<DirectSigner> signers)
document - The DirectDocument that should be signed.hasExitUrls - specifies the urls the user will be redirected back to upon completing/rejecting/failing
the signing ceremony. See ExitUrls.of(String, String, String), and alternatively
ExitUrls.singleExitUrl(String).signers - The DirectSigners of the document.builder(DirectDocument, WithExitUrls, DirectSigner...)Copyright © 2018 Digipost. All rights reserved.