-
public interface IThingDeviceDataCacheManagerCreated by letian on 2017/10/13.
-
-
Method Summary
Modifier and Type Method Description abstract voidgetDevice(String devId, IThingDataCallback<DeviceBean> callback)send request to get device information abstract voidgetDevice(long homeId, String devId, IThingDataCallback<DeviceBean> callback)abstract voidgetSchemaBean(List<DeviceRespBean> deviceRespBeans, IThingDataCallback<List<DeviceBean>> thingDataCallback)abstract voidrequestProductBeans(List<ProductVerBean> productIds, IThingDataCallback<List<ProductBean>> thingDataCallback)abstract booleanremoveDev(String gwId)abstract voidqueryDps(String devId)abstract voidonDestroy()abstract voidgetSubDev(String meshId, String devId, IThingDataCallback<DeviceBean> iQueryDevCallback)abstract voidgetGroupSchemaBean(List<GroupRespBean> groupBeans, IThingDataCallback<List<GroupBean>> callback)abstract voidgetSubDevList(String devId, IThingDataCallback<List<DeviceBean>> callback)abstract voidgetGroup(Long id, IThingDataCallback<GroupBean> callback)abstract List<DeviceBean>getDevList()abstract DeviceBeangetDev(String devId)abstract ObjectgetDp(String devId, String dpId)abstract Map<String, Object>getDps(String devId)abstract Map<String, SchemaBean>getSchemaBean(String devId)abstract Map<String, SchemaBean>getDpCodeSchemaMap(String devId)abstract voidsetTraceIdAndBizDm(String ctId, String bizDM)abstract voidgetStandardProductConfig(String productId, IThingDataCallback<ProductStandardConfig> thingDataCallback)abstract voidgetDeviceBizPropBeanBatch(List<String> devIds, IThingDataCallback<List<DeviceBizPropBean>> devBizPropBeansCallback)abstract voidgetPanelInfoBeanBatch(List<ProductVerBean> pIds, IThingDataCallback<List<ProductPanelInfoBean>> panelInfoBeansCallback)abstract voidgetLocalKeyByDeviceId(String deviceId, List<String> nodeIds, IThingDataCallback<List<LocalKeyBean>> listener)abstract voidgetThingModelWithPid(String pid, String productVersion, IThingDataCallback<ThingSmartThingModel> callback)find thing link device product info abstract voidgetLocalAllProductIds(IThingResultCallback<List<String>> listener)Register the result callback of product ids abstract voidsyncCorrectSharedSubDevice(String deviceId)corrected shared's devicewhich data has some problems abstract voidgetAuthPropertyByUUID(List<String> uuids, String code, IThingResultCallback<Map<String, Object>> callback)get auth property by uuids abstract voidgetAuthPropertyByUUID(String uuid, List<String> codes, IThingResultCallback<Map<String, Object>> callback)-
-
Method Detail
-
getDevice
abstract void getDevice(String devId, IThingDataCallback<DeviceBean> callback)
send request to get device information
- Parameters:
devId- device idcallback- the callback of the result
-
getDevice
abstract void getDevice(long homeId, String devId, IThingDataCallback<DeviceBean> callback)
-
getSchemaBean
abstract void getSchemaBean(List<DeviceRespBean> deviceRespBeans, IThingDataCallback<List<DeviceBean>> thingDataCallback)
-
requestProductBeans
abstract void requestProductBeans(List<ProductVerBean> productIds, IThingDataCallback<List<ProductBean>> thingDataCallback)
-
removeDev
abstract boolean removeDev(String gwId)
-
queryDps
abstract void queryDps(String devId)
-
onDestroy
abstract void onDestroy()
-
getSubDev
abstract void getSubDev(String meshId, String devId, IThingDataCallback<DeviceBean> iQueryDevCallback)
-
getGroupSchemaBean
abstract void getGroupSchemaBean(List<GroupRespBean> groupBeans, IThingDataCallback<List<GroupBean>> callback)
-
getSubDevList
abstract void getSubDevList(String devId, IThingDataCallback<List<DeviceBean>> callback)
-
getGroup
abstract void getGroup(Long id, IThingDataCallback<GroupBean> callback)
-
getDevList
abstract List<DeviceBean> getDevList()
-
getDev
abstract DeviceBean getDev(String devId)
-
getDp
abstract Object getDp(String devId, String dpId)
-
getDps
abstract Map<String, Object> getDps(String devId)
-
getSchemaBean
abstract Map<String, SchemaBean> getSchemaBean(String devId)
-
getDpCodeSchemaMap
abstract Map<String, SchemaBean> getDpCodeSchemaMap(String devId)
-
setTraceIdAndBizDm
abstract void setTraceIdAndBizDm(String ctId, String bizDM)
-
getStandardProductConfig
abstract void getStandardProductConfig(String productId, IThingDataCallback<ProductStandardConfig> thingDataCallback)
-
getDeviceBizPropBeanBatch
abstract void getDeviceBizPropBeanBatch(List<String> devIds, IThingDataCallback<List<DeviceBizPropBean>> devBizPropBeansCallback)
-
getPanelInfoBeanBatch
abstract void getPanelInfoBeanBatch(List<ProductVerBean> pIds, IThingDataCallback<List<ProductPanelInfoBean>> panelInfoBeansCallback)
-
getLocalKeyByDeviceId
abstract void getLocalKeyByDeviceId(String deviceId, List<String> nodeIds, IThingDataCallback<List<LocalKeyBean>> listener)
-
getThingModelWithPid
abstract void getThingModelWithPid(String pid, String productVersion, IThingDataCallback<ThingSmartThingModel> callback)
find thing link device product info
- Parameters:
pid- pidproductVersion- product versioncallback- result
-
getLocalAllProductIds
abstract void getLocalAllProductIds(IThingResultCallback<List<String>> listener)
Register the result callback of product ids
-
syncCorrectSharedSubDevice
abstract void syncCorrectSharedSubDevice(String deviceId)
corrected shared's devicewhich data has some problems
-
getAuthPropertyByUUID
abstract void getAuthPropertyByUUID(List<String> uuids, String code, IThingResultCallback<Map<String, Object>> callback)
get auth property by uuids
-
getAuthPropertyByUUID
abstract void getAuthPropertyByUUID(String uuid, List<String> codes, IThingResultCallback<Map<String, Object>> callback)
-
-
-
-