public class GroupImport extends AbstractImport<co.ecg.alpaca.toolkit.generated.Group,GroupInformation,co.ecg.alpaca.toolkit.generated.Group.GroupAddRequest>
Group
on the BroadWorks system given the provided GroupInformation
.
Created by mkeathley on 5/11/16.addRequest
Constructor and Description |
---|
GroupImport(co.ecg.alpaca.toolkit.model.BroadWorksServer bws,
GroupInformation information)
Creates a new Object Import with the provided information
|
Modifier and Type | Method and Description |
---|---|
void |
authorizeServicesAndServicePacks()
Authorize Group and User services and Service Packs for the destination Group
|
void |
createNewGroup()
Creates the destination Group
|
co.ecg.alpaca.toolkit.generated.Group |
execute()
Exectutes the import and returns the created object.
|
co.ecg.alpaca.toolkit.generated.Group.GroupAddRequest |
getAddRequest() |
getBroadWorksServer, getInformation, getOutput, setAddRequest, setOutput
exception, getErrors, hasErrors, hasRan, isNested, setHasErrors, setHasRan, setNested
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
co.ecg.licensing.LicenseException
public co.ecg.alpaca.toolkit.generated.Group execute() throws HelperException
AbstractImport
execute
in class AbstractImport<co.ecg.alpaca.toolkit.generated.Group,GroupInformation,co.ecg.alpaca.toolkit.generated.Group.GroupAddRequest>
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>
co.ecg.alpaca.toolkit.exception.RequestException
public void createNewGroup() throws HelperException, co.ecg.alpaca.toolkit.exception.RequestException
HelperException
co.ecg.alpaca.toolkit.exception.RequestException
public void authorizeServicesAndServicePacks() throws HelperException, co.ecg.alpaca.toolkit.exception.RequestException
HelperException
co.ecg.alpaca.toolkit.exception.RequestException
Copyright © 2016. All rights reserved.