@Before(value=BeforeHandler.class) @After(value=AfterHandler.class) @Mapping(value="/grit/api/v1/SubjectLinkService") @Remoting public class SubjectLinkServiceImpl extends Object implements SubjectLinkService
| 构造器和说明 |
|---|
SubjectLinkServiceImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
List<SubjectEntity> |
getSubjectEntityListByGroup(long subjectGroupId)
获取主体分组关联的主体实体列表
|
List<Long> |
getSubjectGroupIdListByEntity(long subjectId)
获取主体实体关联的主体分组列表
|
List<SubjectGroup> |
getSubjectGroupListByEntity(long subjectId)
获取主体实体关联的主体分组列表
|
boolean |
hasSubjectLink(long subjectId,
long subjectGroupId)
检测是否存在主体连接(一般用于角色检测)
|
public boolean hasSubjectLink(long subjectId,
long subjectGroupId)
throws SQLException
hasSubjectLink 在接口中 SubjectLinkServicesubjectId - 主体IdsubjectGroupId - 分组的主体IdSQLExceptionpublic List<SubjectEntity> getSubjectEntityListByGroup(long subjectGroupId) throws SQLException
getSubjectEntityListByGroup 在接口中 SubjectLinkServicesubjectGroupId - 分组的主体IdSQLExceptionpublic List<SubjectGroup> getSubjectGroupListByEntity(long subjectId) throws SQLException
getSubjectGroupListByEntity 在接口中 SubjectLinkServicesubjectId - 主体IdSQLExceptionpublic List<Long> getSubjectGroupIdListByEntity(long subjectId) throws SQLException
getSubjectGroupIdListByEntity 在接口中 SubjectLinkServicesubjectId - 主体IdSQLExceptionCopyright © 2024. All rights reserved.