public class UserImport extends BroadWorksUserImport<User,UserInformation,User.UserAddRequest,UserImport.Step,UserImport>
User
on the BroadWorks system given the provided UserInformation
.Modifier and Type | Class and Description |
---|---|
static class |
UserImport.Step |
inputServices, targetGroup, targetGroupInformation, temporaryPassword
addRequest
stepList
errors, log, warnings
Constructor and Description |
---|
UserImport(BroadWorksServer broadWorksServer,
UserInformation information) |
Modifier and Type | Method and Description |
---|---|
protected void |
addServiceConfiguration()
Migrates the original User's service configuration to the new User
|
void |
checkValidity(MigrationType type)
Check if the User import meets the requirement and encumbrance checks
|
User |
execute() |
User.UserAddRequest |
getAddRequest() |
addCommunicationBarringInformation, addCustomAnnouncements, addFeatureAccessCodeInformation, addServicesAndServicePacks, addTimesTenInformation, setTargetGroupInformation
concurrencyCheck, getBroadWorksServer, getInformation, getOutput, mapRequestAndFire, mapRequestAndFire, mapRequestAndFire, registerForEvents, serviceModifyEvent, setAddRequest, setOutput, unregister
addStep, addStep, all, allBut, getStepCount, isConcurrent, only, removeStep, setConcurrent, step, step
checkValidity, exception, getErrors, getReport, getWarnings, hasErrors, isError, isError, isError, printReport, setExceptionOnErrors
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getSessionLogger, logger
public UserImport(BroadWorksServer broadWorksServer, UserInformation information) throws HelperException, co.ecg.licensing.LicenseException
HelperException
co.ecg.licensing.LicenseException
public User execute() throws HelperException
HelperException
public User.UserAddRequest getAddRequest() throws RequestException
getAddRequest
in class AbstractImport<User,UserInformation,User.UserAddRequest,UserImport.Step,UserImport>
RequestException
public void checkValidity(MigrationType type) throws HelperException
HelperException
- Thrown if the user fails the validity checkRequirementError
protected void addServiceConfiguration() throws HelperException, RequestException
addServiceConfiguration
in class BroadWorksUserImport<User,UserInformation,User.UserAddRequest,UserImport.Step,UserImport>
HelperException
- Thrown if an error occurs while adding Service Configurations.RequestException
- Thrown if an error occurs while adding Service Configurations.Copyright © 2017 ECG. All rights reserved.