public interface OrganizationServices
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addAccount(V3xOrgAccount account)
增加单位
|
void |
addDepartment(V3xOrgDepartment dept,
java.lang.Long parentId)
增加部门
|
void |
addLevel(V3xOrgLevel level)
增加职务级别
|
void |
addMember(V3xOrgMember member)
增加人员
|
void |
addPost(V3xOrgPost post)
增加岗位
|
void |
addTeam(V3xOrgTeam team)
添加组
|
void |
addUnOrgMember(V3xOrgMember member) |
void |
addUserCurrentPost(java.util.List<MemberPost> currentPosts)
增加兼职岗位信息
|
void |
clearAllCurrentPosts()
删除全部兼职
|
void |
delAccount(java.lang.Long accountId)
根据单位id删除单位
|
void |
delDepartment(java.lang.Long deptId)
根据部门id删除部门
|
void |
delLevel(java.lang.Long levelId)
根据职务id删除职务
|
void |
delMember(java.lang.Long memberId)
根据人员id删除人员
|
void |
delPost(java.lang.Long postId)
根据岗位id删除岗位
|
void |
delUserCurrentPost(java.lang.Long userId)
根据人员id删除某人的兼职
|
OrgManager |
getOrgManager() |
OrgManagerDirect |
getOrgManagerDirect() |
boolean |
modifyMemberAccountCheck(java.lang.Long memberId)
检查跨单位调动人员是否存在代办事项
|
java.util.List<java.lang.String[]> |
moveDept(java.lang.Long deptId,
java.lang.Long accountId)
跨单位调整部门
|
void |
moveMember(java.lang.Long memberId,
java.lang.Long deptId)
跨单位调整人员所属部门
|
java.util.Map<java.lang.Long,java.lang.String> |
synchMember(java.util.List<V3xOrgMember> members,
boolean rollback,
boolean isNeedSecondPost,
java.lang.Long accountId)
批量同步人员
|
void |
updateAccount(V3xOrgAccount account)
更新单位实体
|
void |
updateAccountNotDealAccess(V3xOrgAccount account)
更新单位实体
|
void |
updateDepartment(V3xOrgDepartment dept)
更新部门实体
|
void |
updateDepartment(V3xOrgDepartment dept,
java.lang.Long parentId)
更新部门实体
|
void |
updateLevel(V3xOrgLevel level)
更新职务级别
|
void |
updateMember(V3xOrgMember member)
更新人员
|
void |
updatePost(V3xOrgPost post)
更新岗位
|
void |
updateTeam(V3xOrgTeam team)
更新组
|
void |
updateUnOrgMember(V3xOrgMember member) |
void addAccount(V3xOrgAccount account) throws com.seeyon.ctp.common.exceptions.BusinessException
account - 单位实体com.seeyon.ctp.common.exceptions.BusinessExceptionvoid addDepartment(V3xOrgDepartment dept, java.lang.Long parentId) throws com.seeyon.ctp.common.exceptions.BusinessException
dept - 部门实体parentId - 父组织idcom.seeyon.ctp.common.exceptions.BusinessExceptionvoid addMember(V3xOrgMember member) throws com.seeyon.ctp.common.exceptions.BusinessException
member - 人员实体com.seeyon.ctp.common.exceptions.BusinessExceptionvoid addPost(V3xOrgPost post) throws com.seeyon.ctp.common.exceptions.BusinessException
post - 岗位实体com.seeyon.ctp.common.exceptions.BusinessExceptionvoid addLevel(V3xOrgLevel level) throws com.seeyon.ctp.common.exceptions.BusinessException
level - 职务级别实体com.seeyon.ctp.common.exceptions.BusinessExceptionvoid delAccount(java.lang.Long accountId)
throws com.seeyon.ctp.common.exceptions.BusinessException
accountId - 单位idcom.seeyon.ctp.common.exceptions.BusinessExceptionvoid delDepartment(java.lang.Long deptId)
throws com.seeyon.ctp.common.exceptions.BusinessException
deptId - 部门idcom.seeyon.ctp.common.exceptions.BusinessExceptionvoid delMember(java.lang.Long memberId)
throws com.seeyon.ctp.common.exceptions.BusinessException
memberId - 人员idcom.seeyon.ctp.common.exceptions.BusinessExceptionvoid delPost(java.lang.Long postId)
throws com.seeyon.ctp.common.exceptions.BusinessException
postId - 岗位idcom.seeyon.ctp.common.exceptions.BusinessExceptionvoid delLevel(java.lang.Long levelId)
throws com.seeyon.ctp.common.exceptions.BusinessException
levelId - 职务idcom.seeyon.ctp.common.exceptions.BusinessExceptionvoid updateAccount(V3xOrgAccount account) throws com.seeyon.ctp.common.exceptions.BusinessException
account - com.seeyon.ctp.common.exceptions.BusinessExceptionvoid updateAccountNotDealAccess(V3xOrgAccount account) throws com.seeyon.ctp.common.exceptions.BusinessException
account - com.seeyon.ctp.common.exceptions.BusinessExceptionvoid updateDepartment(V3xOrgDepartment dept, java.lang.Long parentId) throws com.seeyon.ctp.common.exceptions.BusinessException
dept - 部门实体parentId - 父组织的id(部门或单位)com.seeyon.ctp.common.exceptions.BusinessExceptionvoid updateDepartment(V3xOrgDepartment dept) throws com.seeyon.ctp.common.exceptions.BusinessException
dept - 部门实体com.seeyon.ctp.common.exceptions.BusinessExceptionvoid updateMember(V3xOrgMember member) throws com.seeyon.ctp.common.exceptions.BusinessException
member - 人员实体com.seeyon.ctp.common.exceptions.BusinessExceptionvoid updatePost(V3xOrgPost post) throws com.seeyon.ctp.common.exceptions.BusinessException
post - 岗位实体com.seeyon.ctp.common.exceptions.BusinessExceptionvoid updateLevel(V3xOrgLevel level) throws com.seeyon.ctp.common.exceptions.BusinessException
level - 职务实体com.seeyon.ctp.common.exceptions.BusinessExceptionvoid addUnOrgMember(V3xOrgMember member) throws com.seeyon.ctp.common.exceptions.BusinessException
com.seeyon.ctp.common.exceptions.BusinessExceptionvoid updateUnOrgMember(V3xOrgMember member) throws com.seeyon.ctp.common.exceptions.BusinessException
com.seeyon.ctp.common.exceptions.BusinessExceptionvoid addUserCurrentPost(java.util.List<MemberPost> currentPosts) throws com.seeyon.ctp.common.exceptions.BusinessException
currentPosts - com.seeyon.ctp.common.exceptions.BusinessExceptionvoid delUserCurrentPost(java.lang.Long userId)
throws com.seeyon.ctp.common.exceptions.BusinessException
userId - com.seeyon.ctp.common.exceptions.BusinessExceptionvoid clearAllCurrentPosts()
throws com.seeyon.ctp.common.exceptions.BusinessException
com.seeyon.ctp.common.exceptions.BusinessExceptionOrgManager getOrgManager()
OrgManagerDirect getOrgManagerDirect()
boolean modifyMemberAccountCheck(java.lang.Long memberId)
throws com.seeyon.ctp.common.exceptions.BusinessException
memberId - 人员com.seeyon.ctp.common.exceptions.BusinessExceptionjava.util.Map<java.lang.Long,java.lang.String> synchMember(java.util.List<V3xOrgMember> members, boolean rollback, boolean isNeedSecondPost, java.lang.Long accountId) throws java.lang.Exception
members - 人员列表rollback - 人员校验出错是否回滚isNeedSecondPost - 是否更新人员副岗accountId - 同步单位IDcom.seeyon.ctp.common.exceptions.BusinessExceptionjava.lang.Exceptionjava.util.List<java.lang.String[]> moveDept(java.lang.Long deptId,
java.lang.Long accountId)
throws com.seeyon.ctp.common.exceptions.BusinessException
deptId - 调整部门IDaccountId - 调入单位IDcom.seeyon.ctp.common.exceptions.BusinessExceptionvoid moveMember(java.lang.Long memberId,
java.lang.Long deptId)
throws com.seeyon.ctp.common.exceptions.BusinessException
memberId - 调整人员IDdeptId - 调入部门IDcom.seeyon.ctp.common.exceptions.BusinessExceptionvoid addTeam(V3xOrgTeam team) throws com.seeyon.ctp.common.exceptions.BusinessException
team - com.seeyon.ctp.common.exceptions.BusinessExceptionvoid updateTeam(V3xOrgTeam team) throws com.seeyon.ctp.common.exceptions.BusinessException
team - com.seeyon.ctp.common.exceptions.BusinessException