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
.
Created by mkeathley on 5/11/16.Modifier and Type | Class and Description |
---|---|
static class |
GroupImport.Step |
addRequest
stepList
errors, log
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 |
---|---|
co.ecg.alpaca.toolkit.generated.Group |
execute() |
co.ecg.alpaca.toolkit.generated.Group.GroupAddRequest |
getAddRequest() |
void |
modifyServiceModifyEventHandler(ServiceModifyEvent event)
Method to handle the subscription to the
AlpacaEventBus for
ServiceModifyEvents. |
concurrencyCheck, getBroadWorksServer, getInformation, getOutput, setAddRequest, setOutput
addStep, addStep, all, allBut, isConcurrent, only, setConcurrent, step
checkValidity, exception, getErrors, hasErrors, isError, isError
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getSessionLogger, logger
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
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
public void modifyServiceModifyEventHandler(ServiceModifyEvent event)
AlpacaEventBus
for
ServiceModifyEvents. These incoming events allow for the
GroupImport to be queried to see if there was any errors.event
- The ServiceModifyEvent to be handledCopyright © 2016. All rights reserved.