-
public interface IThingDeviceDataCacheManager
Created by letian on 2017/10/13.
-
-
Method Summary
Modifier and Type Method Description abstract void
getDevice(String devId, IThingDataCallback<DeviceBean> callback)
send request to get device information abstract void
getDevice(long homeId, String devId, IThingDataCallback<DeviceBean> callback)
abstract void
getSchemaBean(List<DeviceRespBean> deviceRespBeans, IThingDataCallback<List<DeviceBean>> thingDataCallback)
abstract void
requestProductBeans(List<ProductVerBean> productIds, IThingDataCallback<List<ProductBean>> thingDataCallback)
abstract boolean
removeDev(String gwId)
abstract void
queryDps(String devId)
abstract void
onDestroy()
abstract void
getSubDev(String meshId, String devId, IThingDataCallback<DeviceBean> iQueryDevCallback)
abstract void
getGroupSchemaBean(List<GroupRespBean> groupBeans, IThingDataCallback<List<GroupBean>> callback)
abstract void
getSubDevList(String devId, IThingDataCallback<List<DeviceBean>> callback)
abstract void
getGroup(Long id, IThingDataCallback<GroupBean> callback)
abstract List<DeviceBean>
getDevList()
abstract DeviceBean
getDev(String devId)
abstract Object
getDp(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 void
setTraceIdAndBizDm(String ctId, String bizDM)
abstract void
getStandardProductConfig(String productId, IThingDataCallback<ProductStandardConfig> thingDataCallback)
abstract void
getDeviceBizPropBeanBatch(List<String> devIds, IThingDataCallback<List<DeviceBizPropBean>> devBizPropBeansCallback)
abstract void
getPanelInfoBeanBatch(List<ProductVerBean> pIds, IThingDataCallback<List<ProductPanelInfoBean>> panelInfoBeansCallback)
abstract void
getLocalKeyByDeviceId(String deviceId, List<String> nodeIds, IThingDataCallback<List<LocalKeyBean>> listener)
abstract void
getThingModelWithPid(String pid, String productVersion, IThingDataCallback<ThingSmartThingModel> callback)
find thing link device product info abstract void
getLocalAllProductIds(IThingResultCallback<List<String>> listener)
Register the result callback of product ids abstract void
syncCorrectSharedSubDevice(String deviceId)
corrected shared's devicewhich data has some problems abstract void
getAuthPropertyByUUID(List<String> uuids, String code, IThingResultCallback<Map<String, Object>> callback)
get auth property by uuids abstract void
getAuthPropertyByUUID(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)
-
-
-
-