Class DirectJob
java.lang.Object
no.digipost.signature.client.direct.DirectJob
- All Implemented Interfaces:
MaySpecifySender
,SignatureJob
,WithExitUrls
Signature job with document(s) to be signed by
one or more signers in direct flow.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from interface no.digipost.signature.client.core.internal.MaySpecifySender
NO_SPECIFIED_SENDER
-
Method Summary
Modifier and TypeMethodDescriptionstatic DirectJob.Builder
builder
(String title, List<DirectDocument> documents, List<DirectSigner> signers, WithExitUrls hasExitUrls) Create a new signature job for direct flow.static DirectJob.Builder
builder
(String title, DirectDocument document, DirectSigner signer, WithExitUrls hasExitUrls) Create a new signature job for direct flow.getTitle()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface no.digipost.signature.client.core.internal.MaySpecifySender
resolveSenderWithFallbackTo, resolveSenderWithFallbackTo
-
Method Details
-
getReference
- Specified by:
getReference
in interfaceSignatureJob
-
getDocuments
- Specified by:
getDocuments
in interfaceSignatureJob
-
getSender
- Specified by:
getSender
in interfaceMaySpecifySender
-
getCompletionUrl
- Specified by:
getCompletionUrl
in interfaceWithExitUrls
-
getRejectionUrl
- Specified by:
getRejectionUrl
in interfaceWithExitUrls
-
getErrorUrl
- Specified by:
getErrorUrl
in interfaceWithExitUrls
-
getRequiredAuthentication
- Specified by:
getRequiredAuthentication
in interfaceSignatureJob
-
getIdentifierInSignedDocuments
- Specified by:
getIdentifierInSignedDocuments
in interfaceSignatureJob
-
getSigners
-
getStatusRetrievalMethod
-
getTitle
-
getDescription
-
builder
public static DirectJob.Builder builder(String title, DirectDocument document, DirectSigner signer, WithExitUrls hasExitUrls) Create a new signature job for direct flow.- Parameters:
document
- Thedocument
that should be signed.hasExitUrls
- specifies the URLs the user will be redirected back to upon completing/rejecting/failing to sign the document. SeeExitUrls.of(URI, URI, URI)
, and alternativelyExitUrls.singleExitUrl(URI)
.signer
- Thesigner
of the document.- Returns:
- a builder to further customize the job
-
builder
public static DirectJob.Builder builder(String title, List<DirectDocument> documents, List<DirectSigner> signers, WithExitUrls hasExitUrls) Create a new signature job for direct flow.- Parameters:
documents
- Thedocument
that should be signed.hasExitUrls
- specifies the URLs the user will be redirected back to upon completing/rejecting/failing to sign the documents. SeeExitUrls.of(URI, URI, URI)
, and alternativelyExitUrls.singleExitUrl(URI)
.signers
- Thesigners
of the document.- Returns:
- a builder to further customize the job
-