public class Signer extends Object implements Serializable
The Signer class contains all the information about an user that is supposed to sign a document.
| Constructor and Description |
|---|
Signer(GroupId groupId) |
Signer(String id) |
Signer(String email,
String firstName,
String lastName,
Authentication authentication)
The constructor of the Signer class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addAttachmentRequirement(AttachmentRequirement attachment) |
boolean |
canChangeSigner()
It tells if a signer can reassign or not the signing request to another signer.
|
AttachmentRequirement |
getAttachmentRequirement(String attachmentName) |
List<AttachmentRequirement> |
getAttachmentRequirements() |
Authentication |
getAuthentication() |
AuthenticationMethod |
getAuthenticationMethod()
Accessor method used to retrieve the authentication method used by the signer
|
List<Challenge> |
getChallengeQuestions()
Accessor method used to retrieve the challenge question
|
String |
getCompany()
Accessor method used to retrieve the signer's company
|
String |
getEmail()
Accessor method used to retrieve the signer's email
|
String |
getFirstName()
Accessor method used to retrieve the signer's first name
|
GroupId |
getGroupId() |
String |
getId()
Accessor method used to retrieve the signer's ID
|
KnowledgeBasedAuthentication |
getKnowledgeBasedAuthentication() |
Locale |
getLanguage()
Accessor method used to retrieve the signer's language
|
String |
getLastName()
Accessor method used to retrieve the signer's last name
|
String |
getLocalLanguage() |
String |
getMessage() |
String |
getPhoneNumber()
Accessor method used to retrieve the signer's phone number
|
String |
getPlaceholderName() |
String |
getSignerType()
Accessor method used to retrieve the signer's type
|
int |
getSigningOrder()
Accessor method used to retrieve the signer's signing order inside the document
|
String |
getTitle()
Accessor method used to retrieve the signer's title
|
boolean |
isDeliverSignedDocumentsByEmail()
Provides the value set for the deliverSignedDocumentsByEmail property
|
boolean |
isGroupSigner() |
boolean |
isLocked() |
boolean |
isPlaceholderSigner() |
void |
setAttachmentRequirements(List<AttachmentRequirement> attachments) |
void |
setCanChangeSigner(boolean canChangeSigner)
Accessor method used to set the
|
void |
setCompany(String company)
Accessor method used to set the signer's company
|
void |
setDeliverSignedDocumentsByEmail(boolean deliverSignedDocumentsByEmail)
Accessor method used to set the deliverSignedDocumentsByEmail.
|
void |
setId(String id)
Accessor method used to set the signer's ID.
|
void |
setKnowledgeBasedAuthentication(KnowledgeBasedAuthentication knowledgeBasedAuthentication) |
void |
setLanguage(Locale language)
Accessor method used to set the signer's language
|
void |
setLocalLanguage(String localLanguage) |
void |
setLocked(boolean locked) |
void |
setMessage(String message) |
void |
setPlaceholderName(String placeholderName) |
void |
setSignerType(String signerType)
Accessor method used to set the signer's type
|
void |
setSigningOrder(int signingOrder)
Accessor method used to set the signer's signing order inside the document
|
void |
setTitle(String title)
Accessor method used to set the signer's title
|
public Signer(String email, String firstName, String lastName, Authentication authentication)
The constructor of the Signer class.
email - the email addressfirstName - the first namelastName - the last nameauthentication - the authentication used by the signer to join to a eSL signing ceremonypublic Signer(GroupId groupId)
public Signer(String id)
public boolean isGroupSigner()
public boolean isPlaceholderSigner()
public String getEmail()
public String getFirstName()
public String getLastName()
public void setSigningOrder(int signingOrder)
signingOrder - the signing order inside the documentpublic int getSigningOrder()
public Authentication getAuthentication()
public AuthenticationMethod getAuthenticationMethod()
public List<Challenge> getChallengeQuestions()
public String getPhoneNumber()
public String getTitle()
public String getCompany()
public String getSignerType()
public void setSignerType(String signerType)
signerType - the signer's typepublic void setTitle(String title)
title - the signer's titlepublic void setCompany(String company)
company - the signer's companypublic Locale getLanguage()
public void setLanguage(Locale language)
language - the signer's languagepublic void setCanChangeSigner(boolean canChangeSigner)
canChangeSigner - public boolean canChangeSigner()
It tells if a signer can reassign or not the signing request to another signer.
public void setMessage(String message)
message - public String getMessage()
public void setDeliverSignedDocumentsByEmail(boolean deliverSignedDocumentsByEmail)
Accessor method used to set the deliverSignedDocumentsByEmail.
If a Signer instance has this property set to true it means that the documents once signed will be delivered to the signer by email.
deliverSignedDocumentsByEmail - public boolean isDeliverSignedDocumentsByEmail()
Provides the value set for the deliverSignedDocumentsByEmail property
public void setId(String id)
Accessor method used to set the signer's ID.
This ID should be uniquely defined at the document package level
id - the signer's IDpublic String getId()
public GroupId getGroupId()
public String getPlaceholderName()
public void setPlaceholderName(String placeholderName)
public void setLocked(boolean locked)
public boolean isLocked()
public List<AttachmentRequirement> getAttachmentRequirements()
public AttachmentRequirement getAttachmentRequirement(String attachmentName)
public void setAttachmentRequirements(List<AttachmentRequirement> attachments)
public void addAttachmentRequirement(AttachmentRequirement attachment)
public KnowledgeBasedAuthentication getKnowledgeBasedAuthentication()
public void setKnowledgeBasedAuthentication(KnowledgeBasedAuthentication knowledgeBasedAuthentication)
public String getLocalLanguage()
public void setLocalLanguage(String localLanguage)
Copyright 2022 OneSpan All rights reserved.