public interface SecretLevelManager
限定符和类型 | 接口和说明 |
---|---|
static class |
SecretLevelManager.MemberSecretValidator
人员密级检验器
|
限定符和类型 | 字段和说明 |
---|---|
static java.lang.String |
PLUGIN_NAME |
static java.lang.String |
SECRET_DEVICE_LEVEL_STATUS
设备密级标定启用开关
|
static java.lang.String |
SECRET_LEVEL_STATUS
密级标定启用开关
|
static int |
SECRET_LEVEL_STATUS_OFF
停用状态
|
static int |
SECRET_LEVEL_STATUS_ON
启用状态
|
限定符和类型 | 方法和说明 |
---|---|
void |
addMemberSecretLevel(MemberSecretLevel memberSecretLevel)
插入单条人员密级信息
|
void |
batchDeleteFileSecretLevel(java.util.List<java.lang.Long> idList)
批量删除文件密级信息(根据ID删除,物理删除)
|
void |
batchDeleteMemberSecretLevel(java.util.List<java.lang.Long> idList)
批量删除人员密级信息(根据ID删除,物理删除)
|
boolean |
checkSecretLevel(V3xOrgMember aMember,
V3xOrgMember bMember)
校验A人员是否有权限可见B人员
|
void |
deleteFileSecretLevel(long fileSecretLevelId)
删除单条文件密级信息(根据ID删除,物理删除)
|
void |
deleteMemberSecretLevel(MemberSecretLevel memberSecretLevel)
删除单条人员密级信息(根据ID删除,物理删除)
|
java.util.List<FileSecretLevel> |
getAccessFileSecretLevelList(java.lang.Long fileSecretLevelValue)
根据文件密级枚举值,筛选出访问范围内录入启用状态的所有文件密级信息列表,用于支持APPSecretLevelImanager业务
|
java.util.List<FileSecretLevel> |
getAllAccessFileSecretLevelList(java.lang.Long fileSecretLevelValue)
根据文件密级枚举值,获取访问范围内的所有文件密级信息列表
|
java.util.List<FileSecretLevel> |
getAllFileSecretLevelList()
获取所有文件密级信息列表
|
java.util.List<MemberSecretLevel> |
getAllMemberSecretLevelList()
获取所有人员密级信息列表
|
MemberSecretLevel |
getDefaultMemberSecretLevel()
获取默认人员密级
|
java.lang.Integer |
getDeviceSecretLevelManagerStatus()
获取设备密级标定启停状态
ruirui
初始化如果没有设定密级的话默认为关闭状态,0
|
FileSecretLevel |
getFileSecretLevelByValue(java.lang.Long fileSecretValue)
获取文件密级信息(根据密级值获取)
|
com.seeyon.ctp.util.FlipInfo |
getFileSecretLevelList(com.seeyon.ctp.util.FlipInfo flipInfo)
通过分页参数,获取文件密级分页信息
|
com.seeyon.ctp.util.FlipInfo |
getFileSecretLevelListByName(java.lang.String name,
com.seeyon.ctp.util.FlipInfo flipInfo)
通过显示名和分页入参,获取文件密级分页信息
|
FileSecretLevel |
getFirstFileSecretLevel()
获取首条文件密级信息
|
MemberSecretLevel |
getLeastSortMemberSecretLevel()
获取排序号最小的人员密级
|
MemberSecretLevel |
getMemberSecretLevelById(java.lang.Long secretLevelId)
通过密级Id,获取人员密级信息
|
MemberSecretLevel |
getMemberSecretLevelByValue(java.lang.Long accessMemberScope)
获取人员密级信息(根据密级值获取)
|
com.seeyon.ctp.util.FlipInfo |
getMemberSecretLevelListByParam(java.lang.String name,
com.seeyon.ctp.util.FlipInfo flipInfo)
通过对应的人员信息入参,获取人员密级分页信息
|
SecretLevelManager.MemberSecretValidator |
getMemberValidator(java.lang.Long secretLevelId)
通过人员密级Id,获取当前可以访问的人员密级Id
|
SecretLevelManager.MemberSecretValidator |
getMemberValidatorByFile(java.lang.Long secretLevelValue)
通过文件密级Id,当前人员是否可访问
|
java.lang.Integer |
getSecretLevelManagerStatus()
获取密级标定启停状态
初始化如果没有设定密级的话默认为关闭状态,0
|
java.lang.String |
getSecretLevelName(java.lang.Long secretLevelId)
通过密级Id,获取密级名称
|
java.util.List<MemberSecretLevel> |
getValidMemberSecretLevelsByFileSecretLevel(long fileSecretLevelValue)
根据文件密级ID获取所有可以访问此密级的人员密级对象列表
|
java.util.List<MemberSecretLevel> |
getValidMemberSecretLevelsByMemberSecretLevel(java.lang.Integer sortId)
根据人员密级枚举值,获取访问范围内的所有人员密级信息列表
|
void |
makeInUseFileSecretLevel(long fileSecretLevelValue)
引用文件密级信息
|
void |
makeInuseMemberSecretLevel(long memberSecretLevelId)
引用人员密级信息
|
void |
modifyMemberSecretLevel(MemberSecretLevel memberSecretLevel)
修改单条人员密级信息(根据ID修改)
|
void |
saveOrUpdateDeviceSecretLevelManagerStatus(java.lang.Integer status)
保存/更新设备密级标定启停状态
|
void |
saveOrUpdateSecretLevelManagerStatus(java.lang.Integer status)
保存/更新密级标定启停状态
|
void |
saveOrUpdateSecretLevelManagerStatusBySystem(java.lang.Integer status)
系统(开启三员时)保存/更新密级标定启停状态
|
void |
upsertFileSecretLevel(FileSecretLevel fileSecretLevel)
新增/修改单条文件密级信息(根据ID判断,如果文件密级存在则更新,否则新增)
|
static final java.lang.String PLUGIN_NAME
static final java.lang.String SECRET_LEVEL_STATUS
static final java.lang.String SECRET_DEVICE_LEVEL_STATUS
static final int SECRET_LEVEL_STATUS_ON
static final int SECRET_LEVEL_STATUS_OFF
java.lang.String getSecretLevelName(java.lang.Long secretLevelId)
secretLevelId
- 密级IdMemberSecretLevel getMemberSecretLevelById(java.lang.Long secretLevelId) throws com.seeyon.ctp.common.exceptions.BusinessException
secretLevelId
- 密级Idcom.seeyon.ctp.common.exceptions.BusinessException
java.util.List<MemberSecretLevel> getAllMemberSecretLevelList()
MemberSecretLevel getDefaultMemberSecretLevel()
MemberSecretLevel getLeastSortMemberSecretLevel()
java.util.List<MemberSecretLevel> getValidMemberSecretLevelsByFileSecretLevel(long fileSecretLevelValue) throws com.seeyon.ctp.common.exceptions.BusinessException
fileSecretLevelValue
- 文件密级枚举值com.seeyon.ctp.common.exceptions.BusinessException
com.seeyon.ctp.util.FlipInfo getMemberSecretLevelListByParam(java.lang.String name, com.seeyon.ctp.util.FlipInfo flipInfo) throws com.seeyon.ctp.common.exceptions.BusinessException
name
- 人员密级信息查询参数flipInfo
- 分页对象com.seeyon.ctp.common.exceptions.BusinessException
void addMemberSecretLevel(MemberSecretLevel memberSecretLevel) throws com.seeyon.ctp.common.exceptions.BusinessException
memberSecretLevel
- 人员密级信息com.seeyon.ctp.common.exceptions.BusinessException
void modifyMemberSecretLevel(MemberSecretLevel memberSecretLevel) throws com.seeyon.ctp.common.exceptions.BusinessException
memberSecretLevel
- 人员密级信息com.seeyon.ctp.common.exceptions.BusinessException
void deleteMemberSecretLevel(MemberSecretLevel memberSecretLevel) throws com.seeyon.ctp.common.exceptions.BusinessException
memberSecretLevel
- 人员密级信息(主要参考密级ID)com.seeyon.ctp.common.exceptions.BusinessException
void makeInuseMemberSecretLevel(long memberSecretLevelId)
memberSecretLevelId
- 人员密级信息IDvoid makeInUseFileSecretLevel(long fileSecretLevelValue) throws com.seeyon.ctp.common.exceptions.BusinessException
fileSecretLevelValue
- com.seeyon.ctp.common.exceptions.BusinessException
void batchDeleteMemberSecretLevel(java.util.List<java.lang.Long> idList) throws com.seeyon.ctp.common.exceptions.BusinessException
idList
- 人员密级ID列表com.seeyon.ctp.common.exceptions.BusinessException
FileSecretLevel getFileSecretLevelByValue(java.lang.Long fileSecretValue) throws com.seeyon.ctp.common.exceptions.BusinessException
fileSecretValue
- 文件密级枚举值com.seeyon.ctp.common.exceptions.BusinessException
java.util.List<FileSecretLevel> getAllFileSecretLevelList() throws com.seeyon.ctp.common.exceptions.BusinessException
com.seeyon.ctp.common.exceptions.BusinessException
com.seeyon.ctp.util.FlipInfo getFileSecretLevelList(com.seeyon.ctp.util.FlipInfo flipInfo) throws com.seeyon.ctp.common.exceptions.BusinessException
flipInfo
- 分页参数com.seeyon.ctp.common.exceptions.BusinessException
com.seeyon.ctp.util.FlipInfo getFileSecretLevelListByName(java.lang.String name, com.seeyon.ctp.util.FlipInfo flipInfo) throws com.seeyon.ctp.common.exceptions.BusinessException
name
- 显示名flipInfo
- 分页参数com.seeyon.ctp.common.exceptions.BusinessException
void upsertFileSecretLevel(FileSecretLevel fileSecretLevel) throws com.seeyon.ctp.common.exceptions.BusinessException
fileSecretLevel
- 文件密级信息com.seeyon.ctp.common.exceptions.BusinessException
void deleteFileSecretLevel(long fileSecretLevelId) throws com.seeyon.ctp.common.exceptions.BusinessException
fileSecretLevelId
- 文件密级ID信息com.seeyon.ctp.common.exceptions.BusinessException
void batchDeleteFileSecretLevel(java.util.List<java.lang.Long> idList) throws com.seeyon.ctp.common.exceptions.BusinessException
idList
- 文件密级ID列表com.seeyon.ctp.common.exceptions.BusinessException
FileSecretLevel getFirstFileSecretLevel() throws com.seeyon.ctp.common.exceptions.BusinessException
com.seeyon.ctp.common.exceptions.BusinessException
java.util.List<FileSecretLevel> getAccessFileSecretLevelList(java.lang.Long fileSecretLevelValue) throws com.seeyon.ctp.common.exceptions.BusinessException
fileSecretLevelValue
- 文件密级枚举值com.seeyon.ctp.common.exceptions.BusinessException
- 异常java.util.List<FileSecretLevel> getAllAccessFileSecretLevelList(java.lang.Long fileSecretLevelValue) throws com.seeyon.ctp.common.exceptions.BusinessException
fileSecretLevelValue
- 文件密级枚举值com.seeyon.ctp.common.exceptions.BusinessException
- 异常boolean checkSecretLevel(V3xOrgMember aMember, V3xOrgMember bMember)
aMember
- A人员bMember
- B人员java.lang.Integer getSecretLevelManagerStatus() throws com.seeyon.ctp.common.exceptions.BusinessException
com.seeyon.ctp.common.exceptions.BusinessException
java.lang.Integer getDeviceSecretLevelManagerStatus() throws com.seeyon.ctp.common.exceptions.BusinessException
com.seeyon.ctp.common.exceptions.BusinessException
void saveOrUpdateSecretLevelManagerStatus(java.lang.Integer status) throws com.seeyon.ctp.common.exceptions.BusinessException
status
- com.seeyon.ctp.common.exceptions.BusinessException
void saveOrUpdateDeviceSecretLevelManagerStatus(java.lang.Integer status) throws com.seeyon.ctp.common.exceptions.BusinessException
status
- com.seeyon.ctp.common.exceptions.BusinessException
void saveOrUpdateSecretLevelManagerStatusBySystem(java.lang.Integer status) throws com.seeyon.ctp.common.exceptions.BusinessException
status
- com.seeyon.ctp.common.exceptions.BusinessException
SecretLevelManager.MemberSecretValidator getMemberValidator(java.lang.Long secretLevelId)
secretLevelId
- 人员密级IdSecretLevelManager.MemberSecretValidator getMemberValidatorByFile(java.lang.Long secretLevelValue) throws com.seeyon.ctp.common.exceptions.BusinessException
secretLevelValue
- com.seeyon.ctp.common.exceptions.BusinessException
MemberSecretLevel getMemberSecretLevelByValue(java.lang.Long accessMemberScope) throws com.seeyon.ctp.common.exceptions.BusinessException
accessMemberScope
- com.seeyon.ctp.common.exceptions.BusinessException
java.util.List<MemberSecretLevel> getValidMemberSecretLevelsByMemberSecretLevel(java.lang.Integer sortId) throws com.seeyon.ctp.common.exceptions.BusinessException
sortId
- com.seeyon.ctp.common.exceptions.BusinessException