public interface AccountManager
限定符和类型 | 方法和说明 |
---|---|
java.lang.Long |
createAcc(java.util.Map map) |
java.lang.Boolean |
delAccounts(java.lang.Long[] ids) |
java.util.List<V3xOrgAccount> |
findAllAccount()
获取全部的单位
|
java.util.List<V3xOrgRole> |
getAccountCustomerRoles(java.lang.Long accountId)
获取所有的集团自定义的单位角色
|
java.util.Map<java.lang.String,java.lang.Object> |
getAccountRole4Create()
新建单位时,显示右侧角色
|
V3xOrgAccount |
getById(long accountId)
获取可以访问的单位
|
java.util.List<java.util.Map<java.lang.String,java.lang.Object>> |
getChildMapList(java.lang.Long pId)
获取单位下可见的一级子单位,用于单位管理员/hr管理员的单位树展示
|
java.lang.Integer |
getMaxSort()
获取集团所有内部单位的最大排序号
|
com.seeyon.ctp.util.FlipInfo |
loadParent(com.seeyon.ctp.util.FlipInfo fi,
java.util.Map params) |
com.seeyon.ctp.util.FlipInfo |
showAccounts(com.seeyon.ctp.util.FlipInfo fi,
java.util.Map params) |
java.util.List<WebV3xOrgAccount> |
showAccountTree(java.util.Map params)
改造单位管理的单位树变为异步的树
|
java.lang.Long |
updateAcc(java.util.Map map) |
java.lang.Long |
updateAcc4Admin(java.util.Map map) |
java.lang.Integer |
updateUnitAdmin(java.util.Map map) |
java.util.HashMap |
viewAccount(java.lang.Long accountId) |
com.seeyon.ctp.util.FlipInfo showAccounts(com.seeyon.ctp.util.FlipInfo fi, java.util.Map params) throws com.seeyon.ctp.common.exceptions.BusinessException
com.seeyon.ctp.common.exceptions.BusinessException
com.seeyon.ctp.util.FlipInfo loadParent(com.seeyon.ctp.util.FlipInfo fi, java.util.Map params) throws com.seeyon.ctp.common.exceptions.BusinessException
com.seeyon.ctp.common.exceptions.BusinessException
java.lang.Long updateAcc(java.util.Map map) throws com.seeyon.ctp.common.exceptions.BusinessException
com.seeyon.ctp.common.exceptions.BusinessException
java.lang.Long updateAcc4Admin(java.util.Map map) throws com.seeyon.ctp.common.exceptions.BusinessException
com.seeyon.ctp.common.exceptions.BusinessException
java.util.HashMap viewAccount(java.lang.Long accountId) throws com.seeyon.ctp.common.exceptions.BusinessException
com.seeyon.ctp.common.exceptions.BusinessException
java.lang.Long createAcc(java.util.Map map) throws com.seeyon.ctp.common.exceptions.BusinessException
com.seeyon.ctp.common.exceptions.BusinessException
java.lang.Integer updateUnitAdmin(java.util.Map map) throws com.seeyon.ctp.common.exceptions.BusinessException, NoSuchPrincipalException
com.seeyon.ctp.common.exceptions.BusinessException
NoSuchPrincipalException
java.lang.Boolean delAccounts(java.lang.Long[] ids) throws com.seeyon.ctp.common.exceptions.BusinessException
com.seeyon.ctp.common.exceptions.BusinessException
java.lang.Integer getMaxSort() throws com.seeyon.ctp.common.exceptions.BusinessException
accountId
- com.seeyon.ctp.common.exceptions.BusinessException
java.util.List<WebV3xOrgAccount> showAccountTree(java.util.Map params) throws com.seeyon.ctp.common.exceptions.BusinessException
com.seeyon.ctp.common.exceptions.BusinessException
java.util.List<V3xOrgRole> getAccountCustomerRoles(java.lang.Long accountId) throws java.lang.Exception
accountId
- java.lang.Exception
java.util.Map<java.lang.String,java.lang.Object> getAccountRole4Create() throws java.lang.Exception
java.lang.Exception
java.util.List<java.util.Map<java.lang.String,java.lang.Object>> getChildMapList(java.lang.Long pId) throws com.seeyon.ctp.common.exceptions.BusinessException
pId
- com.seeyon.ctp.common.exceptions.BusinessException
java.util.List<V3xOrgAccount> findAllAccount()
V3xOrgAccount getById(long accountId)
accountId
-