public class GroupImport extends AbstractImport<Group,GroupInformation,Group.GroupAddRequest,GroupImport.Step,GroupImport>
Group
on the BroadWorks system given the provided GroupInformation
.Modifier and Type | Class and Description |
---|---|
static class |
GroupImport.Step |
addRequest
stepList
errors, log, warnings
Constructor and Description |
---|
GroupImport(BroadWorksServer bws,
GroupInformation information)
Creates a new Object Import with the provided information
|
GroupImport(BroadWorksServer bws,
GroupInformation information,
T serviceProviderInformation)
Creates a new Object Import with the provided information
|
Modifier and Type | Method and Description |
---|---|
void |
checkValidity(MigrationType type)
Check if the GroupImport meets the requirement checks
|
Group |
execute() |
Group.GroupAddRequest |
getAddRequest() |
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 GroupImport(BroadWorksServer bws, GroupInformation information, T serviceProviderInformation) throws HelperException, co.ecg.licensing.LicenseException
bws
- The BroadWorks server to create the User oninformation
- The information to base the new object onHelperException
- Thrown if an error occurs while retrieving the ServiceProvider.co.ecg.licensing.LicenseException
- Thrown if Group Migration is not licensed.public GroupImport(BroadWorksServer bws, GroupInformation information) throws HelperException, co.ecg.licensing.LicenseException
bws
- The BroadWorks server to create the User oninformation
- The information to base the new object onHelperException
- Thrown if an error occurs while retrieving the ServiceProvider.co.ecg.licensing.LicenseException
- Thrown if Group Migration is not licensed.public Group execute() throws HelperException
HelperException
public Group.GroupAddRequest getAddRequest() throws RequestException
getAddRequest
in class AbstractImport<Group,GroupInformation,Group.GroupAddRequest,GroupImport.Step,GroupImport>
RequestException
public void checkValidity(MigrationType type) throws HelperException
HelperException
- Thrown if the service provider has requirements that prevent importing the group.RequirementError
Copyright © 2017 ECG. All rights reserved.