public class ServiceProviderHelper extends Object
| Constructor and Description |
|---|
ServiceProviderHelper() |
| Modifier and Type | Method and Description |
|---|---|
static List<co.ecg.alpaca.toolkit.generated.User> |
getAllUsersInServiceProvider(co.ecg.alpaca.toolkit.generated.ServiceProvider serviceProvider)
Retrieve the List of Users in a Service Provider
|
static void |
randomizeAuthentication(co.ecg.alpaca.toolkit.generated.ServiceProvider sp)
Randomizes the authentication username and password for all users of the
given service provider.
|
static List<AnnouncementFile> |
retrieveEnterpriseAnnouncements(co.ecg.alpaca.toolkit.generated.Enterprise enterprise)
Method to retrieve
AnnouncementFile associated with the Enterprise. |
static List<AnnouncementFile> |
retrieveServiceProviderAnnouncements(co.ecg.alpaca.toolkit.generated.ServiceProvider serviceProvider)
Method to retrieve
AnnouncementFile associated with the ServiceProvider. |
public static List<co.ecg.alpaca.toolkit.generated.User> getAllUsersInServiceProvider(co.ecg.alpaca.toolkit.generated.ServiceProvider serviceProvider) throws HelperException
serviceProvider - The Service ProviderArrayList of UsersHelperException - Thrown if an error occurs while retrieving users.public static void randomizeAuthentication(co.ecg.alpaca.toolkit.generated.ServiceProvider sp)
throws HelperException
sp - The service provider to randomize authentication forHelperException - Thrown if an error occurs during randomization.public static List<AnnouncementFile> retrieveEnterpriseAnnouncements(co.ecg.alpaca.toolkit.generated.Enterprise enterprise) throws HelperException, co.ecg.utilities.exception.AlpacaUtilityException, IOException
AnnouncementFile associated with the Enterprise.enterprise - The Enterprise to retrieve the Announcement Information.HelperException - Thrown if unable to retrieve file URLsco.ecg.utilities.exception.AlpacaUtilityExceptionIOExceptionpublic static List<AnnouncementFile> retrieveServiceProviderAnnouncements(co.ecg.alpaca.toolkit.generated.ServiceProvider serviceProvider) throws HelperException, co.ecg.utilities.exception.AlpacaUtilityException, IOException
AnnouncementFile associated with the ServiceProvider.serviceProvider - The Service Provider to retrieve the Announcement Information.HelperException - Thrown if unable to retrieve file URLsco.ecg.utilities.exception.AlpacaUtilityExceptionIOExceptionCopyright © 2016. All rights reserved.