public class CtpDeviceSecretManagerImpl extends java.lang.Object implements CtpDeviceSecretManager
| 限定符和类型 | 字段和说明 |
|---|---|
protected com.seeyon.ctp.common.appLog.manager.AppLogManager |
appLogManager |
IS_DEFAULT, IS_NOT_DEFAULT, IS_NOT_QUOTE, IS_QUOTE| 构造器和说明 |
|---|
CtpDeviceSecretManagerImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addSaveLog(CtpDeviceSecret ctpDeviceSecret)
添加密级的日志
|
void |
batchDeleteDeviceSecrets(java.util.List<java.lang.Long> idList)
根据id批量删除设备密级
|
void |
deleteDeviceSecrets(CtpDeviceSecret ctpDeviceSecret)
删除设备密级
|
java.util.List<CtpDeviceSecret> |
getAllDeviceSecretsList()
获取所有设备密级名单
|
java.util.List<CtpDeviceSecret> |
getCtpDeviceSecretList()
从缓存中获取所有设备密级名单
|
java.util.List<CtpDeviceSecret> |
getCtpDeviceSecretList(java.lang.Long id) |
CtpDeviceSecret |
getDefaultDeviceSec()
获取默认设备密级
|
com.seeyon.ctp.util.FlipInfo |
getDeviceSecretFlip(java.lang.String deviceSecName,
com.seeyon.ctp.util.FlipInfo flipInfo)
获取分页信息
|
CtpDeviceSecret |
getDeviceSecretsById(java.lang.Long id)
通过ID获取设备密级
|
java.util.List<CtpDeviceSecret> |
getDeviceSecretsLikeName(CtpDeviceSecret ctpDeviceSecret)
通过名字模糊查询设备密级
|
java.lang.Long |
getFileScope(javax.servlet.http.HttpServletRequest request)
获取当前设备可获取的文件范围数值
|
java.util.List<com.seeyon.ctp.secret.bo.FileSecretLevel> |
getfileScopeList(javax.servlet.http.HttpServletRequest request)
取当前设备可获取的文件范围列表
|
static java.lang.String |
getLocalMac(java.lang.String ipAddress) |
CtpDeviceSecret |
getMinDeviceSec()
获取最小设备密级
|
java.lang.String |
getWlanipv6() |
java.lang.Boolean |
isEnableFileSecByAddress(javax.servlet.http.HttpServletRequest request,
java.lang.Long fileSec)
通过IP查询是否可以访问该文件
|
java.lang.Boolean |
isEnableMemberSecByAddress(javax.servlet.http.HttpServletRequest request,
java.lang.Long memberSec)
通过IP查询该人员是否可以访问
|
java.lang.Boolean |
isSecretLevelStatusOn()
判断设备密级是否开启
|
void |
modifySaveLog(CtpDeviceSecret ctpDeviceSecret)
修改密级的日志
|
void |
saveDeviceSecretsAndScope(CtpDeviceSecret ctpDeviceSecret)
更新或保存设备密级
|
void |
setCtpDeviceSecretAccessScopeManager(CtpDeviceSecretAccessScopeManager ctpDeviceSecretAccessScopeManager) |
void |
setCtpDeviceSecretDao(CtpDeviceSecretDao ctpDeviceSecretDao) |
void |
setSecretLevelManager(com.seeyon.ctp.secret.manager.SecretLevelManager secretLevelManager) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisDeviceSecretEnable@Inject protected com.seeyon.ctp.common.appLog.manager.AppLogManager appLogManager
public void setCtpDeviceSecretDao(CtpDeviceSecretDao ctpDeviceSecretDao)
public void setCtpDeviceSecretAccessScopeManager(CtpDeviceSecretAccessScopeManager ctpDeviceSecretAccessScopeManager)
public java.util.List<CtpDeviceSecret> getCtpDeviceSecretList(java.lang.Long id)
public java.util.List<CtpDeviceSecret> getCtpDeviceSecretList()
CtpDeviceSecretManagergetCtpDeviceSecretList 在接口中 CtpDeviceSecretManagerpublic void setSecretLevelManager(com.seeyon.ctp.secret.manager.SecretLevelManager secretLevelManager)
public CtpDeviceSecret getMinDeviceSec()
CtpDeviceSecretManagergetMinDeviceSec 在接口中 CtpDeviceSecretManagerpublic CtpDeviceSecret getDefaultDeviceSec()
CtpDeviceSecretManagergetDefaultDeviceSec 在接口中 CtpDeviceSecretManagerpublic java.util.List<CtpDeviceSecret> getAllDeviceSecretsList()
CtpDeviceSecretManagergetAllDeviceSecretsList 在接口中 CtpDeviceSecretManagerpublic com.seeyon.ctp.util.FlipInfo getDeviceSecretFlip(java.lang.String deviceSecName,
com.seeyon.ctp.util.FlipInfo flipInfo)
throws com.seeyon.ctp.common.exceptions.BusinessException
CtpDeviceSecretManagergetDeviceSecretFlip 在接口中 CtpDeviceSecretManagercom.seeyon.ctp.common.exceptions.BusinessExceptionpublic void addSaveLog(CtpDeviceSecret ctpDeviceSecret) throws com.seeyon.ctp.common.exceptions.BusinessException
CtpDeviceSecretManageraddSaveLog 在接口中 CtpDeviceSecretManagercom.seeyon.ctp.common.exceptions.BusinessExceptionpublic void modifySaveLog(CtpDeviceSecret ctpDeviceSecret) throws com.seeyon.ctp.common.exceptions.BusinessException
CtpDeviceSecretManagermodifySaveLog 在接口中 CtpDeviceSecretManagercom.seeyon.ctp.common.exceptions.BusinessExceptionpublic void saveDeviceSecretsAndScope(CtpDeviceSecret ctpDeviceSecret) throws com.seeyon.ctp.common.exceptions.BusinessException
CtpDeviceSecretManagersaveDeviceSecretsAndScope 在接口中 CtpDeviceSecretManagercom.seeyon.ctp.common.exceptions.BusinessExceptionpublic void deleteDeviceSecrets(CtpDeviceSecret ctpDeviceSecret) throws com.seeyon.ctp.common.exceptions.BusinessException
CtpDeviceSecretManagerdeleteDeviceSecrets 在接口中 CtpDeviceSecretManagercom.seeyon.ctp.common.exceptions.BusinessExceptionpublic void batchDeleteDeviceSecrets(java.util.List<java.lang.Long> idList)
throws com.seeyon.ctp.common.exceptions.BusinessException
CtpDeviceSecretManagerbatchDeleteDeviceSecrets 在接口中 CtpDeviceSecretManagercom.seeyon.ctp.common.exceptions.BusinessExceptionpublic CtpDeviceSecret getDeviceSecretsById(java.lang.Long id)
CtpDeviceSecretManagergetDeviceSecretsById 在接口中 CtpDeviceSecretManagerpublic java.util.List<CtpDeviceSecret> getDeviceSecretsLikeName(CtpDeviceSecret ctpDeviceSecret)
CtpDeviceSecretManagergetDeviceSecretsLikeName 在接口中 CtpDeviceSecretManagerpublic java.lang.Long getFileScope(javax.servlet.http.HttpServletRequest request)
throws java.lang.Exception
CtpDeviceSecretManagergetFileScope 在接口中 CtpDeviceSecretManagerjava.lang.Exceptionpublic java.util.List<com.seeyon.ctp.secret.bo.FileSecretLevel> getfileScopeList(javax.servlet.http.HttpServletRequest request)
throws java.lang.Exception
CtpDeviceSecretManagergetfileScopeList 在接口中 CtpDeviceSecretManagerjava.lang.Exceptionpublic java.lang.Boolean isEnableFileSecByAddress(javax.servlet.http.HttpServletRequest request,
java.lang.Long fileSec)
throws com.seeyon.ctp.common.exceptions.BusinessException
CtpDeviceSecretManagerisEnableFileSecByAddress 在接口中 CtpDeviceSecretManagercom.seeyon.ctp.common.exceptions.BusinessExceptionpublic java.lang.Boolean isSecretLevelStatusOn()
throws com.seeyon.ctp.common.exceptions.BusinessException
CtpDeviceSecretManagerisSecretLevelStatusOn 在接口中 CtpDeviceSecretManagercom.seeyon.ctp.common.exceptions.BusinessExceptionpublic java.lang.Boolean isEnableMemberSecByAddress(javax.servlet.http.HttpServletRequest request,
java.lang.Long memberSec)
throws java.lang.Exception
CtpDeviceSecretManagerisEnableMemberSecByAddress 在接口中 CtpDeviceSecretManagerjava.lang.Exceptionpublic static java.lang.String getLocalMac(java.lang.String ipAddress)
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.String getWlanipv6()