
xworker.dataObject.ExtendDataObject.xer.txt Maven / Gradle / Ivy
Show all versions of xworker_dataobject Show documentation
@xworker.dataObject.ExtendDataObject
sname
ExtendDataObject
slabel
ExtendDataObject
sdescriptors
xworker.lang.MetaDescriptor3
sextends
xworker.dataObject.DataObject
smany
true
seditCols
2
sinitialization
false
smodifier
public
sinheritDescription
false
Sdescription
#$@text#$@
如果只想使用一个数据对象的部分属性或要重新定义其界面,那么可以使用本继承数据对象。
继承数据对象关于数据对象的操作使用继承的数据对象,界面设置使用本数据对象的定义。
#$@text#$@
@xworker.dataObject.ExtendDataObject/@actions
sname
actions
sdescriptors
xworker.lang.MetaDescriptor3/@actions
@xworker.dataObject.ExtendDataObject/@actions/@initExtends
sname
initExtends
sisSynchronized
false
sthrowException
true
suseOtherAction
false
suseOuterJava
true
souterClassName
xworker.dataObject.ExtendDataObjectCreator
smethodName
initExtends
sdisableGlobalContext
false
sdescription
初始化继承,把被继承的数据对象的属性复制到本事物。
sdescriptors
xworker.lang.actions.JavaAction
@xworker.dataObject.ExtendDataObject/@actions/@copyExtendDataObject
sname
copyExtendDataObject
sisSynchronized
false
sthrowException
true
suseOtherAction
false
suseOuterJava
true
souterClassName
xworker.dataObject.ExtendDataObjectCreator
smethodName
copyExtendDataObject
sdisableGlobalContext
false
sdescriptors
xworker.lang.actions.JavaAction
@xworker.dataObject.ExtendDataObject/@actions/@load
sname
load
sisSynchronized
false
sthrowException
true
suseOtherAction
false
suseOuterJava
true
souterClassName
xworker.dataObject.ExtendDataObjectCreator
smethodName
load
sdisableGlobalContext
false
sdescriptors
xworker.lang.actions.JavaAction
@xworker.dataObject.ExtendDataObject/@actions/@create
sname
create
sisSynchronized
false
sthrowException
true
suseOtherAction
false
suseOuterJava
true
souterClassName
xworker.dataObject.ExtendDataObjectCreator
smethodName
create
sdisableGlobalContext
false
sdescriptors
xworker.lang.actions.JavaAction
@xworker.dataObject.ExtendDataObject/@actions/@update
sname
update
sisSynchronized
false
sthrowException
true
suseOtherAction
false
suseOuterJava
true
souterClassName
xworker.dataObject.ExtendDataObjectCreator
smethodName
update
sdisableGlobalContext
false
sdescriptors
xworker.lang.actions.JavaAction
@xworker.dataObject.ExtendDataObject/@actions/@delete
sname
delete
sisSynchronized
false
sthrowException
true
suseOtherAction
false
suseOuterJava
true
souterClassName
xworker.dataObject.ExtendDataObjectCreator
smethodName
delete
sdisableGlobalContext
false
sdescriptors
xworker.lang.actions.JavaAction
@xworker.dataObject.ExtendDataObject/@actions/@query
sname
query
sisSynchronized
false
sthrowException
true
suseOtherAction
false
suseOuterJava
true
souterClassName
xworker.dataObject.ExtendDataObjectCreator
smethodName
query
sdisableGlobalContext
false
Sdescription
#$@text#$@
可能会包含一个分页信息。
def pageInfo = [:];
pageInfo.start = getInt(requestBean.start, 0);
pageInfo.limit = getInt(requestBean.limit, 50);
pageInfo.pageSize = getInt(requestBean.pageSize, 200);
pageInfo.datas = [];
pageInfo.success = true;
pageInfo.msg = "";
pageInfo.totalCount = 0;
#$@text#$@
sdescriptors
xworker.lang.actions.JavaAction
@xworker.dataObject.ExtendDataObject/@actions/@updateBatch
sname
updateBatch
sisSynchronized
false
sthrowException
true
suseOtherAction
false
suseOuterJava
true
souterClassName
xworker.dataObject.ExtendDataObjectCreator
smethodName
updateBatch
sdisableGlobalContext
false
sdescription
批量更新,根据查询条件查找并更新符合条件的记录。
sdescriptors
xworker.lang.actions.JavaAction
sth_createIndex
false
@xworker.dataObject.ExtendDataObject/@actions/@updateBatch/@ins
sisValidate
false
sname
ins
sdescriptors
xworker.lang.actions.Inout/@ins
@xworker.dataObject.ExtendDataObject/@actions/@updateBatch/@ins/@theData
sname
theData
stypeCheck
false
soptional
true
scheck
false
scheckLevel
exception
sdescriptors
xworker.lang.actions.Inout/@ins/@param
@xworker.dataObject.ExtendDataObject/@actions/@updateBatch/@ins/@conditionConfig
sname
conditionConfig
stypeCheck
false
soptional
true
scheck
false
scheckLevel
exception
sdescriptors
xworker.lang.actions.Inout/@ins/@param
@xworker.dataObject.ExtendDataObject/@actions/@updateBatch/@ins/@conditionData
sname
conditionData
stypeCheck
false
soptional
true
scheck
false
scheckLevel
exception
sdescriptors
xworker.lang.actions.Inout/@ins/@param
@xworker.dataObject.ExtendDataObject/@actions/@deleteBatch
sname
deleteBatch
sisSynchronized
false
sthrowException
true
suseOtherAction
false
suseOuterJava
true
souterClassName
xworker.dataObject.ExtendDataObjectCreator
smethodName
deleteBatch
sdisableGlobalContext
false
sdescription
批量删除,根据查询条件查找并删除符合条件的记录。
sdescriptors
xworker.lang.actions.JavaAction
sth_createIndex
false
@xworker.dataObject.ExtendDataObject/@actions/@deleteBatch/@ins
sisValidate
false
sname
ins
sdescriptors
xworker.lang.actions.Inout/@ins
@xworker.dataObject.ExtendDataObject/@actions/@deleteBatch/@ins/@theData
sname
theData
stypeCheck
false
soptional
true
scheck
false
scheckLevel
exception
sdescriptors
xworker.lang.actions.Inout/@ins/@param
@xworker.dataObject.ExtendDataObject/@actions/@deleteBatch/@ins/@conditionConfig
sname
conditionConfig
stypeCheck
false
soptional
true
scheck
false
scheckLevel
exception
sdescriptors
xworker.lang.actions.Inout/@ins/@param
@xworker.dataObject.ExtendDataObject/@actions/@deleteBatch/@ins/@conditionData
sname
conditionData
stypeCheck
false
soptional
true
scheck
false
scheckLevel
exception
sdescriptors
xworker.lang.actions.Inout/@ins/@param
@xworker.dataObject.ExtendDataObject/@actions/@isMappingAble
sname
isMappingAble
sisSynchronized
false
sthrowException
true
suseOtherAction
false
suseOuterJava
true
souterClassName
xworker.dataObject.ExtendDataObjectCreator
smethodName
isMappingAble
sdisableGlobalContext
false
Sdescription
#$@text#$@
返回属性是否可以映射,比如数据库数据对象、CSV数据对象和Excel等数据对象的属性适合表字段、CSV或Excel的列映射的。
如果不能映射,直接抛出有说明文字的异常。
映射用于快速编辑属性。
#$@text#$@
sdescriptors
xworker.lang.actions.JavaAction
sth_createIndex
false
@xworker.dataObject.ExtendDataObject/@actions/@isMappingAble/@contexts
sname
contexts
sid
contexts
slabel
contexts
sdescriptors
xworker.lang.actions.Inout/@contexts
@xworker.dataObject.ExtendDataObject/@actions/@isMappingAble/@contexts/@dataSource
sname
dataSource
sconnectionName
con
stransaction
false
sdataSourcePath
self.dataSource
sconflicting
ignore
sdisable
false
sonError
ignore
spreventError
false
sinherit
true
sid
dataSource
sdescriptors
xworker.db.jdbc.DataSouceActionContext,xworker.lang.actions.Inout/@contexts/@context
@xworker.dataObject.ExtendDataObject/@actions/@getMappingFields
sname
getMappingFields
sisSynchronized
false
sthrowException
true
suseOtherAction
false
suseOuterJava
true
souterClassName
xworker.dataObject.ExtendDataObjectCreator
smethodName
getMappingFields
sdisableGlobalContext
false
sdescriptors
xworker.lang.actions.JavaAction
sth_createIndex
false
@xworker.dataObject.ExtendDataObject/@actions/@getMappingFields/@contexts
sname
contexts
sid
contexts
slabel
contexts
sdescriptors
xworker.lang.actions.Inout/@contexts
@xworker.dataObject.ExtendDataObject/@actions/@getMappingFields/@contexts/@dataSource
sname
dataSource
sconnectionName
con
stransaction
false
sdataSourcePath
self.dataSource
sconflicting
ignore
sdisable
false
sonError
ignore
spreventError
false
sinherit
true
sid
dataSource
sdescriptors
xworker.db.jdbc.DataSouceActionContext,xworker.lang.actions.Inout/@contexts/@context
@xworker.dataObject.ExtendDataObject/@actions/@getMappingAttributeName
sname
getMappingAttributeName
sisSynchronized
false
sthrowException
true
suseOtherAction
false
suseOuterJava
true
souterClassName
xworker.dataObject.ExtendDataObjectCreator
smethodName
getMappingAttributeName
sdisableGlobalContext
false
sdescriptors
xworker.lang.actions.JavaAction
sth_createIndex
false
@xworker.dataObject.ExtendDataObject/@actions/@getAttributeDescriptor1
sname
getAttributeDescriptor
sisSynchronized
false
sthrowException
true
suseOtherAction
false
suseOuterJava
true
souterClassName
xworker.dataObject.ExtendDataObjectCreator
smethodName
getAttributeDescriptor
sdisableGlobalContext
false
sdescriptors
xworker.lang.actions.JavaAction
sth_createIndex
false
@xworker.dataObject.ExtendDataObject/@extendedDataObject
sname
extendedDataObject
slabel
继承对象
sinputtype
openWindow
ssize
60
scolspan
2
sgroup
DataObject
sinputattrs
xworker.swt.xworker.attributeEditor.openWins.SelectThingOpenWindow/@shell|descriptor=xworker.dataObject.DataObject,returnType=path
sreadOnly
false
sinheritDescription
false
svalidateAllowBlank
true
LvalidateOnBlur
true
LallowDecimals
true
LallowNegative
true
sdescriptors
xworker.lang.MetaDescriptor3/@attribute
sth_createIndex
false
@xworker.dataObject.ExtendDataObject/@thing
sname
thing
slabel
Thing
sdescriptors
xworker.lang.MetaDescriptor2/@thing
sextends
xworker.dataObject.RelationDataObject
smany
true
seditCols
2
sdescription
与其他数据对象有关联的属性或属性列表。
sid
thing
szh_label
事物
Szh_description
#$@text#$@
MetaDescriptorX是对元事物的扩展,MetaDescriptor3是目前常用的元事物扩展。
因元事物任意事物的结构的结构,如果说Schema是XML的结构的话,那么可以说元事物是Scehma的Schema,所以元事物主要是用来定义结构(描述者或Schema)的事物。
因元事物比较简单,用其直接定义结构功能比较弱,比如通过元事物不能定义属性的类型等,所以在此依次定义MetaDescriptorX了。
事物编辑器的动态输入表单是根据MetaDescriptor3所设计,定义结构的根本是元事物,所以可以根据实际的需要定义元事物的扩展。
#$@text#$@
@xworker.dataObject.ExtendDataObject/@attribute
sname
attribute
slabel
Attribute
sdescriptors
xworker.lang.MetaDescriptor2/@thing
sextends
xworker.dataObject.Attribute
smany
true
seditCols
2
sdescription
基本类型的属性。
sid
attribute
szh_label
属性
Szh_description
#$@text#$@
attribute things, used to describe the properties of a thing.
description of the property is also used to edit attributes, the properties of the various properties of things, defines how to edit the method described properties can be adjusted by setting the relevant parameters editing interface.
property editor control, the name of the default in the action context "attribute name> + Input, such as attribute named name, then it's the name of the edit control nameInput.
If the specified edit control for the list, drop-down box, multiple choice, radio, etc., you can set the property value to specify the multiple-choice sub-things the value, you can write a getValues action to return the value of multiple-choice at this time getValues should return a List
.
this property to achieve a number of things that the default edit control, custom edit control if needed, you can edit the settings by defining the SWT child to achieve things.
#$@text#$@
@xworker.dataObject.ExtendDataObject/@actions1
sname
actions
slabel
Actions
sdescriptors
xworker.lang.MetaDescriptor3/@thing
sextends
xworker.lang.actions.Actions
smany
true
seditCols
2
sinitialization
false
smodifier
public
sinheritDescription
true
sid
actions
szh_label
动作
@xworker.dataObject.ExtendDataObject/@actions1/@name
sname
name
sid
name
sdescriptors
xworker.lang.MetaDescriptor2/@attribute
@xworker.dataObject.ExtendDataObject/@sswtMenus
sname
sswtMenus
sdescriptors
xworker.lang.MetaDescriptor3/@swtMenus
sextends
xworker.dataObject.DataObject/@sswtMenus
sth_createIndex
false
@xworker.dataObject.ExtendDataObject/@sswtMenus/@menuSetting
sname
extendDataObject
stype
data
smenuType
dataObject
sdescriptors
xworker.lang.MetaDescriptor3/@swtMenus/@menuSetting
@xworker.dataObject.ExtendDataObject/@sswtMenus/@menuSetting/@复制数据对象
sname
copyDataObject
slabel
复制数据对象
sshell
xworker.dataObject.swt.ExtendAttributeEditor/@shell
sisSplit
false
sattachParam
true
sen_label
Copy Extend DataObject
sdescriptors
xworker.lang.ThingMenu/@menuSetting/@menu