public class GroupAccessDeviceImport extends AbstractDeviceImport<GroupAccessDevice,GroupAccessDevice.GroupAccessDeviceAddRequest,GroupAccessDeviceImport.Step,GroupAccessDeviceImport>
Modifier and Type | Class and Description |
---|---|
static class |
GroupAccessDeviceImport.Step |
addRequest
stepList
errors, log, warnings
Constructor and Description |
---|
GroupAccessDeviceImport(BroadWorksServer bws,
AccessDeviceInformation<GroupAccessDevice> 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
|
GroupAccessDevice |
execute()
Performs import of a Group Access Device.
|
GroupAccessDevice.GroupAccessDeviceAddRequest |
getAddRequest() |
void |
migrateCustomFile(DeviceFile file)
Migrates Custom Files based on the specific Device sub-type
|
void |
rebuildDevice()
Rebuilds the GroupAccessDevice configuration
|
GroupAccessDevice |
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 GroupAccessDeviceImport(BroadWorksServer bws, AccessDeviceInformation<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
- Thrown if an error occurs during Import.co.ecg.licensing.LicenseException
public GroupAccessDevice execute() throws HelperException
HelperException
- Thrown when an error is occurred during the import processGroupAccessDevice
public GroupAccessDevice.GroupAccessDeviceAddRequest getAddRequest() throws RequestException
public GroupAccessDevice retrieveOutputDevice() throws BroadWorksObjectException, RequestException
BroadWorksObjectException
- Thrown if unable to retrieve Group
RequestException
- Thrown if an error occurs while mapping requests and responsespublic Request createAddTagRequest(DeviceTag tag)
AbstractDeviceImport
createAddTagRequest
in class AbstractDeviceImport<GroupAccessDevice,GroupAccessDevice.GroupAccessDeviceAddRequest,GroupAccessDeviceImport.Step,GroupAccessDeviceImport>
tag
- The tag to create.public void migrateCustomFile(DeviceFile file) throws RequestException, IOException, HelperException
AbstractDeviceImport
migrateCustomFile
in class AbstractDeviceImport<GroupAccessDevice,GroupAccessDevice.GroupAccessDeviceAddRequest,GroupAccessDeviceImport.Step,GroupAccessDeviceImport>
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 void rebuildDevice() throws RequestException
RequestException
- Thrown if an error occurs while mapping requests and responsesCopyright © 2017 ECG. All rights reserved.