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.Builderbuilder(String title, List<DirectDocument> documents, List<DirectSigner> signers, WithExitUrls hasExitUrls) Create a new signature job for direct flow.static DirectJob.Builderbuilder(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, waitMethods inherited from interface no.digipost.signature.client.core.internal.MaySpecifySender
resolveSenderWithFallbackTo, resolveSenderWithFallbackTo
-
Method Details
-
getReference
- Specified by:
getReferencein interfaceSignatureJob
-
getDocuments
- Specified by:
getDocumentsin interfaceSignatureJob
-
getSender
- Specified by:
getSenderin interfaceMaySpecifySender
-
getCompletionUrl
- Specified by:
getCompletionUrlin interfaceWithExitUrls
-
getRejectionUrl
- Specified by:
getRejectionUrlin interfaceWithExitUrls
-
getErrorUrl
- Specified by:
getErrorUrlin interfaceWithExitUrls
-
getRequiredAuthentication
- Specified by:
getRequiredAuthenticationin interfaceSignatureJob
-
getIdentifierInSignedDocuments
- Specified by:
getIdentifierInSignedDocumentsin 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- Thedocumentthat 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- Thesignerof 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- Thedocumentthat 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- Thesignersof the document.- Returns:
- a builder to further customize the job
-