public class ServiceProviderAccessDeviceImport extends AbstractDeviceImport<co.ecg.alpaca.toolkit.generated.ServiceProviderAccessDevice,co.ecg.alpaca.toolkit.generated.ServiceProviderAccessDevice.ServiceProviderAccessDeviceAddRequest>
addRequest
Constructor and Description |
---|
ServiceProviderAccessDeviceImport(co.ecg.alpaca.toolkit.model.BroadWorksServer bws,
AccessDeviceInformation<co.ecg.alpaca.toolkit.generated.ServiceProviderAccessDevice> 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.ServiceProviderAccessDevice |
execute()
Performs import of a ServiceProvider Access Device.
|
co.ecg.alpaca.toolkit.generated.ServiceProviderAccessDevice.ServiceProviderAccessDeviceAddRequest |
getAddRequest() |
void |
migrateCustomFile(DeviceFile file)
Migrates Custom Files based on the specific Device sub-type
|
void |
rebuildDevice()
Rebuilds the ServiceProviderAccessDevice configuration
|
co.ecg.alpaca.toolkit.generated.ServiceProviderAccessDevice |
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 ServiceProviderAccessDeviceImport(co.ecg.alpaca.toolkit.model.BroadWorksServer bws, AccessDeviceInformation<co.ecg.alpaca.toolkit.generated.ServiceProviderAccessDevice> 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.ServiceProviderAccessDevice execute() throws HelperException
execute
in class AbstractImport<co.ecg.alpaca.toolkit.generated.ServiceProviderAccessDevice,AccessDeviceInformation<co.ecg.alpaca.toolkit.generated.ServiceProviderAccessDevice>,co.ecg.alpaca.toolkit.generated.ServiceProviderAccessDevice.ServiceProviderAccessDeviceAddRequest>
HelperException
- Thrown when an error is occurred during the import processGroupAccessDevice
public co.ecg.alpaca.toolkit.generated.ServiceProviderAccessDevice.ServiceProviderAccessDeviceAddRequest getAddRequest() throws co.ecg.alpaca.toolkit.exception.RequestException
getAddRequest
in class AbstractImport<co.ecg.alpaca.toolkit.generated.ServiceProviderAccessDevice,AccessDeviceInformation<co.ecg.alpaca.toolkit.generated.ServiceProviderAccessDevice>,co.ecg.alpaca.toolkit.generated.ServiceProviderAccessDevice.ServiceProviderAccessDeviceAddRequest>
co.ecg.alpaca.toolkit.exception.RequestException
public co.ecg.alpaca.toolkit.generated.ServiceProviderAccessDevice 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 void migrateCustomFile(DeviceFile file) throws co.ecg.alpaca.toolkit.exception.RequestException
AbstractDeviceImport
migrateCustomFile
in class AbstractDeviceImport<co.ecg.alpaca.toolkit.generated.ServiceProviderAccessDevice,co.ecg.alpaca.toolkit.generated.ServiceProviderAccessDevice.ServiceProviderAccessDeviceAddRequest>
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.ServiceProviderAccessDevice,co.ecg.alpaca.toolkit.generated.ServiceProviderAccessDevice.ServiceProviderAccessDeviceAddRequest>
public void rebuildDevice() throws co.ecg.alpaca.toolkit.exception.RequestException
co.ecg.alpaca.toolkit.exception.RequestException
Copyright © 2016. All rights reserved.