OThinker.H3.Apps.IAppPackageManager

说明:流程包管理对象

访问入口:this.Engine.AppPackageManager

示例:

this.Engine.AppPackageManager.AddAppPackage(new Acl.FunctionNode(), DataModel.StorageType.DataList);

 

方法名称:AddAppPackage(OThinker.H3.Acl.FunctionNode,OThinker.H3.DataModel.StorageType)

方法说明

添加流程包

输入参数

名称

类型

说明

FunctionNode

OThinker.H3.Acl.FunctionNode

功能节点对象

Type

OThinker.H3.DataModel.StorageType

存储类型(本地存储/外部数据)

返回值

返回添加应用包是否成功

 

方法名称:DeleteAppPackage(OThinker.H3.Acl.FunctionNode)

方法说明

删除流程包

输入参数

名称

类型

说明

FunctionNode

OThinker.H3.Acl.FunctionNode

功能节点对象

返回值

 

方法名称:ImportAppPackage(System.String,System.String,System.String,System.String,OThinker.H3.DataModel.BizObjectSchema,OThinker.H3.DataModel.BizListenerPolicy,System.Collections.Generic.List{OThinker.H3.DataModel.BizQuery},System.Collections.Generic.List{OThinker.H3.DataModel.ScheduleInvoker},System.Collections.Generic.List{OThinker.H3.Sheet.BizSheet},System.Collections.Generic.List{OThinker.H3.WorkflowTemplate.DraftWorkflowTemplate},System.Collections.Generic.Dictionary{System.String,System.String},System.Boolean,System.String@)

方法说明

流程包导入

输入参数

名称

类型

说明

UserID

System.String

操作用户ID

ParentCode

System.String

父功能节点编码

PackageCode

System.String

应用包编码

PackageName

System.String

应用包名称

Schema

OThinker.H3.DataModel.BizObjectSchema

数据模型对象

BizListenerPolicy

OThinker.H3.DataModel.BizListenerPolicy

监听

BizQueryList

List{OThinker.H3.DataModel.BizQuery}

查询集合

ScheduleInvokerList

List{OThinker.H3.DataModel.ScheduleInvoker}

定时作业集合

BizSheetList

List{OThinker.H3.Sheet.BizSheet}

表单对象集合

WorkflowTemplateList

List{OThinker.H3.WorkflowTemplate.DraftWorkflowTemplate}

流程对象集合

WorkflowNames

System.Collections.Generic.Dictionary{System.String

流程名称集合(编码,名称)

Overwrite

System.String}

是否覆盖模式

ResultStr

System.Boolean

返回结果

返回值

返回流程包导入是否成功

 

方法名称:UpdateDraftAppPackage(OThinker.H3.DataModel.BizObjectSchema,OThinker.H3.Sheet.BizSheet)

方法说明

更新草稿的表单设计

输入参数

名称

类型

说明

Schema

OThinker.H3.DataModel.BizObjectSchema

数据模型对象

BizSheet

OThinker.H3.Sheet.BizSheet

表单对象

返回值

返回更新是否成功