public class GroupService extends Object
| Constructor and Description |
|---|
GroupService(RestClient client,
String baseUrl) |
| Modifier and Type | Method and Description |
|---|---|
GroupMember |
addMember(GroupId groupId,
GroupMember groupMember)
Invite a new sender to the group.
|
Group |
createGroup(Group group)
Create a new group belonging to this account.
|
void |
deleteGroup(GroupId groupId)
Delete a group belonging to this account, specified by GroupId
|
Group |
getGroup(GroupId groupId)
Retrieve a single group belonging to this account, specified by GroupId.
|
List<String> |
getGroupMemberEmails(GroupId groupId)
Retrieve a list of emails for all members of a group belonging to this account, specified by GroupId.
|
List<GroupMember> |
getGroupMembers(GroupId groupId)
Retrieve a list of all members of a group belonging to this account, specified by GroupId.
|
List<GroupSummary> |
getGroupSummaries()
Retrieve summaries for all groups for the current account.
|
List<Group> |
getMyGroups()
Get a list of all groups belong to the account under which the requests are being issued.
|
List<Group> |
getMyGroups(String groupName)
Retrieve group(s) belonging to the account by specifying complete (or part of) GroupName.
|
Group |
inviteMember(GroupId groupId,
GroupMember groupMember)
Invite a new sender to the group.
|
Group |
updateGroup(Group group,
GroupId groupId)
Update a group belonging to this account
|
public GroupService(RestClient client, String baseUrl)
public List<Group> getMyGroups()
public List<Group> getMyGroups(String groupName)
groupName - public Group getGroup(GroupId groupId)
groupId - public Group createGroup(Group group)
group - public Group updateGroup(Group group, GroupId groupId)
group - public GroupMember addMember(GroupId groupId, GroupMember groupMember)
groupId - groupMember - public Group inviteMember(GroupId groupId, GroupMember groupMember)
groupId - groupMember - public void deleteGroup(GroupId groupId)
groupId - public List<String> getGroupMemberEmails(GroupId groupId)
groupId - public List<GroupMember> getGroupMembers(GroupId groupId)
groupId - public List<GroupSummary> getGroupSummaries()
Copyright 2022 OneSpan All rights reserved.