public class GroupAccessDeviceImport extends AbstractDeviceImport<co.ecg.alpaca.toolkit.generated.GroupAccessDevice,co.ecg.alpaca.toolkit.generated.GroupAccessDevice.GroupAccessDeviceAddRequest,GroupAccessDeviceImport.Step,GroupAccessDeviceImport>
Modifier and Type | Class and Description |
---|---|
static class |
GroupAccessDeviceImport.Step |
addRequest
stepList
errors, log
Constructor and Description |
---|
GroupAccessDeviceImport(co.ecg.alpaca.toolkit.model.BroadWorksServer bws,
AccessDeviceInformation<co.ecg.alpaca.toolkit.generated.GroupAccessDevice> information)
Creates a new Object Import with the provided information
|
Modifier and Type | Method and Description |
---|---|
co.ecg.alpaca.toolkit.messaging.request.Request |
createAddTagRequest(DeviceTag tag)
Creates an Add Tag Request for the specific Device sub-type
|
co.ecg.alpaca.toolkit.generated.GroupAccessDevice |
execute()
Performs import of a Group Access Device.
|
co.ecg.alpaca.toolkit.generated.GroupAccessDevice.GroupAccessDeviceAddRequest |
getAddRequest() |
void |
migrateCustomFile(DeviceFile file)
Migrates Custom Files based on the specific Device sub-type
|
void |
rebuildDevice()
Rebuilds the GroupAccessDevice configuration
|
co.ecg.alpaca.toolkit.generated.GroupAccessDevice |
retrieveOutputDevice()
Retrieves the OutputDevice bases on the information in the add request.
|
addCustomTags, addDeviceFiles, addOutputDevice, addUsersToOutputDevice, checkMACAddressAvailability, checkMACAddressAvailability
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 GroupAccessDeviceImport(co.ecg.alpaca.toolkit.model.BroadWorksServer bws, AccessDeviceInformation<co.ecg.alpaca.toolkit.generated.GroupAccessDevice> 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.GroupAccessDevice execute() throws HelperException
HelperException
- Thrown when an error is occurred during the import processGroupAccessDevice
public co.ecg.alpaca.toolkit.generated.GroupAccessDevice.GroupAccessDeviceAddRequest getAddRequest() throws co.ecg.alpaca.toolkit.exception.RequestException
getAddRequest
in class AbstractImport<co.ecg.alpaca.toolkit.generated.GroupAccessDevice,AccessDeviceInformation<co.ecg.alpaca.toolkit.generated.GroupAccessDevice>,co.ecg.alpaca.toolkit.generated.GroupAccessDevice.GroupAccessDeviceAddRequest,GroupAccessDeviceImport.Step,GroupAccessDeviceImport>
co.ecg.alpaca.toolkit.exception.RequestException
public co.ecg.alpaca.toolkit.generated.GroupAccessDevice retrieveOutputDevice() throws co.ecg.alpaca.toolkit.exception.BroadWorksObjectException, co.ecg.alpaca.toolkit.exception.RequestException
co.ecg.alpaca.toolkit.exception.BroadWorksObjectException
co.ecg.alpaca.toolkit.exception.RequestException
public co.ecg.alpaca.toolkit.messaging.request.Request createAddTagRequest(DeviceTag tag)
AbstractDeviceImport
createAddTagRequest
in class AbstractDeviceImport<co.ecg.alpaca.toolkit.generated.GroupAccessDevice,co.ecg.alpaca.toolkit.generated.GroupAccessDevice.GroupAccessDeviceAddRequest,GroupAccessDeviceImport.Step,GroupAccessDeviceImport>
public void migrateCustomFile(DeviceFile file) throws co.ecg.alpaca.toolkit.exception.RequestException, IOException, HelperException
AbstractDeviceImport
migrateCustomFile
in class AbstractDeviceImport<co.ecg.alpaca.toolkit.generated.GroupAccessDevice,co.ecg.alpaca.toolkit.generated.GroupAccessDevice.GroupAccessDeviceAddRequest,GroupAccessDeviceImport.Step,GroupAccessDeviceImport>
co.ecg.alpaca.toolkit.exception.RequestException
IOException
HelperException
public void rebuildDevice() throws co.ecg.alpaca.toolkit.exception.RequestException
co.ecg.alpaca.toolkit.exception.RequestException
Copyright © 2016. All rights reserved.