public interface OcipApi
限定符和类型 | 方法和说明 |
---|---|
boolean |
authenticationTokenInOcip(OcipTicket ticket)
a8的上报加密后的令牌到ocip校验
|
boolean |
checkIsExchangeAffair(java.lang.Long affiarId)
判断是否为跨系统事项
|
java.lang.Object |
convert(com.seeyon.ctp.organization.bo.V3xOrgMember v3xReciver)
将A8人员信息转换为ocip的人
|
OcipTicket |
decryptTicket(java.lang.String ticket)
解密ticket,获取ticket里的相关信息
|
void |
doCommentPushExchangeMessage4SenderNote(com.seeyon.ctp.common.content.comment.Comment comment)
推送发起人附言给外系统人员
|
void |
exchangeSign(java.lang.Long exchangeDetailMainId,
java.lang.Long exchangeDetailId)
公文签收交换
|
java.util.List<com.seeyon.ctp.common.po.affair.CtpAffair> |
getAffairList4Exchange(com.seeyon.ctp.common.po.affair.CtpAffair affair)
获取需要交换的事项(包含外系统及多A8事项)
|
java.util.List<com.seeyon.ctp.common.po.affair.CtpAffair> |
getAffairList4Exchange(java.util.List<com.seeyon.ctp.common.po.affair.CtpAffair> affairs)
获取需要交换的事项
|
java.lang.Long |
getExchangeOutAccount(java.lang.Long startUserId)
查询交换记录结果返回参数(交换账户exchangeOutAccount)
|
java.lang.String |
getForwardToByUri(java.lang.String uri)
根据请求地址获取跳转数据
|
java.lang.String |
getForwardToByUri(java.lang.String uri,
java.lang.String forwardTo)
根据请求地址获取跳转数据
|
java.util.Map<java.lang.String,java.lang.Object> |
getForwarTo(java.lang.Long affairId,
java.lang.String serverName,
java.lang.Integer serverPort)
根据事项affairId获取OCIP跳转信息
|
com.seeyon.ctp.organization.bo.V3xOrgUnit |
getLocalOrgUnit(java.lang.Object ocipAddress)
将OCIP平台单位信息转换为本地A8系统单位
|
java.util.List<com.seeyon.ctp.common.po.affair.CtpAffair> |
getMessage4ReplyAffairs(java.util.List<java.lang.String> memberIdList,
java.util.Map<java.lang.String,java.util.List<com.seeyon.ctp.common.po.affair.CtpAffair>> localAffair)
获取多A8外系统人员意见回复事项
|
java.lang.String |
getOcipConfig(java.lang.Integer app,
com.seeyon.ctp.common.po.affair.CtpAffair ctpAffair)
获取ocip配置信息,开启了OCIP插件,则要把ocip的配置信息返回页面
将affairs中公文和协同的取出来放在不同的List中,将各自的summary的currentNodesInfo取出保存在PendingRow中,返回页面
|
java.lang.String |
getOcipConfig(java.lang.Long affairId)
获取ocip配置信息,开启了OCIP插件
|
com.seeyon.ctp.organization.bo.V3xOrgMember |
getOcipMembserInTicket(OcipTicket ticket)
根据ticket获取ocip人员信息
|
java.lang.String |
getTicket(OcipTicket ticket)
将ticket对象转换为加密后的字符串
|
java.util.List<com.seeyon.ctp.common.po.affair.CtpAffair> |
handleOnWorkitemStoped(java.util.List<java.lang.Long> allCtpAffairId,
com.seeyon.ctp.common.po.affair.CtpAffair affair)
公文流程中使用节点动作:终止-回调逻辑处理
|
boolean |
hasMutiPlugin()
是否开启多A8功能
|
boolean |
hasOcipPlugin()
是否有OCIP插件
|
java.util.Map<java.lang.String,java.lang.Object> |
initRecDetailVO(java.lang.Long summaryId)
生成签收数据穿透VO对象
|
boolean |
isOcipSendProcess(java.lang.Long summaryId)
是否是ocip外部发起的流程
|
boolean |
isOnline()
检查本地A8是否连接上OCIP平台
|
boolean |
isPlatformEntity(com.seeyon.ctp.organization.bo.V3xOrgEntity entity)
判断对象是否为平台对象,原理为通过
V3xOrgEntity.getDescription() 识别改值在对象转换时设置 |
boolean |
isPlatformEntity(com.seeyon.ctp.organization.bo.V3xOrgMember v3xOrgMember)
判断人员对象是否为OCIP平台对象
请优先使用isPlatformEntity(V3xOrgEntity entity)
|
void |
press(long mainId,
long detailId,
java.lang.String content,
int departmentType,
int orgType,
int recOrgType,
java.lang.Long recOrgId)
跨平台催办
|
void |
receiptEdoc(long mainId,
long detailId,
java.lang.String ocipSendStatus)
发送公文短报文
|
java.lang.String |
sendProcessInfoToOtherSys(java.lang.Long workitemId,
java.lang.Long caseId,
java.lang.Long summaryId,
java.lang.String memberId)
发送流程相关信息到ocip外系统
|
void |
sendPushExhangeMessage4Reply(com.seeyon.ctp.common.content.comment.Comment comment)
推送回复意见消息给外系统人员(切面解耦)
|
void |
setAgentTransInfo(java.lang.Boolean isAgent,
com.seeyon.ctp.common.po.affair.CtpAffair affair,
java.lang.Long userId)
设置OCIP跨系统事务设置代理信息
|
java.lang.Long |
setExchangeOutAccount(java.lang.Long startUserId)
已发查看交换记录结果返回参数(交换账户exchangeOutAccount)
|
void |
setOcipUserInfo()
外系统事务单点登录过来,设置一下当前账号的资源,不然获取不到相关数据列表,
会在ColDataRelationHandler.getSelfCollData方法中的判断不到F01_listDone、F01_listPending
等资源,然后直接return了 解决问题:SY-OCIP OCIP-2056 【M3】外系统事务相关数据未显示数据,PC端显示有数据
|
void |
signedAndStepback(java.lang.Long startUserId,
long detailId,
java.lang.String comment)
公文交换-回退
|
void |
stepbackEdoc(java.lang.Long startUserId,
long mainId,
long detailId,
java.lang.String comment)
公文交换-回退
|
java.util.Map<java.lang.String,java.lang.Object> |
transTakeBack(com.seeyon.ctp.common.po.affair.CtpAffair affair,
java.util.Map<java.lang.String,java.lang.Object> ma)
跨系统取回
|
boolean |
uploadTicket(OcipTicket ticket)
上报令牌到ocip
|
void doCommentPushExchangeMessage4SenderNote(com.seeyon.ctp.common.content.comment.Comment comment) throws com.seeyon.ctp.common.exceptions.BusinessException
comment
- 评论回复组件对象com.seeyon.ctp.common.exceptions.BusinessException
void sendPushExhangeMessage4Reply(com.seeyon.ctp.common.content.comment.Comment comment) throws java.lang.Exception
comment
- java.lang.Exception
java.lang.Object convert(com.seeyon.ctp.organization.bo.V3xOrgMember v3xReciver) throws com.seeyon.ctp.common.exceptions.BusinessException
v3xReciver
- com.seeyon.ctp.common.exceptions.BusinessException
java.util.List<com.seeyon.ctp.common.po.affair.CtpAffair> getMessage4ReplyAffairs(java.util.List<java.lang.String> memberIdList, java.util.Map<java.lang.String,java.util.List<com.seeyon.ctp.common.po.affair.CtpAffair>> localAffair) throws com.seeyon.ctp.common.exceptions.BusinessException
memberIdList
- localAffair
- A8本地人员协同com.seeyon.ctp.common.exceptions.BusinessException
boolean isOnline() throws com.seeyon.ctp.common.exceptions.BusinessException
com.seeyon.ctp.common.exceptions.BusinessException
boolean isPlatformEntity(com.seeyon.ctp.organization.bo.V3xOrgMember v3xOrgMember) throws com.seeyon.ctp.common.exceptions.BusinessException
v3xOrgMember
- com.seeyon.ctp.common.exceptions.BusinessException
boolean isPlatformEntity(com.seeyon.ctp.organization.bo.V3xOrgEntity entity)
V3xOrgEntity.getDescription()
识别entity
- OrgBeanAdapter
com.seeyon.ctp.organization.bo.V3xOrgUnit getLocalOrgUnit(java.lang.Object ocipAddress) throws com.seeyon.ctp.common.exceptions.BusinessException
ocipAddress
- com.seeyon.ctp.common.exceptions.BusinessException
void receiptEdoc(long mainId, long detailId, java.lang.String ocipSendStatus) throws java.lang.Exception
mainId
- detailId
- ocipSendStatus
- java.lang.Exception
java.util.Map<java.lang.String,java.lang.Object> initRecDetailVO(java.lang.Long summaryId) throws java.lang.Exception
summaryId
- java.lang.Exception
java.util.Map<java.lang.String,java.lang.Object> transTakeBack(com.seeyon.ctp.common.po.affair.CtpAffair affair, java.util.Map<java.lang.String,java.lang.Object> ma) throws com.seeyon.ctp.common.exceptions.BusinessException
affair
- ma
- com.seeyon.ctp.common.exceptions.BusinessException
java.lang.Long getExchangeOutAccount(java.lang.Long startUserId) throws com.seeyon.ctp.common.exceptions.BusinessException
startUserId
- com.seeyon.ctp.common.exceptions.BusinessException
java.lang.Long setExchangeOutAccount(java.lang.Long startUserId) throws com.seeyon.ctp.common.exceptions.BusinessException
startUserId
- com.seeyon.ctp.common.exceptions.BusinessException
void exchangeSign(java.lang.Long exchangeDetailMainId, java.lang.Long exchangeDetailId) throws com.seeyon.ctp.common.exceptions.BusinessException
com.seeyon.ctp.common.exceptions.BusinessException
void stepbackEdoc(java.lang.Long startUserId, long mainId, long detailId, java.lang.String comment) throws com.seeyon.ctp.common.exceptions.BusinessException
startUserId
- mainId
- detailId
- comment
- com.seeyon.ctp.common.exceptions.BusinessException
void press(long mainId, long detailId, java.lang.String content, int departmentType, int orgType, int recOrgType, java.lang.Long recOrgId) throws com.seeyon.ctp.common.exceptions.BusinessException
mainId
- detailId
- content
- departmentType
- orgType
- recOrgType
- recOrgId
- com.seeyon.ctp.common.exceptions.BusinessException
void signedAndStepback(java.lang.Long startUserId, long detailId, java.lang.String comment) throws com.seeyon.ctp.common.exceptions.BusinessException
startUserId
- detailId
- comment
- com.seeyon.ctp.common.exceptions.BusinessException
java.util.List<com.seeyon.ctp.common.po.affair.CtpAffair> handleOnWorkitemStoped(java.util.List<java.lang.Long> allCtpAffairId, com.seeyon.ctp.common.po.affair.CtpAffair affair) throws com.seeyon.ctp.common.exceptions.BusinessException
allCtpAffairId
- affair
- com.seeyon.ctp.common.exceptions.BusinessException
boolean hasMutiPlugin() throws com.seeyon.ctp.common.exceptions.BusinessException
com.seeyon.ctp.common.exceptions.BusinessException
java.util.List<com.seeyon.ctp.common.po.affair.CtpAffair> getAffairList4Exchange(com.seeyon.ctp.common.po.affair.CtpAffair affair) throws com.seeyon.ctp.common.exceptions.BusinessException
affair
- java.lang.Exception
com.seeyon.ctp.common.exceptions.BusinessException
java.util.List<com.seeyon.ctp.common.po.affair.CtpAffair> getAffairList4Exchange(java.util.List<com.seeyon.ctp.common.po.affair.CtpAffair> affairs) throws com.seeyon.ctp.common.exceptions.BusinessException
affairs
- java.lang.Exception
com.seeyon.ctp.common.exceptions.BusinessException
void setOcipUserInfo() throws com.seeyon.ctp.common.exceptions.BusinessException
com.seeyon.ctp.common.exceptions.BusinessException
boolean hasOcipPlugin() throws com.seeyon.ctp.common.exceptions.BusinessException
com.seeyon.ctp.common.exceptions.BusinessException
java.lang.String getOcipConfig(java.lang.Integer app, com.seeyon.ctp.common.po.affair.CtpAffair ctpAffair) throws com.seeyon.ctp.common.exceptions.BusinessException
app
- 应用(公文、协同应用、表单)ctpAffair
- 事项com.seeyon.ctp.common.exceptions.BusinessException
java.lang.String getOcipConfig(java.lang.Long affairId) throws com.seeyon.ctp.common.exceptions.BusinessException
affairId
- 事项IDcom.seeyon.ctp.common.exceptions.BusinessException
void setAgentTransInfo(java.lang.Boolean isAgent, com.seeyon.ctp.common.po.affair.CtpAffair affair, java.lang.Long userId) throws com.seeyon.ctp.common.exceptions.BusinessException
isAgent
- 是否OCIP代理affair
- 事项iduserId
- 用户idcom.seeyon.ctp.common.exceptions.BusinessException
java.util.Map<java.lang.String,java.lang.Object> getForwarTo(java.lang.Long affairId, java.lang.String serverName, java.lang.Integer serverPort) throws com.seeyon.ctp.common.exceptions.BusinessException
affairId
- 事项idserverName
- 请求来源地址serverPort
- 请求来源端口com.seeyon.ctp.common.exceptions.BusinessException
boolean uploadTicket(OcipTicket ticket)
ticket
- OcipTicket decryptTicket(java.lang.String ticket)
ticket
- com.seeyon.ctp.organization.bo.V3xOrgMember getOcipMembserInTicket(OcipTicket ticket)
userId
- ocip人员idboolean authenticationTokenInOcip(OcipTicket ticket)
token
- 令牌java.lang.String getTicket(OcipTicket ticket)
ticket
- boolean isOcipSendProcess(java.lang.Long summaryId)
summaryId
- java.lang.String sendProcessInfoToOtherSys(java.lang.Long workitemId, java.lang.Long caseId, java.lang.Long summaryId, java.lang.String memberId)
workitemId
- caseId
- summaryId
- memberId
- 干预人idjava.lang.String getForwardToByUri(java.lang.String uri, java.lang.String forwardTo)
uri
- java.lang.String getForwardToByUri(java.lang.String uri)
uri
- boolean checkIsExchangeAffair(java.lang.Long affiarId)
affiarId
-