限定符和类型 | 方法和说明 |
---|---|
Department |
DepartmentControllerImpl.findOne(QueryCondition queryCondition) |
Department |
DepartmentControllerImpl.findParent(java.lang.String departmentId) |
Department |
DepartmentController.findParent(java.lang.String departmentId)
获取指定部门的父部门
|
Department |
DepartmentControllerImpl.getById(java.lang.String id) |
限定符和类型 | 方法和说明 |
---|---|
java.util.List<Department> |
DepartmentControllerImpl.find(QueryCondition queryCondition) |
java.util.List<Department> |
DepartmentControllerImpl.findByAuthority(java.lang.String authorityId,
AuthorityQueryType queryType,
boolean addFakeRoot,
QueryCondition departmentCondition) |
java.util.List<Department> |
DepartmentController.findByAuthority(java.lang.String authorityId,
AuthorityQueryType queryType,
boolean addFakeRoot,
QueryCondition departmentCondition)
查找拥有指定权限的部门
|
java.util.List<Department> |
DepartmentControllerImpl.findByAuthority(java.lang.String authorityId,
AuthorityQueryType queryType,
QueryCondition departmentCondition) |
java.util.List<Department> |
DepartmentController.findByAuthority(java.lang.String authorityId,
AuthorityQueryType queryType,
QueryCondition departmentCondition)
查找拥有指定权限的部门
|
java.util.List<Department> |
DepartmentControllerImpl.findByAuthority(java.lang.String authorityId,
java.lang.Class cls,
AuthorityQueryType queryType,
boolean addFakeRoot,
QueryCondition departmentCondition) |
java.util.List<Department> |
DepartmentController.findByAuthority(java.lang.String authorityId,
java.lang.Class cls,
AuthorityQueryType queryType,
boolean addFakeRoot,
QueryCondition departmentCondition)
查找拥有指定权限的部门
|
java.util.List<Department> |
DepartmentControllerImpl.findByAuthority(java.lang.String authorityId,
java.lang.Class cls,
AuthorityQueryType queryType,
QueryCondition departmentCondition) |
java.util.List<Department> |
DepartmentController.findByAuthority(java.lang.String authorityId,
java.lang.Class cls,
AuthorityQueryType queryType,
QueryCondition departmentCondition)
查找拥有指定权限的部门
|
java.util.List<Department> |
DepartmentControllerImpl.findByPost(java.lang.String postId,
QueryCondition departmentCondition) |
java.util.List<Department> |
DepartmentController.findByPost(java.lang.String postId,
QueryCondition departmentCondition)
查找指定职务所属的部门
|
java.util.List<Department> |
DepartmentControllerImpl.findByUser(java.lang.String userId,
QueryCondition departmentCondition) |
java.util.List<Department> |
DepartmentController.findByUser(java.lang.String userId,
QueryCondition departmentCondition)
查找指定用户所属的部门
|
java.util.List<Department> |
DepartmentControllerImpl.findChildren(java.lang.String departmentId,
QueryCondition departmentCondition) |
java.util.List<Department> |
DepartmentController.findChildren(java.lang.String departmentId,
QueryCondition departmentCondition)
查找指定部门的子部门
|
java.util.List<Department> |
DepartmentControllerImpl.findDepartmentTree(QueryCondition departmentCondition) |
java.util.List<Department> |
DepartmentController.findDepartmentTree(QueryCondition departmentCondition)
查找部门,返回带id和pid的完整路径的树结构数据,用于模糊查找,跟
DepartmentController.findDepTree(com.fr.stable.query.condition.QueryCondition) 的区别是本方法只会返回部门节点而没有职务节点 |
DataList<Department> |
DepartmentControllerImpl.findWithTotalCount(QueryCondition queryCondition) |
限定符和类型 | 方法和说明 |
---|---|
void |
DepartmentControllerImpl.add(Department record) |
void |
DepartmentControllerImpl.update(Department record) |
限定符和类型 | 方法和说明 |
---|---|
Department |
Department.authorityDetailList(java.util.List<AuthorityDetail> authorityDetailList) |
Department |
Department.creationType(OperationType creationType)
设置创建类型(记录来源)
|
Department |
Department.description(java.lang.String description)
设置描述信息
|
Department |
Department.enable(boolean enable)
设置是否可用
|
Department |
DepItem.getDepartment() |
Department |
Department.id(java.lang.String id)
设置记录id
|
Department |
Department.lastOperationType(OperationType lastOperationType)
设置最近修改类型
|
Department |
Department.name(java.lang.String name)
设置名称
|
Department |
Department.parentId(java.lang.String parentId)
设置父级部门ID
|
限定符和类型 | 方法和说明 |
---|---|
void |
DepItem.setDepartment(Department department) |
限定符和类型 | 方法和说明 |
---|---|
Department |
AuthoritySource.getDepartment()
获取部门对象,仅角色类型为部门职务角色时有值
|
限定符和类型 | 方法和说明 |
---|---|
AuthoritySource |
AuthoritySource.department(Department department) |
void |
AuthoritySource.setDepartment(Department department) |
限定符和类型 | 方法和说明 |
---|---|
static Department |
EntityConvertUtil.toDepartment(DepartmentEntity departmentEntity) |
static Department |
EntityConvertUtil.toDepartment(DepartmentEntity departmentEntity,
java.util.List<AuthorityDetail> detailList) |
限定符和类型 | 方法和说明 |
---|---|
static DepartmentEntity |
EntityConvertUtil.toDepartmentEntity(Department department) |
限定符和类型 | 方法和说明 |
---|---|
Department |
DepartmentController.getDepartmentRoot(java.lang.String userId) |
Department[] |
DepartmentController.getDepartmentsUnderParentDepartment(java.lang.String userId,
java.lang.String parentDepartId) |
Department[] |
DepartmentController.getDepartmentTree(java.lang.String userId) |
Department |
DepartmentController.getDepRoleRoot(java.lang.String userId) |
Department[] |
DepartmentController.searchDepartments(java.lang.String userId,
java.lang.String keyword) |
限定符和类型 | 方法和说明 |
---|---|
java.lang.String |
DepartmentService.getDepartmentFullPath(Department department,
java.lang.String splitter)
获取部门的全路径(以自定义的分隔符连接)
|
限定符和类型 | 方法和说明 |
---|---|
Department |
SuperDepartmentController.getDepartmentRoot(java.lang.String userId) |
Department |
CommonDepartmentController.getDepartmentRoot(java.lang.String userId) |
Department[] |
SuperDepartmentController.getDepartmentsUnderParentDepartment(java.lang.String userId,
java.lang.String parentDepartId) |
Department[] |
CommonDepartmentController.getDepartmentsUnderParentDepartment(java.lang.String userId,
java.lang.String parentDepartId) |
Department[] |
SuperDepartmentController.getDepartmentTree(java.lang.String userId) |
Department[] |
CommonDepartmentController.getDepartmentTree(java.lang.String userId) |
Department |
SuperDepartmentController.getDepRoleRoot(java.lang.String userId) |
Department |
CommonDepartmentController.getDepRoleRoot(java.lang.String userId) |
Department[] |
SuperDepartmentController.searchDepartments(java.lang.String userId,
java.lang.String keyword) |
Department[] |
CommonDepartmentController.searchDepartments(java.lang.String userId,
java.lang.String keyword) |