public class GroupBuilder extends Object
GroupBuilder is a convenient class to used to define groups of senders for a given eSignLive account.
| Modifier and Type | Method and Description |
|---|---|
Group |
build()
Builds the group object.
|
GroupBuilder |
createdOn(Date created)
Deprecated.
|
static GroupBuilder |
newGroup(String name)
Instantiate a new Group of senders.
|
GroupBuilder |
updatedOn(Date updated)
Deprecated.
|
GroupBuilder |
withEmail(String email)
Set this group email's address.
|
GroupBuilder |
withId(GroupId groupId)
Defines a unique ID for this group.
|
GroupBuilder |
withIndividualMemberEmailing()
When setting this method, eSignLive will email each individual members of the group as opposed to
sending an email to the group email address.
|
GroupBuilder |
withMember(GroupMember groupMember)
Adds a sender to the group.
|
GroupBuilder |
withMember(GroupMemberBuilder builder)
Adds a sender to the group.
|
GroupBuilder |
withoutIndividualMemberEmailing()
Invoking this method will result in eSignLive sending emails to the group email
withEmail(String)
address as opposed to each individual members. |
public static GroupBuilder newGroup(String name)
name - name of the new group @size(max="255")public GroupBuilder withEmail(String email)
email - @size(min="6" max="255")public GroupBuilder createdOn(Date created)
created - public GroupBuilder updatedOn(Date updated)
updated - public GroupBuilder withIndividualMemberEmailing()
withEmail(String)public GroupBuilder withoutIndividualMemberEmailing()
withEmail(String)
address as opposed to each individual members.
withIndividualMemberEmailing()public GroupBuilder withMember(GroupMemberBuilder builder)
builder - the group member builderpublic GroupBuilder withMember(GroupMember groupMember)
groupMember - the group memberpublic Group build()
public GroupBuilder withId(GroupId groupId)
groupId - the group IDCopyright 2022 OneSpan All rights reserved.