public class DeviceMigration extends Object
DeviceHelper
Constructor and Description |
---|
DeviceMigration() |
Modifier and Type | Method and Description |
---|---|
static GroupAccessDevice |
migrate(GroupAccessDevice oldDevice,
GroupAccessDevice.GroupAccessDeviceAddRequest14 newDeviceRequest)
Performs Migration of a Group Access Device.
|
static GroupAccessDevice |
migrate(GroupAccessDevice oldDevice,
GroupAccessDevice.GroupAccessDeviceAddRequest14 newDeviceRequest,
AccessDeviceInformation accessDeviceInformation,
Boolean migrateUsers)
Performs Migration of a Group Access Device.
|
static ServiceProviderAccessDevice |
migrate(ServiceProviderAccessDevice oldDevice,
ServiceProviderAccessDevice.ServiceProviderAccessDeviceAddRequest14 newDeviceRequest)
Performs Migration of a ServiceProviderAccessDevice.
|
static SystemAccessDevice |
migrate(SystemAccessDevice oldDevice,
SystemAccessDevice.SystemAccessDeviceAddRequest newDeviceRequest)
Performs Migration of a SystemAccessDevice.
|
public static GroupAccessDevice migrate(GroupAccessDevice oldDevice, GroupAccessDevice.GroupAccessDeviceAddRequest14 newDeviceRequest) throws HelperException
RequestHelper.mapObjectToRequest()
.oldDevice
- The old device to migrate from.newDeviceRequest
- The new device request to be created.HelperException
- Thrown when an error is occured during the migration processGroupAccessDevice
public static GroupAccessDevice migrate(GroupAccessDevice oldDevice, GroupAccessDevice.GroupAccessDeviceAddRequest14 newDeviceRequest, AccessDeviceInformation accessDeviceInformation, Boolean migrateUsers) throws HelperException
RequestHelper.mapObjectToRequest()
.oldDevice
- The old device to migrate from.newDeviceRequest
- The new device request to be created.migrateUsers
- Flag to determine if Users on the device should be migrated.HelperException
- Thrown when an error is occured during the migration processGroupAccessDevice
public static ServiceProviderAccessDevice migrate(ServiceProviderAccessDevice oldDevice, ServiceProviderAccessDevice.ServiceProviderAccessDeviceAddRequest14 newDeviceRequest) throws HelperException
RequestHelper.mapObjectToRequest()
.oldDevice
- The old device to migrate from.newDeviceRequest
- The new device request to be created.HelperException
- Thrown when an error is occured during the migration processServiceProviderAccessDevice
public static SystemAccessDevice migrate(SystemAccessDevice oldDevice, SystemAccessDevice.SystemAccessDeviceAddRequest newDeviceRequest) throws HelperException
RequestHelper.mapObjectToRequest()
.oldDevice
- The old device to migrate from.newDeviceRequest
- The new device request to be created.HelperException
- Thrown when an error is occured during the migration processSystemAccessDevice
Copyright © 2016 ECG, Inc. All rights reserved.