-
public interface IThingDevListCacheManager
-
-
Method Summary
Modifier and Type Method Description abstract void
updateDevList(List<DeviceRespBean> deviceRespBeen)
abstract DeviceBean
getDev(String meshId, String nodeId)
abstract DeviceRespBean
getDevResp(String meshId, String nodeId)
abstract DeviceBean
getDevByMac(String meshId, String mac)
abstract Map<String, Object>
getDpCodes(String devId)
abstract boolean
removeDev(String devId)
abstract List<DeviceBean>
getSubDevList(String meshId)
abstract List<DeviceRespBean>
getSubDevRespList(String communicationId)
abstract List<DeviceBean>
getStandardSubDevList(String meshId)
abstract List<DeviceBean>
getNotStandardSubDevList(String meshId)
abstract void
addDev(DeviceRespBean devResp)
abstract DeviceRespBean
getDevRespBean(String devId)
abstract List<DeviceRespBean>
getDevRespBeanList()
abstract DeviceBean
getDev(String devId)
abstract DeviceBean
getDev(boolean standard, String devId)
get DeviceBean by devId abstract DeviceRespBean
getDevByUuid(String uuid)
abstract boolean
checkGw(HgwBean gw)
abstract DeviceRespBean
getSubDev(String meshId, String cid)
abstract void
updateSubDevDps(String devId, String cid, Map<String, Object> dpsValue)
abstract void
updateSubDevDps(DeviceRespBean subDev, Map<String, Object> dpsValue)
abstract void
onDestroy()
abstract List<DeviceBean>
getDevList()
abstract void
addDevList(List<DeviceRespBean> deviceRespBeans)
abstract DeviceBean
devRespWrap(DeviceRespBean deviceRespBean, ProductBean productBean)
abstract DeviceBean
gwToDeviceBean(GwDevResp gwDevResp)
abstract void
setmZigbeeSubDevTimestamp(String devId)
-
-
Method Detail
-
updateDevList
abstract void updateDevList(List<DeviceRespBean> deviceRespBeen)
-
getDev
abstract DeviceBean getDev(String meshId, String nodeId)
-
getDevResp
abstract DeviceRespBean getDevResp(String meshId, String nodeId)
-
getDevByMac
abstract DeviceBean getDevByMac(String meshId, String mac)
-
getDpCodes
abstract Map<String, Object> getDpCodes(String devId)
-
removeDev
abstract boolean removeDev(String devId)
-
getSubDevList
abstract List<DeviceBean> getSubDevList(String meshId)
-
getSubDevRespList
abstract List<DeviceRespBean> getSubDevRespList(String communicationId)
-
getStandardSubDevList
abstract List<DeviceBean> getStandardSubDevList(String meshId)
-
getNotStandardSubDevList
abstract List<DeviceBean> getNotStandardSubDevList(String meshId)
-
addDev
abstract void addDev(DeviceRespBean devResp)
-
getDevRespBean
abstract DeviceRespBean getDevRespBean(String devId)
-
getDevRespBeanList
abstract List<DeviceRespBean> getDevRespBeanList()
-
getDev
abstract DeviceBean getDev(String devId)
-
getDev
abstract DeviceBean getDev(boolean standard, String devId)
get DeviceBean by devId
- Parameters:
standard
- get specified standard or nonstandard DeviceBeanif true, the devId is standard product, and the return value is DeviceBean, otherwise returns nullif false, the devId is nonstandard product, and the return value is DeviceBean,otherwise returns null
-
getDevByUuid
abstract DeviceRespBean getDevByUuid(String uuid)
-
checkGw
abstract boolean checkGw(HgwBean gw)
-
getSubDev
abstract DeviceRespBean getSubDev(String meshId, String cid)
-
updateSubDevDps
abstract void updateSubDevDps(String devId, String cid, Map<String, Object> dpsValue)
-
updateSubDevDps
abstract void updateSubDevDps(DeviceRespBean subDev, Map<String, Object> dpsValue)
-
onDestroy
abstract void onDestroy()
-
getDevList
abstract List<DeviceBean> getDevList()
-
addDevList
abstract void addDevList(List<DeviceRespBean> deviceRespBeans)
-
devRespWrap
abstract DeviceBean devRespWrap(DeviceRespBean deviceRespBean, ProductBean productBean)
-
gwToDeviceBean
abstract DeviceBean gwToDeviceBean(GwDevResp gwDevResp)
-
setmZigbeeSubDevTimestamp
abstract void setmZigbeeSubDevTimestamp(String devId)
-
-
-
-