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