public interface WebmailApi
| 限定符和类型 | 方法和说明 |
|---|---|
org.springframework.web.servlet.ModelAndView |
forwardMail(java.lang.Long referenceId,
java.lang.String subject,
java.lang.String body,
java.util.List<com.seeyon.ctp.common.po.filemanager.Attachment> attachments)
转发邮件
正常:
1、传入正确的协同id、标题、正文内容、附件列表,返回邮件实体 2、传入正确的计划id、标题、正文内容、附件列表为空,返回邮件实体 3、传入正确的文档id、标题、正文内容为空、附件列表为空,返回邮件实体 异常: 4、所有参数传入null,抛异常 |
long |
getMailSpaceSize(java.lang.Long memberId)
获取人员邮件所占空间大小
正常:
1、传入正确的人员id,返回邮件所占空间大小 |
boolean |
hasDefaultMbc(java.lang.Long memberId)
判断人员是否有默认邮箱
正常:
1、传入正确的人员id(人员有默认邮箱),返回true 2、传入正确的人员id(人员没有默认邮箱),返回false |
boolean hasDefaultMbc(java.lang.Long memberId)
throws com.seeyon.ctp.common.exceptions.BusinessException
memberId - 人员idcom.seeyon.ctp.common.exceptions.BusinessExceptionlong getMailSpaceSize(java.lang.Long memberId)
throws com.seeyon.ctp.common.exceptions.BusinessException
memberId - 人员idcom.seeyon.ctp.common.exceptions.BusinessExceptionorg.springframework.web.servlet.ModelAndView forwardMail(java.lang.Long referenceId,
java.lang.String subject,
java.lang.String body,
java.util.List<com.seeyon.ctp.common.po.filemanager.Attachment> attachments)
referenceId - 源id,如:协同id/文档idsubject - 标题body - 正文内容attachments - 附件列表