public static class DirectJob.Builder extends Object implements JobCustomizations<DirectJob.Builder>
| Constructor and Description |
|---|
Builder(List<DirectSigner> signers,
DirectDocument document,
String completionUrl,
String rejectionUrl,
String errorUrl) |
| Modifier and Type | Method and Description |
|---|---|
DirectJob |
build() |
DirectJob.Builder |
requireAuthentication(AuthenticationLevel level)
Specify the minimum level of authentication of the signer(s) of this job.
|
DirectJob.Builder |
retrieveStatusBy(StatusRetrievalMethod statusRetrievalMethod) |
DirectJob.Builder |
withIdentifierInSignedDocuments(IdentifierInSignedDocuments identifier)
Specify how the signer(s) of this job should be identified in the signed documents (XAdES and PAdES);
by
personal identification number and name,
date of birth and name or
name only. |
DirectJob.Builder |
withReference(String reference)
Set a custom reference that is attached to the job.
|
DirectJob.Builder |
withReference(UUID uuid)
Set an
UUID as custom reference that is attached to the job. |
DirectJob.Builder |
withSender(Sender sender)
Set the sender for this specific signature job.
|
public Builder(List<DirectSigner> signers, DirectDocument document, String completionUrl, String rejectionUrl, String errorUrl)
public DirectJob.Builder withReference(UUID uuid)
JobCustomizationsUUID as custom reference that is attached to the job.withReference in interface JobCustomizations<DirectJob.Builder>uuid - the UUID to use as reference.public DirectJob.Builder withReference(String reference)
JobCustomizationswithReference in interface JobCustomizations<DirectJob.Builder>reference - the referencepublic DirectJob.Builder withSender(Sender sender)
JobCustomizations
You may use ClientConfiguration.Builder.globalSender(Sender)
to specify a global sender used for all signature jobs.
withSender in interface JobCustomizations<DirectJob.Builder>public DirectJob.Builder requireAuthentication(AuthenticationLevel level)
JobCustomizationsrequireAuthentication in interface JobCustomizations<DirectJob.Builder>level - the required minimum AuthenticationLevel.public DirectJob.Builder withIdentifierInSignedDocuments(IdentifierInSignedDocuments identifier)
JobCustomizationspersonal identification number and name,
date of birth and name or
name only.
Not all options are available to every sender, this is detailed in the service's functional documentation.
withIdentifierInSignedDocuments in interface JobCustomizations<DirectJob.Builder>identifier - the identifier typepublic DirectJob.Builder retrieveStatusBy(StatusRetrievalMethod statusRetrievalMethod)
public DirectJob build()
Copyright © 2018 Digipost. All rights reserved.