限定符和类型 | 方法和说明 |
---|---|
static Department |
DepartmentCache.findDepartmentByNameAndParentName(java.lang.String deparmentName,
java.lang.String parentDepartmentName)
根据父子部门名来查找部门
|
Department |
DepartmentTreeNode.getDepartment() |
static Department |
DepartmentCache.getDepartment(long id) |
static Department |
DepartmentCache.getDepartmentByNameAndPid(java.lang.String departmentNamePID) |
static Department |
DepartmentCache.getDepartmentByNameAndPid(java.lang.String dpname,
long pid) |
限定符和类型 | 方法和说明 |
---|---|
static void |
DepartmentCache.cache(Department ment)
添加部门
|
void |
DepartmentTreeNode.setDepartment(Department department) |
构造器和说明 |
---|
DepartmentTreeNode(Department department) |
限定符和类型 | 方法和说明 |
---|---|
Department |
DepartmentExecutor.findDepartmentByNameAndParentName(java.lang.String deparmentName,
java.lang.String parentDepartmentName) |
Department |
DepartmentExecutor.findDepartmentByNameAndPID(java.lang.String departmentPID)
根据部门名称和pid查找部门
|
Department |
DepartmentExecutor.getDepartment(long id) |
Department |
DepartmentExecutor.getDepartmentByNameAndPid(java.lang.String dpname,
long pid) |
限定符和类型 | 方法和说明 |
---|---|
void |
DepartmentExecutor.cache(Department ment)
添加部门
|
限定符和类型 | 方法和说明 |
---|---|
Department |
MemoryDepartmentExecutor.findDepartmentByNameAndParentName(java.lang.String deparmentName,
java.lang.String parentDepartmentName) |
Department |
MemoryDepartmentExecutor.findDepartmentByNameAndPID(java.lang.String departmentNamePID) |
Department |
MemoryDepartmentExecutor.getDepartment(long id) |
Department |
MemoryDepartmentExecutor.getDepartmentByNameAndPid(java.lang.String dpname,
long pid) |
限定符和类型 | 方法和说明 |
---|---|
void |
MemoryDepartmentExecutor.cache(Department ment)
添加部门
|
限定符和类型 | 方法和说明 |
---|---|
Department |
TableDataSyncDBProvider.findDepartmentByDPNameAndPid(java.lang.String deptName,
long pid)
根据部门名称和父id返回部门
|
Department |
TableDataSyncDB.findDepartmentByDPNameAndPid(java.lang.String deptName,
long pid)
根据部门名称和父id返回部门
|
Department |
TableDataSyncDBProvider.findDepartmentByID(long id)
根据部门id返回部门
|
Department |
TableDataSyncDB.findDepartmentByID(long id)
根据部门id返回部门
|
Department |
TableDataSyncDBProvider.findDepartmentByName(java.lang.String departmentName)
根据部门名字获取部门
|
Department |
TableDataSyncDB.findDepartmentByName(java.lang.String departmentName) |
Department |
TableDataSyncDBProvider.findDepartmentByNameAndParentName(java.lang.String deparmentName,
java.lang.String parentDepartmentName) |
Department |
TableDataSyncDB.findDepartmentByNameAndParentName(java.lang.String deparmentName,
java.lang.String parentDepartmentName) |
限定符和类型 | 方法和说明 |
---|---|
java.util.List<Department> |
TableDataSyncDBProvider.findAllDepartment()
返回所有的部门
|
java.util.List<Department> |
TableDataSyncDB.findAllDepartment()
返回所有的部门
|
限定符和类型 | 方法和说明 |
---|---|
java.util.Set<java.lang.Long> |
TableDataSyncDBProvider.findUserSetByDpAndPost(Department dp,
java.lang.String post)
返回该部门该职位的所有user的id
|
java.util.Set<java.lang.Long> |
TableDataSyncDB.findUserSetByDpAndPost(Department dp,
java.lang.String post)
返回该部门该职位的所有user的id
|
void |
TableDataSyncAction.initRecursionTableDataDepartment(Department department,
RecursionDataModel dm,
int i) |
boolean |
TableDataSyncDBProvider.updateDepartment(Department department)
更新部门
|
boolean |
TableDataSyncDB.updateDepartment(Department department) |
boolean |
TableDataSyncDBProvider.updateJRole(long id,
Department department,
Post post)
更新某个id的职位角色
|
boolean |
TableDataSyncDB.updateJRole(long id,
Department department,
Post post)
更新某个id的职位角色信息
|
限定符和类型 | 方法和说明 |
---|---|
Department |
DepartmentControl.findDepartmentByNameAndParentName(java.lang.String departmentName,
java.lang.String parentDepartmentName)
兼容老版本,根据父子部门名来查找部门
|
Department |
DepartmentControl.findDepartmentByNameAndPID(java.lang.String departmentNamePID)
根据部门名和父部门id获取部门
|
Department |
DepartmentControl.getDepartment(long id)
根据部门id查询部门
|
Department |
DepartmentControl.getDepartmentByNameAndPid(java.lang.String name,
long pid)
根据部门名字和父部门id查询部门
|
限定符和类型 | 方法和说明 |
---|---|
java.util.List<Department> |
DepartmentControl.getAllDepartment()
查询所有部门
|
限定符和类型 | 方法和说明 |
---|---|
boolean |
DepartmentControl.addDepartment(Department department)
添加部门
|
boolean |
DepartmentControl.updateDepartment(Department dept)
更新部门
|
限定符和类型 | 方法和说明 |
---|---|
Department |
DepartmentDAO.findByID(long id)
根据id返回某个部门
|
Department |
DepartmentDAO.findByNameAndPid(java.lang.String name,
long pid)
根据部门名称和部门名查找部门
|
Department |
DepartmentDAO.findDepartmentByName(java.lang.String departmentName)
根据部门名获取部门
|
Department |
DepartmentDAO.findDepartmentByNameAndParentName(java.lang.String deparmentName,
java.lang.String parentDepartmentName) |
限定符和类型 | 方法和说明 |
---|---|
boolean |
DepartmentDAO.delete(Department ment)
删除部门
|
void |
DepartmentDAO.save(Department ment)
保存部门
|
void |
DepartmentDAO.transfer(Department ment)
转移部门
|
boolean |
CompanyRoleDAO.update(long id,
Department department,
Post post)
更新部门角色
|
boolean |
CompanyRoleDAO.update(long id,
Department department,
Post post,
java.lang.String description)
更新部门角色包含描述
|
boolean |
DepartmentDAO.updateDepartment(Department department)
更新部门设置
|
限定符和类型 | 方法和说明 |
---|---|
Department |
HSQLDepartmentDAO.findByID(long id)
根据id返回某个部门
|
Department |
HSQLDepartmentDAO.findByNameAndPid(java.lang.String name,
long pid)
根据部门名称和部门名查找部门
|
Department |
HSQLDepartmentDAO.findDepartmentByName(java.lang.String departmentName) |
Department |
HSQLDepartmentDAO.findDepartmentByNameAndParentName(java.lang.String deparmentName,
java.lang.String parentDepartmentName) |
限定符和类型 | 方法和说明 |
---|---|
boolean |
HSQLDepartmentDAO.delete(Department ment)
删除部门
|
void |
HSQLDepartmentDAO.save(Department ment)
保存部门
|
void |
HSQLDepartmentDAO.transfer(Department ment) |
boolean |
HSQLCompanyRoleDAO.update(long id,
Department department,
Post post)
更新部门角色
|
boolean |
HSQLCompanyRoleDAO.update(long id,
Department department,
Post post,
java.lang.String description)
更新部门角色包含描述
|
boolean |
HSQLDepartmentDAO.updateDepartment(Department department)
更新部门设置
|
限定符和类型 | 方法和说明 |
---|---|
Department |
TableDataDepartmentDAO.findByID(long id)
根据id返回某个部门
|
Department |
TableDataDepartmentDAO.findByNameAndPid(java.lang.String name,
long pid)
根据部门名称和部门名查找部门
|
Department |
TableDataDepartmentDAO.findDepartmentByName(java.lang.String departmentName) |
Department |
TableDataDepartmentDAO.findDepartmentByNameAndParentName(java.lang.String deparmentName,
java.lang.String parentDepartmentName) |
限定符和类型 | 方法和说明 |
---|---|
boolean |
TableDataDepartmentDAO.delete(Department ment)
删除部门
|
void |
TableDataDepartmentDAO.save(Department ment)
保存部门
|
void |
TableDataDepartmentDAO.transfer(Department ment) |
boolean |
TableDataCompanyRoleDAO.update(long id,
Department department,
Post post)
更新部门角色
|
boolean |
TableDataCompanyRoleDAO.update(long id,
Department department,
Post post,
java.lang.String description)
更新部门角色包含描述
|
boolean |
TableDataDepartmentDAO.updateDepartment(Department department)
更新部门
|
限定符和类型 | 方法和说明 |
---|---|
void |
TableDataDAOControl.writeDepartmentTableData(java.util.Set<java.util.Map.Entry<java.lang.String,Department>> departmentSet) |