public class GroupAccessDeviceImport extends AbstractDeviceImport<co.ecg.alpaca.toolkit.generated.GroupAccessDevice,co.ecg.alpaca.toolkit.generated.GroupAccessDevice.GroupAccessDeviceAddRequest>
addRequest
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
getBroadWorksServer, getInformation, getOutput, setAddRequest, setOutput
exception, getErrors, hasErrors, hasRan, isNested, setHasErrors, setHasRan, setNested
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
execute
in class AbstractImport<co.ecg.alpaca.toolkit.generated.GroupAccessDevice,AccessDeviceInformation<co.ecg.alpaca.toolkit.generated.GroupAccessDevice>,co.ecg.alpaca.toolkit.generated.GroupAccessDevice.GroupAccessDeviceAddRequest>
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>
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>
public void migrateCustomFile(DeviceFile file) throws co.ecg.alpaca.toolkit.exception.RequestException
AbstractDeviceImport
migrateCustomFile
in class AbstractDeviceImport<co.ecg.alpaca.toolkit.generated.GroupAccessDevice,co.ecg.alpaca.toolkit.generated.GroupAccessDevice.GroupAccessDeviceAddRequest>
co.ecg.alpaca.toolkit.exception.RequestException
public void rebuildDevice() throws co.ecg.alpaca.toolkit.exception.RequestException
co.ecg.alpaca.toolkit.exception.RequestException
Copyright © 2016. All rights reserved.