There have been changes in the Administration Client API between Unwired Platform version 2.1 ESD #3 and earlier versions.
The following table shows the Administration Client APIs that have been changed in Unwired Platform version 2.1 ESD #2 and earilier, and the corresponding api for version 2.1 ESD #3.
Version 2.1 ESD #2 and Earlier API | Corresponding Version 2.1 ESD#3 API |
---|---|
List<PropertyDefinition2VO> getPropertyDefinitions() | No change. |
void addDeviceTemplate(String templateName, String templateDescription, List<PropertyItemVO> propertyItems) | Corresponding SUPApplication API: void createApplicationConnectionTemplate(String name, String description, AppConnectionSettingVO settings) |
List<DeviceInfoVO> registerMBSDevicesByTemplate(String templateName, List<RegistrationRequestVO> registrationRequests, List<PropertyItemVO> settings) | Corresponding SUPApplication
API: Collection<Integer> registerApplicationConnections(String templateName, Collection<AppConnectionRegistrationRequestVO> registrationRequests, AppConnectionSettingVO settings) |
List<DeviceTemplateInfoVO> getDeviceTemplateList() | Corresponding SUPApplication
API: PaginationResult<ApplicationConnectionTemplateVO> getApplicationConnectionTemplates(AppConnectionTemplateFilterSortVO filter, Long offset, Integer count) |
List<PropertyItemVO> getDeviceTemplateSettings(String templateName) | Corresponding SUPApplication
API: AppConnectionSettingVO getApplicationConnectionTemplateSettings(String templateName) |
void updateDeviceTemplateSettings(String templateName, List<PropertyItemVO> propertyItems) | Corresponding SUPApplication API: void updateApplicationConnectionTemplateSettings(String templateName, AppConnectionSettingVO settings) |
List<DeviceInfoVO> reregisterDevices(List<ReregistrationRequestVO> reregistrationRequests, List<PropertyItemVO> propertyItems) | Corresponding SUPApplication
API: Collection<Integer> reregisterApplicationConnections(Collection<AppConnectionReregistrationRequestVO> reregistrationRequests, AppConnectionSettingVO settings) |
List<PropertyItemVO> getDeviceSettings(Integer deviceId) | Corresponding SUPApplication
API: AppConnectionSettingVO getApplicationConnectionSettings(Integer numericId) |
List<ResponseVO> updateDeviceSettings(List<Integer> deviceIds, List<PropertyItemVO> settings) | Corresponding SUPApplication API: void updateApplicationConnectionSettings(Collection<Integer> numericIds, AppConnectionSettingVO settings) |
List<DeviceInfoVO> cloneDeviceRegistration(List<DeviceCloneRequestVO> cloneRequests, List<PropertyItemVO> settings) | Corresponding SUPApplication
API: Collection<Integer> cloneApplicationConnections(Collection<AppConnectionCloneRequestVO> cloneRequests, AppConnectionSettingVO settings) |
void deleteDeviceTemplates(List<String> templateNames) | Corresponding SUPApplication API: void deleteApplicationConnectionTemplates(Collection<String> templateNames) |
List<PropertyItemVO> getDeviceSettings(List<Integer> deviceIds) | Corresponding SUPApplication
API: AppConnectionSettingVO getApplicationConnectionSettings(Integer numericId) Note: The API in
SUPApplication only supports
get settings for one application
connection.
|
void lockDevices(Collection<String> deviceIds) | Corresponding SUPApplication API: void lockApplicationConnection(Collection<String> applicationConnectionIds) |
void deleteDevices(Collection<String> deviceIds) | Corresponding SUPApplication API: void deleteApplicationConnections(Collection<Integer> numericIds) |
PaginationResult<DeviceInfoVO> listDevices(DeviceSearchCriteriaVO searchCondition, Long skip, Long take, DeviceSortVO sortInfo) | Corresponding SUPApplication
API: PaginationResult<ApplicationConnectionVO> getApplicationConnections(AppConnectionFilterSortVO filter, Long offset, Integer count) See AppConnectionFilterSortVO Javadoc for more details. |
Collection<DeviceInfoVO> listDevicesByUser(String userName) | Corresponding SUPApplication
API: PaginationResult<ApplicationConnectionVO> getApplicationConnections(AppConnectionFilterSortVO filter, Long offset, Integer count) See AppConnectionFilterSortVO Javadoc for more details. |
PaginationResult<USerInfoVO> listUsers(UserSearchCriteriaVO searchCondition, Long skip, Long take, USerSortVO sortInfo) | Corresponding SUPApplication
API: PaginationResult<ApplicationUSerVO> getApplicationUsers(ApplicationUSerFilterSortVO filter, java.lang.Long offset, java.lang.Integer count) See AppConnectionFilterSortVO Javadoc for more details. |
Collection<UserInfoVO> listUsersByDevice(String deviceId) | Corresponding SUPApplication
API: PaginationResult<ApplicationConnectionVO> getApplicationConnections(AppConnectionFilterSortVO filter, Long offset, Integer count) See AppConnectionFilterSortVO Javadoc for more details. |
void unlockDevices(Collection<String> deviceIds) | Corresponding SUPApplication API: void unlockApplicationConnections(Collection<String> applicationConnectionIds) |
void deleteUsers(List<String> users) | Corresponding SUPApplication API: void deleteApplicationUsers(java.util.Collection<ApplicationUserVO> users) |
DeviceInfoVO upgradeRbsDeviceAsMbsDevice(String deviceId, String templateName, RegistrationRequestVO registrationRequest, List<PropertyItemVO> settings) | Deprecated in Unwired Platform version 2.1. |
void purgeDevices(Integer days, Boolean synchronous) | Corresponding SUPApplication
API: deleteApplicationConnections(java.util.Collection<java.lang.Integer> numericIds) |
void purgeUsers(String securityConfiguration, Integer days Boolean synchronous) | Corresponding SUPApplication API: void deleteApplicationUsers(java.util.Collection<ApplicationUserVO> users) |
PaginationResult<DeviceInfoVO> searchDevicebyMBSProperties(MBSPropertiesSearchCriteriaVO searchCondition, Integer skip, Integer take, MBSPropertiesSortVO sortInfo) | Corresponding SUPApplication
API: PaginationResult<ApplicationConnectionVO> getApplicationConnections(AppConnectionFilterSortVO filter, Long offset, Integer count) See AppConnectionFilterSortVO Javadoc for more details. |
void registerDeviceUser(String userName, List<String> deviceIds, String domain, String pkgName) | Corresponding SUPApplication API: void registerPackageUsers(String userName, Collection<String>appConnIds, String domain, String pkgName) |