public class ServiceProviderAccessDeviceImport extends AbstractDeviceImport<ServiceProviderAccessDevice,ServiceProviderAccessDevice.ServiceProviderAccessDeviceAddRequest,ServiceProviderAccessDeviceImport.Step,ServiceProviderAccessDeviceImport>
Modifier and Type | Class and Description |
---|---|
static class |
ServiceProviderAccessDeviceImport.Step |
addRequest
stepList
errors, log, warnings
Constructor and Description |
---|
ServiceProviderAccessDeviceImport(BroadWorksServer bws,
AccessDeviceInformation<ServiceProviderAccessDevice> information)
Creates a new Object Import with the provided information
|
Modifier and Type | Method and Description |
---|---|
Request |
createAddTagRequest(DeviceTag tag)
Creates an Add Tag Request for the specific Device sub-type
|
ServiceProviderAccessDevice |
execute()
Performs import of a ServiceProvider Access Device.
|
ServiceProviderAccessDevice.ServiceProviderAccessDeviceAddRequest |
getAddRequest() |
void |
migrateCustomFile(DeviceFile file)
Migrates Custom Files based on the specific Device sub-type
|
void |
rebuildDevice()
Rebuilds the ServiceProviderAccessDevice configuration
|
ServiceProviderAccessDevice |
retrieveOutputDevice()
Retrieves the OutputDevice bases on the information in the add request.
|
addCustomTags, addDeviceFiles, addOutputDevice, addUsersToOutputDevice, checkMACAddressAvailability, checkMACAddressAvailability, getMacAddress, getMigratedFiles
concurrencyCheck, getBroadWorksServer, getInformation, getOutput, mapRequestAndFire, mapRequestAndFire, mapRequestAndFire, registerForEvents, serviceModifyEvent, setAddRequest, setOutput, unregister
addStep, addStep, all, allBut, getStepCount, isConcurrent, only, removeStep, setConcurrent, step, 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(BroadWorksServer bws, AccessDeviceInformation<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 ServiceProviderAccessDevice execute() throws HelperException
HelperException
- Thrown when an error is occurred during the import processGroupAccessDevice
public ServiceProviderAccessDevice.ServiceProviderAccessDeviceAddRequest getAddRequest() throws RequestException
public ServiceProviderAccessDevice retrieveOutputDevice() throws BroadWorksObjectException, RequestException
BroadWorksObjectException
- Thrown if an error occurs while retrieving the ServiceProvider
RequestException
- Thrown if an error occurs while mapping requests and responsespublic void migrateCustomFile(DeviceFile file) throws RequestException, IOException, HelperException
AbstractDeviceImport
migrateCustomFile
in class AbstractDeviceImport<ServiceProviderAccessDevice,ServiceProviderAccessDevice.ServiceProviderAccessDeviceAddRequest,ServiceProviderAccessDeviceImport.Step,ServiceProviderAccessDeviceImport>
file
- The custom file to migrate.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 Request createAddTagRequest(DeviceTag tag)
AbstractDeviceImport
createAddTagRequest
in class AbstractDeviceImport<ServiceProviderAccessDevice,ServiceProviderAccessDevice.ServiceProviderAccessDeviceAddRequest,ServiceProviderAccessDeviceImport.Step,ServiceProviderAccessDeviceImport>
tag
- The tag to create.public void rebuildDevice() throws RequestException
RequestException
- Thrown if an error occurs while mapping requests and responsesCopyright © 2017 ECG. All rights reserved.