泛微OA工作流WebService接口使用说明文档格式.docx

上传人:b****6 文档编号:20197410 上传时间:2023-01-17 格式:DOCX 页数:17 大小:18.84KB
下载 相关 举报
泛微OA工作流WebService接口使用说明文档格式.docx_第1页
第1页 / 共17页
泛微OA工作流WebService接口使用说明文档格式.docx_第2页
第2页 / 共17页
泛微OA工作流WebService接口使用说明文档格式.docx_第3页
第3页 / 共17页
泛微OA工作流WebService接口使用说明文档格式.docx_第4页
第4页 / 共17页
泛微OA工作流WebService接口使用说明文档格式.docx_第5页
第5页 / 共17页
点击查看更多>>
下载资源
资源描述

泛微OA工作流WebService接口使用说明文档格式.docx

《泛微OA工作流WebService接口使用说明文档格式.docx》由会员分享,可在线阅读,更多相关《泛微OA工作流WebService接口使用说明文档格式.docx(17页珍藏版)》请在冰豆网上搜索。

泛微OA工作流WebService接口使用说明文档格式.docx

节点附加操作失败的流程,请求信息对象中需包含创建人、创建流程id和表单的数据代办数量:

getToDoWorkflowRequestCountintuserId:

用户idStringconditions:

查询流程的条件,为字符串数组Int:

代办的数量返回满足条件的用户可以得到的代办数目代办列表:

getToDoWorkflowRequestListintpageNo:

当前页数intpageSize:

每页的分页数量intrecordCount:

总行数intuserId:

用户idWorkflowRequestInfo:

请求基本信息列表根据参数条件获取需处理任务列表排除创建节Stringconditions:

查询流程的条件,为字符串数组类型点任务归档数目:

getRejectRequestCountintuserId:

归档的数量归档任务:

getProcessedRequestintpageNo:

查询流程的条件,为字符串数组类型WorkflowRequestInfo:

请求基本信息列表根据参数条件获取归档任务列表表单数据:

getRequestintrequestId:

请求requestidRequestInfo:

请求信息对象根据流程requestid获得表单数据流程提交:

submitWorkflowRequestWorkflowRequestInforequest:

请求信息对象intrequestid:

请求idBoolean:

True成功False失败流程提交intuserid:

提交人IDStringtype:

类型Stringremark:

提交意见流程退回:

nextNodeByRejectintrequestid:

请求idintuserid:

提交人IDStringremark:

退回意见Boolean:

True成功False失败流程退回流程转发:

forwardWorkflowRequestintrequestid:

请求idStringforwardoperator:

接收人id多个用逗号分隔Stringremark:

转发意见StringuserId:

用户用户idStringclientip:

客户端ip地址Boolean:

True成功False失败流程转发搜索所有可用流程数量:

getAllWorkflowRequestCountIntuserid:

Int返回数目查询条件字符串数组所有可用流程列表getAllWorkflowRequestListintpageNo:

请求基本信息列表根据参数条件获取可用任务列表得到所有抄送的流程数量getCCWorkflowRequestCountIntuserid:

查询条件字符串数组Int返回数目得到所有抄送流程列表getCCWorkflowRequestListintpageNo:

请求基本信息列表根据参数条件获得抄送流程列表得到可创建的工作流数量getCreateWorkflowCountIntuserid:

查询条件字符串数组Int返回数目取得可创建的工作流列表getCreateWorkflowListintpageNo:

查询流程的条件,为字符串数组类型WorkflowBaseInfo:

流程基本信息列表根据参数条件获得可创建流程列表取得可创建的工作流类型数量getCreateWorkflowTypeCountIntuserid:

查询条件字符串数组Int可创建的工作流类型数量取得可创建的工作流类型列表getCreateWorkflowTypeListintpageNo:

用户idWorkflowBaseInfo:

工作流基本信息数组根据参数条件获得可创建的流程类型列表Stringconditions:

查询流程的条件,为字符串数组类型取得创建流程的相关信息getCreateWorkflowRequestInfoIntworkflowId:

流程idIntuserid:

用户idWorkflowRequestInfo:

流程信息对象取得已办工作流类型数量getHendledWorkflowRequestCountIntuserid:

查询条件字符串数组Int:

可创建流程数量取得已办流程列表getHendledWorkflowRequestListintpageNo:

请求基本信息列表根据参数条件获得已办流程列表取得已办工作流类型数量getMyWorkflowRequestCountIntuserid:

我的请求流程数量取得已办流程列表getMyWorkflowRequestListintpageNo:

请求基本信息列表根据参数条件获得我的请求列表取得流程new标记getWorkflowNewFlagStringrequestIds多个流程id组成的数组StringResourceId人力资源idString:

结果数组,0或者1组成的数组取得流程详细信息getWorkflowRequestIntrequestid请求idIntuserid用户idIntfromrequestid从相关id的工作流过来WorkflowRequestInfo:

流程信息写入流程查看日志writeWorkflowReadFlagStringrequested请求idStringuserId用户id无返回值取得归档工作流类型数量Intuserid:

用户idInt:

归档流程数量getProcessedWorkflowRequestCountStringconditions:

查询条件字符串数组取得归档流程列表getProcessedWorkflowRequestListintpageNo:

请求基本信息列表根据参数条件获得归档请求列表接口对象说明:

1)WorkflowRequestInfo工作流请求信息/*请求ID*/privateStringrequestId;

