public class CtpDeviceSecretAccessScopeManagerImpl extends java.lang.Object implements CtpDeviceSecretAccessScopeManager
限定符和类型 | 字段和说明 |
---|---|
com.google.common.cache.Cache<java.lang.String,java.util.List<CtpDeviceSecretAccessScope>> |
CtpDeviceSecretAccessScopeCache |
构造器和说明 |
---|
CtpDeviceSecretAccessScopeManagerImpl() |
限定符和类型 | 方法和说明 |
---|---|
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段中
|
static boolean |
ipRangeExistsInRange(java.lang.String ip,
java.lang.String ipSection) |
java.lang.String |
parseAbbreviationToFullIPv6(java.lang.String abbreviation) |
void |
setCtpDeviceSecretAccessScopeDao(CtpDeviceSecretAccessScopeDao ctpDeviceSecretAccessScopeDao) |
void |
setCtpDeviceSecretManager(CtpDeviceSecretManager ctpDeviceSecretManager) |
java.util.List<CtpDeviceSecretAccessScope> |
upsertDeviceScope(CtpDeviceSecretAccessScope ctpDeviceSecretAccessScope)
增加或修改设备范围
|
public com.google.common.cache.Cache<java.lang.String,java.util.List<CtpDeviceSecretAccessScope>> CtpDeviceSecretAccessScopeCache
public void setCtpDeviceSecretManager(CtpDeviceSecretManager ctpDeviceSecretManager)
public void setCtpDeviceSecretAccessScopeDao(CtpDeviceSecretAccessScopeDao ctpDeviceSecretAccessScopeDao)
public void clearScopeCache()
public java.util.List<CtpDeviceSecretAccessScope> getCtpDeviceSecretAccessScopeList()
CtpDeviceSecretAccessScopeManager
public java.util.List<CtpDeviceSecretAccessScope> getAllDeviceScope()
CtpDeviceSecretAccessScopeManager
getAllDeviceScope
在接口中 CtpDeviceSecretAccessScopeManager
public java.util.List<CtpDeviceSecretAccessScope> upsertDeviceScope(CtpDeviceSecretAccessScope ctpDeviceSecretAccessScope) throws com.seeyon.ctp.common.exceptions.BusinessException
CtpDeviceSecretAccessScopeManager
upsertDeviceScope
在接口中 CtpDeviceSecretAccessScopeManager
com.seeyon.ctp.common.exceptions.BusinessException
public void deleteDeviceScopesBydeviceSecId(CtpDeviceSecretAccessScope ctpDeviceSecretAccessScope)
CtpDeviceSecretAccessScopeManager
public CtpDeviceSecretAccessScope getCtpDeviceScopeById(CtpDeviceSecretAccessScope ctpDeviceSecretAccessScope)
CtpDeviceSecretAccessScopeManager
public java.util.List<CtpDeviceSecretAccessScope> getCtpDeviceScopeBydeviceSecId(java.lang.Long deviceSecId)
CtpDeviceSecretAccessScopeManager
public boolean addressConflictChecking(java.lang.String deviceAddress, CtpDeviceSecretAccessScope ctpDeviceSecretAccessScope, java.lang.String name) throws com.seeyon.ctp.common.exceptions.BusinessException
CtpDeviceSecretAccessScopeManager
addressConflictChecking
在接口中 CtpDeviceSecretAccessScopeManager
com.seeyon.ctp.common.exceptions.BusinessException
public boolean ipExistsInRange(java.lang.String ip, java.lang.String ipSection)
CtpDeviceSecretAccessScopeManager
ipExistsInRange
在接口中 CtpDeviceSecretAccessScopeManager
public static boolean ipRangeExistsInRange(java.lang.String ip, java.lang.String ipSection)
public java.lang.String parseAbbreviationToFullIPv6(java.lang.String abbreviation)