public class GroupHelper extends Object
Constructor and Description |
---|
GroupHelper() |
Modifier and Type | Method and Description |
---|---|
static List<Group> |
getAllGroupsInSystem(BroadWorksServer bws)
Helper to retrieve all Groups within the BroadWorksSystem
|
static void |
randomizeAuthentication(Group group)
Randomizes the authentication username and password for all users of the
given group.
|
static List<AnnouncementFile> |
retrieveAnnouncementResourceList(Group group)
Retrieves a map of
AnnouncementFileKey and their respecting
LabeledMediaFileResource that represent the Announcement files
for the Group. |
static org.apache.commons.lang3.tuple.Pair<List<String>,Integer> |
validateAnnouncementFiles(Group group)
Method to verify that all announcement files within a Group can be retrieved.
|
public static List<Group> getAllGroupsInSystem(BroadWorksServer bws) throws HelperException
bws
- The BroadWorksServer objectArrayList
of GroupsHelperException
- Thrown if an error occurs on retrieval.public static void randomizeAuthentication(Group group) throws HelperException
group
- The group to randomize authentication forHelperException
- Thrown if an error occurs during randomization.public static List<AnnouncementFile> retrieveAnnouncementResourceList(Group group) throws HelperException
AnnouncementFileKey
and their respecting
LabeledMediaFileResource
that represent the Announcement files
for the Group.group
- The group to retrieve announcement informationHelperException
- Thrown if an error occurs on retrieval.public static org.apache.commons.lang3.tuple.Pair<List<String>,Integer> validateAnnouncementFiles(Group group) throws HelperException
group
- The Group
to checkHelperException
- Thrown if an error occurs while retrieving the Announcement File URL.Copyright © 2017 ECG. All rights reserved.