public interface CtpDeviceSecretAccessScopeManager
限定符和类型 | 方法和说明 |
---|---|
boolean |
addressConflictChecking(java.lang.String deviceAddress,
CtpDeviceSecretAccessScope ctpDeviceSecretAccessScope,
java.lang.String name)
进行冲突校验查看传入ip是否已存在 .
|
void |
clearScopeCache() |
void |
deleteDeviceScopesBydeviceSecId(CtpDeviceSecretAccessScope ctpDeviceSecretAccessScope)
删除设备范围
|
java.util.List<CtpDeviceSecretAccessScope> |
getAllDeviceScope()
获取所有设备范围
|
java.util.List<CtpDeviceSecretAccessScope> |
getCtpDeviceScopeBydeviceSecId(java.lang.Long deviceSecId)
通过deviceSecId查询该密级的设备范围
|
CtpDeviceSecretAccessScope |
getCtpDeviceScopeById(CtpDeviceSecretAccessScope ctpDeviceSecretAccessScope)
通过ID查询设备范围
|
java.util.List<CtpDeviceSecretAccessScope> |
getCtpDeviceSecretAccessScopeList()
从缓存中获取所有设备密级范围名单
|
boolean |
ipExistsInRange(java.lang.String ip,
java.lang.String ipSection)
校验ip是否存在ip段中
|
java.lang.String |
parseAbbreviationToFullIPv6(java.lang.String abbreviation) |
java.util.List<CtpDeviceSecretAccessScope> |
upsertDeviceScope(CtpDeviceSecretAccessScope ctpDeviceSecretAccessScope)
增加或修改设备范围
|
void clearScopeCache()
java.util.List<CtpDeviceSecretAccessScope> getCtpDeviceSecretAccessScopeList()
java.util.List<CtpDeviceSecretAccessScope> getAllDeviceScope()
java.util.List<CtpDeviceSecretAccessScope> upsertDeviceScope(CtpDeviceSecretAccessScope ctpDeviceSecretAccessScope) throws com.seeyon.ctp.common.exceptions.BusinessException
ctpDeviceSecretAccessScope
- com.seeyon.ctp.common.exceptions.BusinessException
void deleteDeviceScopesBydeviceSecId(CtpDeviceSecretAccessScope ctpDeviceSecretAccessScope)
ctpDeviceSecretAccessScope
- CtpDeviceSecretAccessScope getCtpDeviceScopeById(CtpDeviceSecretAccessScope ctpDeviceSecretAccessScope)
java.util.List<CtpDeviceSecretAccessScope> getCtpDeviceScopeBydeviceSecId(java.lang.Long deviceSecId)
boolean addressConflictChecking(java.lang.String deviceAddress, CtpDeviceSecretAccessScope ctpDeviceSecretAccessScope, java.lang.String name) throws com.seeyon.ctp.common.exceptions.BusinessException
ctpDeviceSecretAccessScope
- com.seeyon.ctp.common.exceptions.BusinessException
boolean ipExistsInRange(java.lang.String ip, java.lang.String ipSection)
ip
- ipSection
- java.lang.String parseAbbreviationToFullIPv6(java.lang.String abbreviation)