BizObjectSchema
更新时间: 2024-02-02 浏览次数: {{ hits }}

类名 : BizObjectSchema
说明 : 业务对象的模式,在该类中定义了这个类型的业务对象的属性名称、属性类型、方法名称、方法返回值等信息 属性 : 

名称说明
ObjectTypeId业务对象模式在引擎中的类型
SchemaCode唯一编码
AccessPointType业务服务编码
UsageType获取或设置数据模型的应用方式
DisplayName显示名称
FullName业务对象模式的全名称,该名称由显示名称和编码组合而成,所以,该名称是可以变化的,不能作为唯一确定业务对象模式的键值
Description业务对象模式的描述
MainVersion主版本号。该版本号由用户控制,用户选择发布一次才会增加1
SubVersion次版本号。该版本号由系统控制,每更新一次增加1
VersionNumber版本号,该属性由主版本号和此版本号构成
ParentSchema如果本模式是其他模式的子模式,那么在这里指定对应的父模式
ParentPropertyName如果本模式是其他模式的子模式,那么在这里指定对应的父模式中自己所对应的属性名称
ChildSchemas本模式拥有的全部递归子模式,即子模式和子模式的ChildSchemas
EnableSeqNo是否启用流水号
SeqNoDateFormat流水号的日期格式
SeqNoPrefix流水号的前置字符串
SeqNoLength流水号的总长度
SubmitRules表单提交规则
TableName映射到本地表的表名称
PropertySchemaCollection属性模式集合
Properties所有直接的属性
PropertiesExcludeRemoved排除已经标注为删除的属性
Views业务对象模式对应的视图的集合
NameSchema摘要信息,比如:{OwnerId}发表了文章{Title}
SummarySchema摘要信息,比如:{OwnerId}发表了文章{Title}
IconId流水号的日期格式
ChangeRules业务规则
ChangeEventHandler变更事件处理器,变更事件包括添加、删除和修改
EventHandlerConfigured是否配置事件处理逻辑



成员 : 

名称说明
MaxCodeLength编码的最大长度
CodeRegex编码规则:包含字母、数字、下划线
MaxPropertyNameLength属性名称的最大长度
PropertyName_ObjectId属性名称:主键的ID
PropertyName_ParentObjectId属性名称:父对象
PropertyName_ModifiedBy属性名称:最后的修改人
DefaultDisplayName_ModifiedTime属性显示名称:修改时间
PropertyName_ModifiedTime属性名称:最后的修改时间
PropertyName_CreatedBy属性名称:创建人
DefaultDisplayName_CreatedBy默认显示名称
PropertyName_OwnerId属性名称:所有人ID,这个字段是用来控制权限的,比如:只有Owner才可以对该对象进行读写
DefaultDisplayName_OwnerId默认显示名称
PropertyName_OwnerDeptId属性名称:所有人的父对象ID,这个字段是用来控制权限的,比如:只有Owner所在的部门的成员才可以对该对象进行读写
DefaultDisplayName_OwnerDeptId默认显示名称
PropertyName_CreatedTime属性名称:创建时间
DefaultDisplayName_CreatedTime默认显示名称
PropertyName_BizObjectType属性名称:项目类型
PropertyName_FolderId属性名称:父目录的ID
PropertyName_FileContent属性名称:父目录的ID
PropertyName_Name属性名称:文件/目录名称
DefaultDisplayName_Name默认显示名称
PropertyName_WorkflowInstanceId属性名称:这个属性用来记录正在运行的流程ID
PropertyName_IconId属性名称:图标的Id
PropertyName_Status属性名称:生效状态
PropertyName_SeqNo属性名称:流水号
DefaultDisplayName_SeqNo默认显示名称
PropertyName_Summary摘要
PropertyName_MobileSummary移动端用到的一个key
PropertyName_MobileDicData移动端用到的一个key
PropertyName_Telephone移动端用到的一个key
PropertyName_PrintQrCode属性名称:打印二维码
DefaultDisplayName_PrintQrCode默认显示名称
PropertyName_PrintTime属性名称:打印时间
DefaultDisplayName_PrintTime默认显示名称
PropertyName_Printer属性名称:打印人
DefaultDisplayName_Printer默认显示名称
PropertyName_PrintComment属性名称:打印审批意见
DefaultDisplayName_PrintComment默认显示名称
PropertyName_PrintCompanyName属性名称:打印配置
DefaultDisplayName_PrintCompanyName默认显示名称
MethodName_Create新建方法
MethodName_Load加载方法
MethodName_Remove删除方法
MethodName_Update更新方法
MethodName_GetList搜索


方法名称 : _BizObjectSchema(System.String)