/*请求标题*/privateStringrequestName;

/*请求重要级别*/privateStringrequestLevel;

/*短信提醒*/privateStringmessageType;

/*流程类型*/privateWorkflowBaseInfoworkflowBaseInfo;

/*当前节点名称*/privateStringcurrentNodeName;

/*当前节点Id*/privateStringcurrentNodeId;

/*流程状态*/privateStringstatus;

/*创建者*/privateStringcreatorId;

/*创建时间*/privateStringcreateTime;

/*最后操作者名称*/privateStringlastOperatorName;

/*最后操作时间*/privateStringlastOperateTime;

/*是否可查看*/privatebooleancanView;

/*是否可编辑*/privatebooleancanEdit;

/*签字意见是否必填*/privatebooleanmustInputRemark;

/*主表信息*/privateWorkflowMainTableInfoworkflowMainTableInfo;

/*明细表信息*/privateWorkflowDetailTableInfoworkflowDetailTableInfos;

/*流转日志信息*/privateWorkflowRequestLogworkflowRequestLogs;

/*HTML显示模板*0iPad*1iPhone*/privateStringWorkflowHtmlTemplete;

/*解析后的HTML显示内容*0iPad*1iPhone*/privateStringWorkflowHtmlShow;

/*被代理人*/privateStringbeagentid;

/*流程短语*/privateStringworkflowPhrases;

2)WorkflowBaseInfo工作流信息/*工作流ID*/privateStringworkflowId;

/*工作流标题*/privateStringworkflowName;

/*工作流类型ID*/privateStringworkflowTypeId;

/*工作流类型名称*/privateStringworkflowTypeName;

根据实际的webservice客户端实现的客户端代码均不相同.以下仅供参考.1)创建流程/*创建流程,支持多明细,并且带附件字段-目前只支持一个附件,并且是(http格式的)*throwsException*/publicstaticvoidcreateRequest()throwsExceptionetFieldName(mutiresource);

etFieldValue(111);

etView(true);

etEdit(true);

etFieldName(remark);

etFieldValue(test);

wrti1.setView(true);

wrti1.setEdit(true);

wrti2=newWorkflowRequestTableField();

wrti2.setFieldName(resource_n);

wrti2.setView(true);

wrti2.setEdit(true);

wrti3=newWorkflowRequestTableField();

wrti3.setFieldName(fj2);

etFieldType();

etFieldValue();

wrti3.setEdit(true);

WorkflowRequestTableRecordwrtri=newWorkflowRequestTableRecord1;

etWorkflowRequestTableFields(wrti);

WorkflowMainTableInfowmi=newWorkflowMainTableInfo();

(wrtri);

etFieldName(sl);

etFieldValue(11);

wrti0.setView(true);

wrti0.setEdit(true);

wrti1=newWorkflowRequestTableField();

wrti1.setFieldName(dj);

etFieldValue

(2);

wrti2.setFieldName(xj);

etFieldValue(22);

wrtri0=newWorkflowRequestTableRecord();

wrtri0.setWorkflowRequestTableFields(wrti);

etFieldValue(110);

etFieldValue(220);

wrtri1=newWorkflowRequestTableRecord();

wrtri1.setWorkflowRequestTableFields(wrti);

wdti0=newWorkflowDetailTableInfo();

wdti0.setWorkflowRequestTableRecords(wrtri);

etFieldName(cl3);

wrti1.setFieldName(cl1111);

wdti1=newWorkflowDetailTableInfo();

wdti1.setWorkflowRequestTableRecords(wrtri);

/加入明细表2的数据/明细表2endWorkflowBaseInfowbi=newWorkflowBaseInfo();

(5);

/workflowid5代表内部留言WorkflowRequestInfowri=newWorkflowRequestInfo();

/流程基本信息(111);

/创建人id

(2);

/0正常,1重要,2紧急(留言测试接口);

/流程标题(wmi);

/添加主字段数据(wbi);

(wdti);

/执行创建流程接口WorkflowServicePortTypeProxyWorkflowServicePortTypeProxy=newWorkflowServicePortTypeProxy();

Stringrequestid=(wri,111);

requestid:

+requestid);

2)获取代办列表数量/*获得代办事宜数量*throwsRemoteException*/publicstaticvoidgetDaiBanShuLiang()throwsRemoteExceptionWorkflowServicePortTypeProxyWorkflowServicePortTypeProxy=newWorkflowServicePortTypeProxy();

intcount=(111,null);

代办事宜数量:

+count);

/获取待办事宜接口/带查询条件查询,只能写关于这2个表的查询条件workflow_requestbaset1,workflow_currentoperatort2/查询条件里面不需要写andStringconditions=newString2;

conditions0=2;

/状态为审批conditions1=111;

/创建人为111count=(111,conditions);

/获取待办事宜接口3)获得代办事宜列表/*获得代办列表*/publicstaticvoidgetDaiBanLieBiao()throwsExceptionWorkflowServicePortTypeProxyWorkflowServicePortTypeProxy=newWorkflowServicePortTypeProxy();

WorkflowRequestInfoWorkflowRequestInfo=(1,15,100,111,null);

/获取待办事宜接口代办事宜列表数量:

+;

for(inti=0;

i;

i+)WorkflowRequestInfowri=WorkflowRequestInfoi;

+()+()+();

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 高等教育 > 文学

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1