public interface LeaderAgendaApi
限定符和类型 | 方法和说明 |
---|---|
com.seeyon.ctp.common.bo.Result |
checkEditAuth(java.lang.Long agendaId)
查询当前人员是否有修改行程的权限
|
void |
clearSyncLeaderAgenda(java.util.Map params)
清除同步数据
|
java.util.Map<java.lang.Long,java.util.Set<java.lang.Long>> |
getBatchMemberAuthAgendaIds(java.util.List<java.lang.Long> userIds)
批量返回指定用户可以查看的所有日程id集合
|
java.util.List<java.lang.Long> |
getMemberAuthAgendaIds(long currentUserId)
返回指定用户可以查看的所有日程id集合
|
java.util.List<java.lang.Long> |
getMyOwnerLeaderAgendaIds(java.lang.Long userId)
返回我自己作为领导的所有日程数据
|
com.seeyon.ctp.common.bo.Result |
isAgendaInclude(java.lang.Long agendaId,
boolean isEdit)
当前人员是否是领导行程范围内人员,包括该行程的领导,或者维护人员或者行程可查看范围人员
|
boolean |
isLeader(java.lang.Long memberId)
单个判断用户是否是领导
|
java.util.List<java.lang.Long> |
isLeaders(java.util.List<java.lang.Long> memberIds)
批量确认用户是否是领导
|
void |
syncLeaderAgenda(java.util.Map params)
同步领导行程数据
|
boolean isLeader(java.lang.Long memberId) throws com.seeyon.ctp.common.exceptions.BusinessException
memberId
- com.seeyon.ctp.common.exceptions.BusinessException
java.util.List<java.lang.Long> isLeaders(java.util.List<java.lang.Long> memberIds) throws com.seeyon.ctp.common.exceptions.BusinessException
memberIds
- com.seeyon.ctp.common.exceptions.BusinessException
com.seeyon.ctp.common.bo.Result checkEditAuth(java.lang.Long agendaId) throws com.seeyon.ctp.common.exceptions.BusinessException
agendaId
- com.seeyon.ctp.common.exceptions.BusinessException
com.seeyon.ctp.common.bo.Result isAgendaInclude(java.lang.Long agendaId, boolean isEdit) throws com.seeyon.ctp.common.exceptions.BusinessException
agendaId
- isEdit
- true 必须含有编辑权限 false 无需编辑权限,查看也行com.seeyon.ctp.common.exceptions.BusinessException
java.util.List<java.lang.Long> getMemberAuthAgendaIds(long currentUserId) throws com.seeyon.ctp.common.exceptions.BusinessException
userId
- com.seeyon.ctp.common.exceptions.BusinessException
java.util.Map<java.lang.Long,java.util.Set<java.lang.Long>> getBatchMemberAuthAgendaIds(java.util.List<java.lang.Long> userIds) throws com.seeyon.ctp.common.exceptions.BusinessException
userId
- com.seeyon.ctp.common.exceptions.BusinessException
java.util.List<java.lang.Long> getMyOwnerLeaderAgendaIds(java.lang.Long userId) throws com.seeyon.ctp.common.exceptions.BusinessException
userId
- com.seeyon.ctp.common.exceptions.BusinessException
void syncLeaderAgenda(java.util.Map params) throws com.seeyon.ctp.common.exceptions.BusinessException
params
- com.seeyon.ctp.common.exceptions.BusinessException
void clearSyncLeaderAgenda(java.util.Map params) throws com.seeyon.ctp.common.exceptions.BusinessException
params
- com.seeyon.ctp.common.exceptions.BusinessException