参数说明
"schemaCode"业务对象模式编码
返回值


构造方法名称 : #ctor(H3.DataModel.UsageType,System.String,System.Boolean)

参数说明
"type"
"schemaCode"
"isRootSchema"
返回值


方法名称 : GetRootSchema

参数说明


返回值


方法名称 : GetRootSchema(System.String[]@)

参数说明
"properties"如何从根模式中找到自己
返回值
根模式,如果自己就是根模式的话,则返回自己


方法名称 : GetRecursiveSchemaCodes(System.Boolean)

参数说明


返回值


方法名称 : GetChildSchema(System.String)

参数说明
"schemaCode"子模式的编码
返回值
子模式


方法名称 : GetReferenceSchemaCodes

参数说明


返回值


方法名称 : EnsureIconIdProperty

参数说明


返回值


方法名称 : GetReservedProperties

参数说明


返回值


方法名称 : IsReservedProperty(System.String)

参数说明
"propertyName"属性名称
返回值
如果是保留字段则返回true,否则返回false


方法名称 : IsEditable(System.String)

参数说明
"propertyName"属性名称
返回值
如果是可写的系统字段,则返回True,如果是不可写的系统字段则返回False,如果不是系统字段则返回Unspecified


方法名称 : IsBoReservedPropertiesOnly(System.String)

参数说明
"propertyName"属性名称
返回值
如果只是Bo的保留字则返回true,否则返回false


方法名称 : GetBoReservedPropertiesOnly

参数说明


返回值
保留属性


方法名称 : GetTableName(System.String)

参数说明
"schemaCode"业务对象模式编码
返回值
表名称


方法名称 : GetSchemaCodeFromTableName(System.String)

参数说明
"tableName"表名称
返回值
业务对象模式编码


方法名称 : GetPrintConfigProperties

参数说明


返回值


方法名称 : GetPrintConfigProperty(System.String)

参数说明
"propertyName"
返回值


方法名称 : GetPrintProperties

参数说明


返回值


方法名称 : GetProperty(System.String)

参数说明
"propertyName"属性名称
返回值
属性模式


方法名称 : AddProperty(H3.DataModel.PropertySchema)

参数说明
"property"属性模式
返回值
如果添加成功则返回true,否则返回false


方法名称 : HasRelatedMember

参数说明


返回值


方法名称 : GetPropertyNames

参数说明


返回值
属性名称


方法名称 : UpdateProperty(System.String,H3.DataModel.PropertySchema)

参数说明
"propertyName"属性名称
"property"新的属性模式
返回值
如果更新成功则返回true;否则返回false


方法名称 : RemoveProperty(System.String)

参数说明
"propertyName"属性名称
返回值


方法名称 : GetBizDataType(System.String)

参数说明
"propertyName"字段名称
返回值
字段类型


方法名称 : GetDefaultMethods

参数说明


返回值
所有默认方法的名称


方法名称 : IsDefaultMethod(System.String)

参数说明
"methodName"方法名称
返回值
如果是默认的方法,则返回true;否则返回false


方法名称 : ValidateFormula(System.String)

参数说明
"formula"表达式
返回值
如果表达式是合法的,则返回true;否则返回false


方法名称 : ValidateFormula(System.String,System.Boolean,System.Collections.Generic.List{System.String})

参数说明
"formula"表达式
"includeWorkflowKeywords"是否包含流程的关键字
"errors"
返回值
如果表达式是合法的,则返回true;否则返回false


方法名称 : GetNameRelatedProperties

参数说明


返回值
与摘要相关的所有属性


方法名称 : GetSummaryRelatedProperties

参数说明


返回值
与摘要相关的所有属性


方法名称 : GetEffectiveProcedureName

参数说明


返回值
生效过程的名称


方法名称 : GetCancelProcedureName

参数说明


返回值
取消过程的名称


方法名称 : HasEffectRules

参数说明


返回值
如果配置了非文件类的事件处理脚本,则返回true


方法名称 : HasCancelRule

参数说明


返回值
如果配置了非文件类的事件处理脚本,则返回true


方法名称 : HasEffectFileRules

参数说明


返回值
如果配置了非文件类的事件处理脚本,则返回true


方法名称 : HasCancelFileRule

参数说明


返回值
如果配置了非文件类的事件处理脚本,则返回true


方法名称 : CreateFromXml(System.String,System.String)

参数说明
"schemaCode"业务对象模式编码
"xml"业务对象模式的XML定义
返回值
新建的业务对象模式


构造方法名称 : #ctor

参数说明


返回值


方法名称 : GetObjectTrack(System.String)

参数说明
"objectName"
返回值