public class SystemAccessDeviceImport extends AbstractDeviceImport<SystemAccessDevice,SystemAccessDevice.SystemAccessDeviceAddRequest,SystemAccessDeviceImport.Step,SystemAccessDeviceImport>
Modifier and Type | Class and Description |
---|---|
static class |
SystemAccessDeviceImport.Step |
addRequest
stepList
errors, log, warnings
Constructor and Description |
---|
SystemAccessDeviceImport(BroadWorksServer bws,
AccessDeviceInformation<SystemAccessDevice> 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
|
SystemAccessDevice |
execute()
Performs import of a Systems Access Device.
|
SystemAccessDevice.SystemAccessDeviceAddRequest |
getAddRequest() |
void |
migrateCustomFile(DeviceFile file)
Migrates Custom Files based on the specific Device sub-type
|
void |
rebuildDevice()
Rebuilds the ServiceProviderAccessDevice configuration
|
SystemAccessDevice |
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 SystemAccessDeviceImport(BroadWorksServer bws, AccessDeviceInformation<SystemAccessDevice> 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 SystemAccessDevice execute() throws HelperException
HelperException
- Thrown when an error is occurred during the import processSystemAccessDevice
public SystemAccessDevice.SystemAccessDeviceAddRequest getAddRequest() throws RequestException
public SystemAccessDevice retrieveOutputDevice() throws RequestException
RequestException
- Thrown if an error occurs while mapping requests and responsespublic void migrateCustomFile(DeviceFile file) throws RequestException, IOException, HelperException
AbstractDeviceImport
migrateCustomFile
in class AbstractDeviceImport<SystemAccessDevice,SystemAccessDevice.SystemAccessDeviceAddRequest,SystemAccessDeviceImport.Step,SystemAccessDeviceImport>
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<SystemAccessDevice,SystemAccessDevice.SystemAccessDeviceAddRequest,SystemAccessDeviceImport.Step,SystemAccessDeviceImport>
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.