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, wait
isDeviceSecretEnable
@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()
CtpDeviceSecretManager
getCtpDeviceSecretList
在接口中 CtpDeviceSecretManager
public void setSecretLevelManager(com.seeyon.ctp.secret.manager.SecretLevelManager secretLevelManager)
public CtpDeviceSecret getMinDeviceSec()
CtpDeviceSecretManager
getMinDeviceSec
在接口中 CtpDeviceSecretManager
public CtpDeviceSecret getDefaultDeviceSec()
CtpDeviceSecretManager
getDefaultDeviceSec
在接口中 CtpDeviceSecretManager
public java.util.List<CtpDeviceSecret> getAllDeviceSecretsList()
CtpDeviceSecretManager
getAllDeviceSecretsList
在接口中 CtpDeviceSecretManager
public com.seeyon.ctp.util.FlipInfo getDeviceSecretFlip(java.lang.String deviceSecName, com.seeyon.ctp.util.FlipInfo flipInfo) throws com.seeyon.ctp.common.exceptions.BusinessException
CtpDeviceSecretManager
getDeviceSecretFlip
在接口中 CtpDeviceSecretManager
com.seeyon.ctp.common.exceptions.BusinessException
public void addSaveLog(CtpDeviceSecret ctpDeviceSecret) throws com.seeyon.ctp.common.exceptions.BusinessException
CtpDeviceSecretManager
addSaveLog
在接口中 CtpDeviceSecretManager
com.seeyon.ctp.common.exceptions.BusinessException
public void modifySaveLog(CtpDeviceSecret ctpDeviceSecret) throws com.seeyon.ctp.common.exceptions.BusinessException
CtpDeviceSecretManager
modifySaveLog
在接口中 CtpDeviceSecretManager
com.seeyon.ctp.common.exceptions.BusinessException
public void saveDeviceSecretsAndScope(CtpDeviceSecret ctpDeviceSecret) throws com.seeyon.ctp.common.exceptions.BusinessException
CtpDeviceSecretManager
saveDeviceSecretsAndScope
在接口中 CtpDeviceSecretManager
com.seeyon.ctp.common.exceptions.BusinessException
public void deleteDeviceSecrets(CtpDeviceSecret ctpDeviceSecret) throws com.seeyon.ctp.common.exceptions.BusinessException
CtpDeviceSecretManager
deleteDeviceSecrets
在接口中 CtpDeviceSecretManager
com.seeyon.ctp.common.exceptions.BusinessException
public void batchDeleteDeviceSecrets(java.util.List<java.lang.Long> idList) throws com.seeyon.ctp.common.exceptions.BusinessException
CtpDeviceSecretManager
batchDeleteDeviceSecrets
在接口中 CtpDeviceSecretManager
com.seeyon.ctp.common.exceptions.BusinessException
public CtpDeviceSecret getDeviceSecretsById(java.lang.Long id)
CtpDeviceSecretManager
getDeviceSecretsById
在接口中 CtpDeviceSecretManager
public java.util.List<CtpDeviceSecret> getDeviceSecretsLikeName(CtpDeviceSecret ctpDeviceSecret)
CtpDeviceSecretManager
getDeviceSecretsLikeName
在接口中 CtpDeviceSecretManager
public java.lang.Long getFileScope(javax.servlet.http.HttpServletRequest request) throws java.lang.Exception
CtpDeviceSecretManager
getFileScope
在接口中 CtpDeviceSecretManager
java.lang.Exception
public java.util.List<com.seeyon.ctp.secret.bo.FileSecretLevel> getfileScopeList(javax.servlet.http.HttpServletRequest request) throws java.lang.Exception
CtpDeviceSecretManager
getfileScopeList
在接口中 CtpDeviceSecretManager
java.lang.Exception
public java.lang.Boolean isEnableFileSecByAddress(javax.servlet.http.HttpServletRequest request, java.lang.Long fileSec) throws com.seeyon.ctp.common.exceptions.BusinessException
CtpDeviceSecretManager
isEnableFileSecByAddress
在接口中 CtpDeviceSecretManager
com.seeyon.ctp.common.exceptions.BusinessException
public java.lang.Boolean isSecretLevelStatusOn() throws com.seeyon.ctp.common.exceptions.BusinessException
CtpDeviceSecretManager
isSecretLevelStatusOn
在接口中 CtpDeviceSecretManager
com.seeyon.ctp.common.exceptions.BusinessException
public java.lang.Boolean isEnableMemberSecByAddress(javax.servlet.http.HttpServletRequest request, java.lang.Long memberSec) throws java.lang.Exception
CtpDeviceSecretManager
isEnableMemberSecByAddress
在接口中 CtpDeviceSecretManager
java.lang.Exception
public static java.lang.String getLocalMac(java.lang.String ipAddress) throws java.lang.Exception
java.lang.Exception
public java.lang.String getWlanipv6()