public class ServiceProviderAccessDeviceImport extends AbstractDeviceImport<co.ecg.alpaca.toolkit.generated.ServiceProviderAccessDevice,co.ecg.alpaca.toolkit.generated.ServiceProviderAccessDevice.ServiceProviderAccessDeviceAddRequest,ServiceProviderAccessDeviceImport.Step,ServiceProviderAccessDeviceImport>
Modifier and Type | Class and Description |
---|---|
static class |
ServiceProviderAccessDeviceImport.Step |
addRequest
stepList
errors, log, warnings
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, checkMACAddressAvailability, getMigratedFiles
concurrencyCheck, getBroadWorksServer, getInformation, getOutput, mapRequestAndFire, mapRequestAndFire, mapRequestAndFire, registerForEvents, serviceModifyEvent, setAddRequest, setOutput
addStep, addStep, all, allBut, isConcurrent, only, removeStep, setConcurrent, step
checkValidity, exception, getErrors, getReport, getWarnings, hasErrors, isError, isError, isError, printReport, setExceptionOnErrors
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getSessionLogger, logger
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
- Thrown if an error occurs during Import.co.ecg.licensing.LicenseException
public co.ecg.alpaca.toolkit.generated.ServiceProviderAccessDevice execute() throws HelperException
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,ServiceProviderAccessDeviceImport.Step,ServiceProviderAccessDeviceImport>
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
- Thrown if an error occurs while retrieving the ServiceProvider
co.ecg.alpaca.toolkit.exception.RequestException
- Thrown if an error occurs while mapping requests and responsespublic void migrateCustomFile(DeviceFile file) throws co.ecg.alpaca.toolkit.exception.RequestException, IOException, HelperException
AbstractDeviceImport
migrateCustomFile
in class AbstractDeviceImport<co.ecg.alpaca.toolkit.generated.ServiceProviderAccessDevice,co.ecg.alpaca.toolkit.generated.ServiceProviderAccessDevice.ServiceProviderAccessDeviceAddRequest,ServiceProviderAccessDeviceImport.Step,ServiceProviderAccessDeviceImport>
file
- The custom file to migrate.co.ecg.alpaca.toolkit.exception.RequestException
- Thrown if an error occurs while mapping requests and responsesIOException
- Thrown if and error occurs while migrating the File.HelperException
- Thrown if an error occurs while migrating the File.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,ServiceProviderAccessDeviceImport.Step,ServiceProviderAccessDeviceImport>
tag
- The tag to create.public void rebuildDevice() throws co.ecg.alpaca.toolkit.exception.RequestException
co.ecg.alpaca.toolkit.exception.RequestException
- Thrown if an error occurs while mapping requests and responsesCopyright © 2016. All rights reserved.