最新消息: USBMI致力于为网友们分享Windows、安卓、IOS等主流手机系统相关的资讯以及评测、同时提供相关教程、应用、软件下载等服务。

V6.0流程平台与V5.5接口对比

IT圈 admin 75浏览 0评论

2024年6月13日发(作者:丰彬郁)

V6.0流程平台与V5.5接口对比

NC_UAP 基础技术部

2009-4

1、 元数据

所有走流程平台的单据类型,都必须建立元数据实体,并与之关联。这样废弃“单

据VO对照”、“单据项目”。

所有走流程平台的元数据实体,都需要实现流程平台业务接口IFlowBizItf、

IPfBillLock和IHeadBodyQueryItf,并进行属性的映射。

2、 多组织

所有单据VO必须新增属性“默认主组织”,其单据主表也要新增该字段。

流程定义三要素:单据(或交易)类型+组织+流程启动者。

3、 VO交换规则

V5.5版本中的VO交换规则保存在前后台两个交换类中(类似

),但V6.0中所有交换规则都保存到数据库。

VO交换规则只能基于元数据实体定义。不能导入V5.5中的交换规则。

4、 VO交换前后处理接口

废弃5.5中的ISourceChangeVO、ITargetChangeVO。

元数据实体需要实现业务接口IVoChangeAdjustItf。

5、 动作处理API

V6.0中一些API逐步整合规范,其他一些API将逐步废弃。

前台动作处理(整合PfUtilClient为如下两个方法):

Object ion(Container parent, String

actionName, String billType, String busiDate, AggregatedValueObject

billvo, Object userObj, String strBeforeUIClass, AggregatedValueObject

checkVo, HashMap eParam) throws Exception

Object[] ch(Container parent, String

actionName, String billType, String currentDate, AggregatedValueObject[]

voAry, Object[] userObjAry, String strBeforeUIClass, HashMap eParam)

throws Exception

后台动作处理(先使用NCLocator查找到IPFBusiAction组件后调用):

Object sAction(String actionName,

String billType, String currentDate, PfUtilWorkFlowVO wfContextVO,

AggregatedValueObject billvo, Object userObj, HashMap eParam) throws

BusinessException

Object[] sBatch(String actionName,

String billType, String currentDate, AggregatedValueObject[] billvos,

Object[] userObjAry, PfUtilWorkFlowVO wfContextVO) throws

BusinessException

6、 业务流程的几个下拉菜单及事件响应

“业务流程”菜单

void inessBtn(ButtonObject

inoutBoBusiness, String groupId, String billType)

“新增”菜单

public static void retAddBtn(ButtonObject boAdd, String groupId, String

2024年6月13日发(作者:丰彬郁)

V6.0流程平台与V5.5接口对比

NC_UAP 基础技术部

2009-4

1、 元数据

所有走流程平台的单据类型,都必须建立元数据实体,并与之关联。这样废弃“单

据VO对照”、“单据项目”。

所有走流程平台的元数据实体,都需要实现流程平台业务接口IFlowBizItf、

IPfBillLock和IHeadBodyQueryItf,并进行属性的映射。

2、 多组织

所有单据VO必须新增属性“默认主组织”,其单据主表也要新增该字段。

流程定义三要素:单据(或交易)类型+组织+流程启动者。

3、 VO交换规则

V5.5版本中的VO交换规则保存在前后台两个交换类中(类似

),但V6.0中所有交换规则都保存到数据库。

VO交换规则只能基于元数据实体定义。不能导入V5.5中的交换规则。

4、 VO交换前后处理接口

废弃5.5中的ISourceChangeVO、ITargetChangeVO。

元数据实体需要实现业务接口IVoChangeAdjustItf。

5、 动作处理API

V6.0中一些API逐步整合规范,其他一些API将逐步废弃。

前台动作处理(整合PfUtilClient为如下两个方法):

Object ion(Container parent, String

actionName, String billType, String busiDate, AggregatedValueObject

billvo, Object userObj, String strBeforeUIClass, AggregatedValueObject

checkVo, HashMap eParam) throws Exception

Object[] ch(Container parent, String

actionName, String billType, String currentDate, AggregatedValueObject[]

voAry, Object[] userObjAry, String strBeforeUIClass, HashMap eParam)

throws Exception

后台动作处理(先使用NCLocator查找到IPFBusiAction组件后调用):

Object sAction(String actionName,

String billType, String currentDate, PfUtilWorkFlowVO wfContextVO,

AggregatedValueObject billvo, Object userObj, HashMap eParam) throws

BusinessException

Object[] sBatch(String actionName,

String billType, String currentDate, AggregatedValueObject[] billvos,

Object[] userObjAry, PfUtilWorkFlowVO wfContextVO) throws

BusinessException

6、 业务流程的几个下拉菜单及事件响应

“业务流程”菜单

void inessBtn(ButtonObject

inoutBoBusiness, String groupId, String billType)

“新增”菜单

public static void retAddBtn(ButtonObject boAdd, String groupId, String

发布评论

评论列表 (0)

  1. 暂无评论