Modifier and Type | Method and Description |
---|---|
static void |
ServiceHelper.authorizeAndAssignService(co.ecg.alpaca.toolkit.generated.User user,
co.ecg.alpaca.toolkit.generated.enums.UserService service)
Authorizes and Assigns a UserService at the ServiceProvider, Group, and
User level.
|
static List<co.ecg.alpaca.toolkit.generated.Group> |
GroupHelper.getAllGroupsInSystem(co.ecg.alpaca.toolkit.model.BroadWorksServer bws)
Helper to retrieve all Groups within the BroadWorksSystem
|
static List<co.ecg.alpaca.toolkit.generated.User> |
ServiceProviderHelper.getAllUsersInServiceProvider(co.ecg.alpaca.toolkit.generated.ServiceProvider serviceProvider)
Retrieve the List of Users in a Service Provider
|
static List<co.ecg.alpaca.toolkit.generated.User> |
ServiceHelper.getAllUsersWithService(co.ecg.alpaca.toolkit.model.BroadWorksServer bws,
List<co.ecg.alpaca.toolkit.generated.User> users,
co.ecg.alpaca.toolkit.generated.enums.UserService service)
Populates a list of User objects using asynchronous calls to perform the
population in an efficient manner
|
String |
TimesTenHelper.getAnnouncementURL(co.ecg.alpaca.toolkit.generated.User user,
String announcementName)
Method to get the URL for for a User Announcement file.
|
String |
TimesTenHelper.getBroadWorksPasswordForUser(co.ecg.alpaca.toolkit.generated.User user)
Method to retrieve the BroadWorks Password for the given
User . |
Credentials |
TimesTenHelper.getDeviceCredentials(co.ecg.alpaca.toolkit.generated.AccessDevice accessDevice)
Method to retrieve the
Credentials for the given
AccessDevice |
Credentials |
TimesTenHelper.getDeviceTypeCredentials(co.ecg.alpaca.toolkit.generated.AccessDevice accessDevice)
Method to retrieve the
Credentials for the given
AccessDevice device type. |
List<SavedMessageRow> |
TimesTenHelper.getSavedVoicemails(co.ecg.alpaca.toolkit.generated.User user)
Method to retrieve the Voice Messaging saved messages for the given
User . |
HashMap<String,String> |
TimesTenHelper.getUserAuthenticationInformation(co.ecg.alpaca.toolkit.generated.User user)
Method to retrieve the service information rows related to the
Authentication service for a
User |
Credentials |
TimesTenHelper.getVoiceMessagingGroupMailServerCredentialsForUser(co.ecg.alpaca.toolkit.generated.User user)
Retrieves the VoiceMessaging Group MailServer credentials for a given
User
|
Credentials |
TimesTenHelper.getVoiceMessagingPersonalMailServerCredentialsForUser(co.ecg.alpaca.toolkit.generated.User user)
Retrieves the VoiceMessaging Personal MailServer credentials for a given
User
|
String |
TimesTenHelper.getVoicePortalPasscodeForUser(co.ecg.alpaca.toolkit.generated.User user)
Method to retrieve the Voice Portal Passcode for the given
User . |
TimesTenHelper.VoicePortalPasscodeDetails |
TimesTenHelper.getVoicePortalPasswordDetails(co.ecg.alpaca.toolkit.generated.User user)
Method to retrieve the Voice Portal Passcode for the given
User . |
static <T extends BroadWorksObjectInformation> |
JSONHelper.inputBroadWorksInformation(Type type,
FileReader fileReader)
Imports a BroadWorksObjectInformation class from the specified File
|
static <T extends BroadWorksObjectInformation> |
JSONHelper.outputBroadWorksInformation(T information,
FileWriter fileWriter)
Outputs a BroadWorksObjectInformation class as JSON to the specified
FileOutputStream
|
static void |
GroupHelper.randomizeAuthentication(co.ecg.alpaca.toolkit.generated.Group group)
Randomizes the authentication username and password for all users of the
given group.
|
static void |
ServiceProviderHelper.randomizeAuthentication(co.ecg.alpaca.toolkit.generated.ServiceProvider sp)
Randomizes the authentication username and password for all users of the
given service provider.
|
static <R extends co.ecg.alpaca.toolkit.messaging.response.Response,T extends co.ecg.alpaca.toolkit.model.BroadWorksObject> |
BaseHelper.requestPerObjectProducer(co.ecg.alpaca.toolkit.model.BroadWorksServer bws,
List<T> objects,
Class typeParameterClass,
Class<? extends co.ecg.alpaca.toolkit.messaging.request.Request<R>> request,
BiConsumer<T,R> consumer) |
static boolean |
ServiceHelper.serviceIsAssigned(co.ecg.alpaca.toolkit.generated.User user,
co.ecg.alpaca.toolkit.generated.enums.UserService service)
Checks if a UserService is assigned to a User.
|
void |
TimesTenHelper.setAutoLoginFlags(co.ecg.alpaca.toolkit.generated.User user)
Method to toggle the Voice Portal and Web Portal to login without
requesting a password change.
|
void |
TimesTenHelper.setDeviceProfileCredentials(co.ecg.alpaca.toolkit.generated.AccessDevice accessDevice,
Credentials accessDeviceCredentials)
Method to set the
AccessDevice profile credentials |
void |
TimesTenHelper.setHashedBroadWorksPasswordForUser(co.ecg.alpaca.toolkit.generated.User user,
String hashedPassword)
Method to set the
User Broadworks password. |
void |
TimesTenHelper.setUserAuthenticationInformation(co.ecg.alpaca.toolkit.generated.User user,
HashMap<String,String> authenticationRows)
Method to update existing user Authentication rows with a previously
retrieved map of authentication rows
|
void |
TimesTenHelper.BroadWorksAuthenticationInformation.setValuesForUser(co.ecg.alpaca.toolkit.generated.User user) |
void |
TimesTenHelper.setVoicePortalPasscodeForUser(co.ecg.alpaca.toolkit.generated.User user,
String voicePortalPasscode)
Method to set the
User voice portal passcode. |
Constructor and Description |
---|
BroadWorksAuthenticationInformation(co.ecg.alpaca.toolkit.generated.User user)
Create a BroadWorksAuthenticationInformation object for the given
User
|
TimesTenHelper(co.ecg.alpaca.toolkit.model.BroadWorksServer bws) |
Modifier and Type | Method and Description |
---|---|
void |
BusyLampFieldDB.checkServiceProvider(co.ecg.alpaca.toolkit.generated.ServiceProvider serviceProvider)
Retrieve a ServiceProvider row from the database.
|
HashMap<co.ecg.alpaca.toolkit.generated.User,Integer> |
BusyLampFieldDB.getMonitoringUsers(co.ecg.alpaca.toolkit.generated.User user)
Returns the Map of monitoring Users for the given User and their
corresponding BLF index.
|
void |
BusyLampFieldDB.reload(co.ecg.alpaca.toolkit.generated.ServiceProvider serviceProvider)
Reloads Busy Lamp Field information into the cache DB for all User's in
the ServiceProvider.
|
Modifier and Type | Method and Description |
---|---|
static void |
DeviceHelper.addEndpointsToDevice(co.ecg.alpaca.toolkit.generated.AccessDevice device,
List<AccessDeviceUser> accessDeviceUsers)
Method to add a list of endpoints to a device.
|
static co.ecg.alpaca.toolkit.generated.AccessDevice |
DeviceHelper.getAccessDeviceFromUser(co.ecg.alpaca.toolkit.generated.User user)
Utility Method to retrieve the specific subclass AccessDevice from a User
|
static AccessDeviceUser |
DeviceHelper.getPrimaryAccessDeviceUser(co.ecg.alpaca.toolkit.generated.GroupAccessDevice gad)
Helper Method to find the Primary Access Device User from a Group Access Device.
|
static String |
DeviceHelper.getRepositoryURL(co.ecg.alpaca.toolkit.generated.AccessDevice accessDevice,
String deviceType,
String macAddress,
String fileFormat,
String method)
Retrieves Repository URL for an access device file
|
static boolean |
DeviceHelper.isCompatibleDeviceType(co.ecg.alpaca.toolkit.generated.AccessDevice accessDevice,
AccessDeviceInformation<?> information,
String deviceType)
Checks if the given AccessDevice and AccessDeviceInformation are
compatible with the given device type.
|
static void |
DeviceHelper.rebuildAccessDeviceConfigurationFiles(co.ecg.alpaca.toolkit.generated.AccessDevice accessDevice)
Utility Method to rebuild an AccessDevice configuration files.
|
static void |
DeviceHelper.removeEndpointsFromDevice(co.ecg.alpaca.toolkit.generated.AccessDevice device,
List<AccessDeviceUser> accessDeviceUsers)
Method to remove endpoints from an AccessDevice.
|
static void |
DeviceHelper.replaceUserDevice(co.ecg.alpaca.toolkit.generated.User user,
co.ecg.alpaca.toolkit.generated.AccessDevice newDevice)
Method to replace an AccessDevice on a User with another.
|
static void |
DeviceHelper.resetAccessDevice(co.ecg.alpaca.toolkit.generated.AccessDevice accessDevice)
Method to reset an AccessDevice on a User.
|
static co.ecg.alpaca.toolkit.generated.AccessDevice |
DeviceHelper.retrieveUserAccessDeviceSubtype(co.ecg.alpaca.toolkit.generated.AccessDevice device,
co.ecg.alpaca.toolkit.generated.User user)
Helper Method to convert an AccessDevice to its more specific subtype.
|
Constructor and Description |
---|
ResetWatcher(co.ecg.alpaca.toolkit.generated.AccessDevice accessDevice)
Creates a ResetWatcher with the designated AccessDevice
|
ResetWatcher(co.ecg.alpaca.toolkit.model.BroadWorksServer bws,
List<co.ecg.alpaca.toolkit.generated.User> userList)
Creates a ResetWatcher with the given list of Users
|
ResetWatcher(co.ecg.alpaca.toolkit.generated.Group group)
Creates a ResetWatcher with the given Group
|
ResetWatcher(co.ecg.alpaca.toolkit.generated.User user)
Creates a ResetWatcher with the given User
|
Modifier and Type | Method and Description |
---|---|
UserInformation |
UserInformationBuilder.build() |
ServiceProviderInformation |
ServiceProviderInformationBuilder.build() |
abstract O |
InformationBuilder.build() |
GroupInformation |
GroupInformationBuilder.build() |
AccessDeviceInformation<T> |
AccessDeviceInformationBuilder.build() |
protected void |
InformationBuilder.checkValidity()
Checks the validity of the Information Builder
|
protected void |
AccessDeviceInformationBuilder.downloadDeviceFile(co.ecg.alpaca.toolkit.generated.AccessDevice device,
String deviceType,
String macAddress,
DeviceFile file,
String accessURL,
String fileFormat)
Uses the provided information to determine if the DeviceFile can be downloaded.
|
AccessDeviceInformation<T> |
AccessDeviceInformationBuilder.getGroupAccessDeviceInformation(co.ecg.alpaca.toolkit.generated.GroupAccessDevice gad)
Retrieves
AccessDeviceInformation for a GroupAccessDevice |
AccessDeviceInformation<T> |
AccessDeviceInformationBuilder.getServiceProviderAccessDeviceInformation(co.ecg.alpaca.toolkit.generated.ServiceProviderAccessDevice spad)
Retrieves
AccessDeviceInformation for a
ServiceProviderAccessDevice |
AccessDeviceInformation<T> |
AccessDeviceInformationBuilder.getSystemAccessDeviceInformation(co.ecg.alpaca.toolkit.generated.SystemAccessDevice sad)
Retrieves
AccessDeviceInformation for a SystemAccessDevice |
Constructor and Description |
---|
AccessDeviceInformationBuilder(T accessDevice) |
GroupInformationBuilder(co.ecg.alpaca.toolkit.generated.Group group) |
InformationBuilder(T object) |
ServiceProviderInformationBuilder(co.ecg.alpaca.toolkit.generated.ServiceProvider serviceProvider) |
UserInformationBuilder(co.ecg.alpaca.toolkit.generated.User user) |
Modifier and Type | Method and Description |
---|---|
abstract List<EncumbranceError> |
MigrationEncumbrances.checkAllEncumbrances()
Method to check the object for all possible encumbrances that prevent
migration
|
abstract List<RequirementError> |
MigrationRequirements.checkAllRequirements()
Method to check the object for all possible requirements that prevent
migration
|
abstract O |
AbstractMigration.execute()
Exectutes the migration and returns the migrated object.
|
abstract O |
AbstractImport.execute()
Exectutes the import and returns the created object.
|
abstract void |
AbstractDestroy.execute()
Exectutes the destroy.
|
Constructor and Description |
---|
AbstractImport(co.ecg.alpaca.toolkit.model.BroadWorksServer bws,
T information)
Creates a new Object Import with the provided information
|
AbstractMigration(I inputInformation,
T transformation)
Creates a new Abstract Migration with the provided input BroadWorksObject and the Add Request.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractDeviceImport.addDeviceFiles(String outputDeviceType,
String outputMacAddress)
Performs the addition of device files that match the DeviceFileMigrationRules
|
void |
AbstractDeviceImport.addOutputDevice()
Fires the DeviceAddRequest to create the output device
|
void |
AbstractDeviceImport.addUsersToOutputDevice()
Adds the Users in the input AccessDeviceInformation to the OutputDevice
|
void |
AbstractDeviceMigration.checkDeviceTypeCompatibility(String deviceType)
Checks if the input and output device types are compatible as determined by
DeviceHelper .isCompatibleDevice(). |
void |
AbstractDeviceImport.checkMACAddressAvailability(co.ecg.alpaca.toolkit.model.BroadWorksServer broadWorksServer,
String newMacAddres,
String oldMacAddress)
Checks the if the MAC address for the Add Request is available for use.
|
co.ecg.alpaca.toolkit.generated.ServiceProviderAccessDevice |
ServiceProviderAccessDeviceMigration.execute()
Performs Migration of a Service Provider Access Device.
|
co.ecg.alpaca.toolkit.generated.ServiceProviderAccessDevice |
ServiceProviderAccessDeviceImport.execute()
Performs import of a ServiceProvider Access Device.
|
void |
ServiceProviderAccessDeviceDestroy.execute() |
co.ecg.alpaca.toolkit.generated.GroupAccessDevice |
GroupAccessDeviceMigration.execute()
Performs Migration of a Group Access Device.
|
co.ecg.alpaca.toolkit.generated.GroupAccessDevice |
GroupAccessDeviceImport.execute()
Performs import of a Group Access Device.
|
void |
GroupAccessDeviceDestroy.execute() |
void |
AbstractDeviceDestroy.unassignInputUsers(List<AccessDeviceUser> accessDeviceUserList)
Removes the endpoints from the input device
|
Constructor and Description |
---|
AbstractDeviceImport(co.ecg.alpaca.toolkit.model.BroadWorksServer bws,
AccessDeviceInformation<T> information)
Creates a new Object Import with the provided information
|
AbstractDeviceMigration(AccessDeviceInformation<O> input,
AbstractTransform<O,AccessDeviceInformation<O>> transform) |
GroupAccessDeviceImport(co.ecg.alpaca.toolkit.model.BroadWorksServer bws,
AccessDeviceInformation<co.ecg.alpaca.toolkit.generated.GroupAccessDevice> information)
Creates a new Object Import with the provided information
|
GroupAccessDeviceMigration(AccessDeviceInformation<co.ecg.alpaca.toolkit.generated.GroupAccessDevice> inputInformation,
AbstractTransform<co.ecg.alpaca.toolkit.generated.GroupAccessDevice,AccessDeviceInformation<co.ecg.alpaca.toolkit.generated.GroupAccessDevice>> transformation)
Creates a new GroupAccessDevice migration object with the input device as
the source and the add request as the target.
|
ServiceProviderAccessDeviceImport(co.ecg.alpaca.toolkit.model.BroadWorksServer bws,
AccessDeviceInformation<co.ecg.alpaca.toolkit.generated.ServiceProviderAccessDevice> information)
Creates a new Object Import with the provided information
|
ServiceProviderAccessDeviceMigration(AccessDeviceInformation<co.ecg.alpaca.toolkit.generated.ServiceProviderAccessDevice> inputInformation,
AbstractTransform<co.ecg.alpaca.toolkit.generated.ServiceProviderAccessDevice,AccessDeviceInformation<co.ecg.alpaca.toolkit.generated.ServiceProviderAccessDevice>> transformation)
Creates a new ServiceProviderAccessDevice migration object with the input device as the source and the add request as the target.
|
Modifier and Type | Method and Description |
---|---|
void |
GroupImport.authorizeServicesAndServicePacks()
Authorize Group and User services and Service Packs for the destination Group
|
List<EncumbranceError> |
GroupMigrationEncumbrances.checkAllEncumbrances()
Method to check a Group for all possible encumbrances that prevent migration
|
List<RequirementError> |
GroupMigrationRequirements.checkAllRequirements()
Method to check a Group for all possible requirements that prevent
migration to the destination.
|
void |
GroupImport.createNewGroup()
Creates the destination Group
|
co.ecg.alpaca.toolkit.generated.Group |
GroupMigration.execute()
Performs the migration process in a step by step approach.
|
co.ecg.alpaca.toolkit.generated.Group |
GroupImport.execute() |
void |
GroupDestroy.execute() |
Constructor and Description |
---|
GroupImport(co.ecg.alpaca.toolkit.model.BroadWorksServer bws,
GroupInformation information)
Creates a new Object Import with the provided information
|
GroupMigration(GroupInformation inputInformation,
AbstractTransform<co.ecg.alpaca.toolkit.generated.Group,GroupInformation> transform)
Performs the migration of a
Group by removing it and recreating
with the specified add request. |
GroupMigrationEncumbrances(GroupInformation groupInformation,
MigrationType type)
Creates a GroupMigrationEncumbrances class for the specified Group Information and MigrationType
|
GroupMigrationRequirements(GroupInformation information,
MigrationType type)
Creates a new GroupMigrationRequirements class with the provided UserInformation and Migration Type.
|
GroupMigrationRequirements(GroupInformation information,
T destinationInformation,
MigrationType type)
Creates a new GroupMigrationRequirements class with the provided GroupInformation, DestinationInformation, and Migration Type
|
Modifier and Type | Method and Description |
---|---|
List<EncumbranceError> |
UserMigrationEncumbrances.checkAllEncumbrances()
Method to check a User for all possible encumbrances that prevent
migration
|
List<RequirementError> |
UserMigrationRequirements.checkAllRequirements()
Method to check a User for all possible requirements that prevent
migration to the destination.
|
co.ecg.alpaca.toolkit.generated.User |
UserMigration.execute()
Performs the migration process in a step by step approach.
|
co.ecg.alpaca.toolkit.generated.User |
UserImport.execute() |
void |
UserDestroy.execute() |
Constructor and Description |
---|
UserImport(co.ecg.alpaca.toolkit.model.BroadWorksServer broadWorksServer,
UserInformation information) |
UserMigration(UserInformation inputInformation,
AbstractTransform<co.ecg.alpaca.toolkit.generated.User,UserInformation> transform)
Performs the migration of a
User by removing it and recreating
with the specified add request. |
UserMigrationEncumbrances(UserInformation userInformation,
MigrationType target)
Creates a UserMigrationEncumbrances class for the specified User Information
|
UserMigrationRequirements(UserInformation userInformation,
MigrationType type)
Creates a new UserMigrationRequirements class with the provided UserInformation and Migration Type.
|
UserMigrationRequirements(UserInformation userInformation,
T destinationInformation,
MigrationType type)
Creates a new UserMigrationRequirements class with the provided UserInformation, DestinationInformation, and Migration Type
|
Modifier and Type | Method and Description |
---|---|
String |
UserMigrationReport.run() |
abstract String |
AlpacaReport.run() |
Modifier and Type | Method and Description |
---|---|
static void |
BusyLampFieldHelper.busyLampFieldMonitorUserForUserList(co.ecg.alpaca.toolkit.generated.User toMonitor,
HashMap<co.ecg.alpaca.toolkit.generated.User,Integer> monitoringList)
Sets a User on the Busy Lamp Field monitoring list for a set of Users.
|
static void |
VoiceMessagingHelper.clearVoiceMailGreetings(co.ecg.alpaca.toolkit.generated.User user)
Reset Voicemail Greetings on a User.
|
static boolean |
VoiceMessagingHelper.isVoiceMessagingActive(co.ecg.alpaca.toolkit.generated.User user)
Checks if VoiceMessaging service is assigned and active for the User
|
static String |
AuthenticationHelper.randomizeUserAuthenticationPassword(co.ecg.alpaca.toolkit.generated.User user)
Randomizes a User's Authentication Password by calling the generate
method to create a BroadWorks compliant randomized password.
|
static String |
AuthenticationHelper.randomizeUserAuthenticationUsername(co.ecg.alpaca.toolkit.generated.User user)
Randomizes a User's Authentication Username based on the configuration
found in the Alpaca properties file.
|
Modifier and Type | Method and Description |
---|---|
static String |
UserHelper.generateRandomGroupPassword(co.ecg.alpaca.toolkit.generated.Group group)
Method to retrieve password rules for the specific group and then use
those to create a randomized password that meets the BroadWorks
requirements.
|
static String |
UserHelper.generateRandomUserPasscode(co.ecg.alpaca.toolkit.generated.User user)
Method to retrieve password rules for the specific user and then use
those to create a randomized password that meets the BroadWorks
requirements.
|
static String |
UserHelper.generateRandomUserPassword(co.ecg.alpaca.toolkit.generated.User user)
Method to create a randomly generated password for a User based on the
Group password requirements
|
static List<co.ecg.alpaca.toolkit.generated.User> |
UserHelper.getAllUsersInSystem(co.ecg.alpaca.toolkit.model.BroadWorksServer broadWorksServer)
Retrieves a list of all Users in the BroadWorks system.
|
static <R extends co.ecg.alpaca.toolkit.messaging.response.Response> |
UserHelper.getResponsePerUserMap(co.ecg.alpaca.toolkit.model.BroadWorksServer bws,
List<co.ecg.alpaca.toolkit.generated.User> users,
Class<? extends co.ecg.alpaca.toolkit.messaging.request.Request<R>> request)
Runs a request for every user in a list.
|
static List<co.ecg.alpaca.toolkit.generated.AccessDevice> |
UserHelper.getUserAccessDeviceList(co.ecg.alpaca.toolkit.generated.User user)
Retrieves the list of Access Devices for a given User
|
static List<UserRegistration> |
UserRegistrationHelper.getUserRegistrationList(co.ecg.alpaca.toolkit.generated.User user)
Retrieves
UserRegistration collection for the given User . |
static co.ecg.alpaca.toolkit.generated.UserServices |
UserHelper.getUserServicesForAllAssignedServices(co.ecg.alpaca.toolkit.generated.User user)
Retrieves a UserServices object populated with information from all
services and service packs assigned to the User.
|
static void |
UserHelper.populateUserList(co.ecg.alpaca.toolkit.model.BroadWorksServer bws,
List<co.ecg.alpaca.toolkit.generated.User> users)
Populates a list of User objects using asynchronous calls to perform the
population in an efficient manner
|
static String |
UserHelper.resetUserPasscode(co.ecg.alpaca.toolkit.generated.User user) |
static String |
UserHelper.resetUserPassword(co.ecg.alpaca.toolkit.generated.User user) |
static HashMap<co.ecg.alpaca.toolkit.generated.datatypes.AnnouncementFileKey,co.ecg.alpaca.toolkit.generated.datatypes.LabeledMediaFileResource> |
UserHelper.retrieveAnnouncementResourceList(co.ecg.alpaca.toolkit.generated.User user)
Retrieves a map of
AnnouncementFileKey and their respecting
LabeledMediaFileResource that represent the Announcement files
for the User. |
static void |
UserHelper.setUserGroupServiceInformation(co.ecg.alpaca.toolkit.generated.User user,
UserGroupServiceInformation information)
Set's Group Services information that can be configured for a specific
User
|
Modifier and Type | Method and Description |
---|---|
static UserGroupServiceInformation |
UserGroupServiceInformation.getUserGroupServiceInformation(co.ecg.alpaca.toolkit.generated.User user)
Retrieves the list of Group Services information that can be configured
for a specific User
|
Copyright © 2016. All rights reserved.