public class GroupImport extends AbstractImport<co.ecg.alpaca.toolkit.generated.Group,GroupInformation,co.ecg.alpaca.toolkit.generated.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(co.ecg.alpaca.toolkit.model.BroadWorksServer bws,
GroupInformation information)
Creates a new Object Import with the provided information
|
GroupImport(co.ecg.alpaca.toolkit.model.BroadWorksServer bws,
GroupInformation information,
T serviceProviderInformation)
Creates a new Object Import with the provided information
|
Modifier and Type | Method and Description |
---|---|
protected void |
checkValidity(MigrationType type)
Check if the GroupImport meets the requirement checks
|
co.ecg.alpaca.toolkit.generated.Group |
execute() |
co.ecg.alpaca.toolkit.generated.Group.GroupAddRequest |
getAddRequest() |
concurrencyCheck, getBroadWorksServer, getInformation, getOutput, mapRequestAndFire, mapRequestAndFire, mapRequestAndFire, registerForEvents, serviceModifyEvent, setAddRequest, setOutput
addStep, addStep, all, allBut, isConcurrent, only, removeStep, setConcurrent, 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(co.ecg.alpaca.toolkit.model.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(co.ecg.alpaca.toolkit.model.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 co.ecg.alpaca.toolkit.generated.Group execute() throws HelperException
HelperException
public co.ecg.alpaca.toolkit.generated.Group.GroupAddRequest getAddRequest() throws co.ecg.alpaca.toolkit.exception.RequestException
getAddRequest
in class AbstractImport<co.ecg.alpaca.toolkit.generated.Group,GroupInformation,co.ecg.alpaca.toolkit.generated.Group.GroupAddRequest,GroupImport.Step,GroupImport>
co.ecg.alpaca.toolkit.exception.RequestException
protected void checkValidity(MigrationType type) throws HelperException
HelperException
- Thrown if the service provider has requirements that prevent importing the group.Copyright © 2016. All rights reserved.