^1364550006023
@xworker.dataObject.proxy.ProxyDataObject
sname
ProxyDataObject
slabel
ProxyDataObject
sdescriptors
xworker.lang.MetaDescriptor3
sextends
xworker.dataObject.AbstractDataObject
smany
true
seditCols
2
sinitialization
false
smodifier
public
sinheritDescription
false
Sdescription
#$@text#$@
<p>代理数据对象，各种方法实际上执行的被代理的数据对象的方法，通常用于远程调用数据对象等。</p>
<p>代理数据对象和被代理的数据对象应该有相同的属性。</p>
<p>尚未完工。</p>
#$@text#$@
sth_createIndex
false
@xworker.dataObject.proxy.ProxyDataObject/@actions
sname
actions
sdescriptors
xworker.lang.MetaDescriptor3/@actions
sth_createIndex
false
@xworker.dataObject.proxy.ProxyDataObject/@actions/@load
sname
doLoad
sisSynchronized
false
sthrowException
true
suseOtherAction
false
svarScope
Global
sdisableGlobalContext
false
Scode
#$@text#$@
def proxy = world.getThing(self.dataObjectProxy);
if(proxy == null){
    proxy = world.getThing(self.dataObjectPath);
}
if(proxy == null){
    throw new Exception("ProxyDataObject: proxy is null, please set dataObjectProxy or dataObjectPath, dataObject=" + self.metadata.path);
}
if(self.dataObjectPath == null || self.dataObjectPath == ""){
   throw new Exception("ProxyDataObject: dataObjectPath is null, please set dataObjectPath, dataObject=" + self.metadata.path);
}

return proxy.doAction("load", actionContext, ["dataObjectPath": self.dataObjectPath]);
#$@text#$@
sinitBreakPoint
false
ssuccessBreakPoint
false
sexceptionBreakPoint
false
seditBreakPoint
false
sinterpretationType
Action
ssaveReturn
false
sdescriptors
xworker.lang.actions.Actions/@GroovyAction
@xworker.dataObject.proxy.ProxyDataObject/@actions/@load/@ins
sisValidate
false
sname
ins
sdescriptors
xworker.lang.actions.Inout/@ins
@xworker.dataObject.proxy.ProxyDataObject/@actions/@load/@ins/@theData
sname
theData
stypeCheck
false
soptional
true
scheck
false
scheckLevel
exception
sdescriptors
xworker.lang.actions.Inout/@ins/@param
@xworker.dataObject.proxy.ProxyDataObject/@actions/@create
sname
doCreate
sisSynchronized
false
sthrowException
true
suseOtherAction
false
svarScope
Global
sdisableGlobalContext
false
Scode
#$@text#$@
def proxy = world.getThing(self.dataObjectProxy);
if(proxy == null){
    proxy = world.getThing(self.dataObjectPath);
}
if(proxy == null){
    throw new Exception("ProxyDataObject: proxy is null, please set dataObjectProxy or dataObjectPath, dataObject=" + self.metadata.path);
}
if(self.dataObjectPath == null || self.dataObjectPath == ""){
   throw new Exception("ProxyDataObject: dataObjectPath is null, please set dataObjectPath, dataObject=" + self.metadata.path);
}

return proxy.doAction("create", actionContext, ["dataObjectPath": self.dataObjectPath]);
#$@text#$@
sdescription
<p>如果创建成功，返回被创建的数据对象。</p>
sinitBreakPoint
false
ssuccessBreakPoint
false
sexceptionBreakPoint
false
seditBreakPoint
false
sinterpretationType
Action
ssaveReturn
false
sdescriptors
xworker.lang.actions.Actions/@GroovyAction
@xworker.dataObject.proxy.ProxyDataObject/@actions/@create/@ins
sisValidate
false
sname
ins
sdescriptors
xworker.lang.actions.Inout/@ins
@xworker.dataObject.proxy.ProxyDataObject/@actions/@create/@ins/@theData
sname
theData
stypeCheck
false
soptional
true
scheck
false
scheckLevel
exception
sdescriptors
xworker.lang.actions.Inout/@ins/@param
@xworker.dataObject.proxy.ProxyDataObject/@actions/@update
sname
doUpdate
sisSynchronized
false
sthrowException
true
suseOtherAction
false
svarScope
Global
sdisableGlobalContext
false
Scode
#$@text#$@
def proxy = world.getThing(self.dataObjectProxy);
if(proxy == null){
    proxy = world.getThing(self.dataObjectPath);
}
if(proxy == null){
    throw new Exception("ProxyDataObject: proxy is null, please set dataObjectProxy or dataObjectPath, dataObject=" + self.metadata.path);
}
if(self.dataObjectPath == null || self.dataObjectPath == ""){
   throw new Exception("ProxyDataObject: dataObjectPath is null, please set dataObjectPath, dataObject=" + self.metadata.path);
}

return proxy.doAction("update", actionContext, ["dataObjectPath": self.dataObjectPath]);
#$@text#$@
sdescription
<p>如果更新成功返回true，否则返回false。</p>
sinitBreakPoint
false
ssuccessBreakPoint
false
sexceptionBreakPoint
false
seditBreakPoint
false
sinterpretationType
Action
ssaveReturn
false
sdescriptors
xworker.lang.actions.Actions/@GroovyAction
@xworker.dataObject.proxy.ProxyDataObject/@actions/@update/@ins
sisValidate
false
sname
ins
sdescriptors
xworker.lang.actions.Inout/@ins
@xworker.dataObject.proxy.ProxyDataObject/@actions/@update/@ins/@theData
sname
theData
stypeCheck
false
soptional
true
scheck
false
scheckLevel
exception
sdescriptors
xworker.lang.actions.Inout/@ins/@param
@xworker.dataObject.proxy.ProxyDataObject/@actions/@updateBatch
sname
updateBatch
sisSynchronized
false
sthrowException
true
suseOtherAction
false
svarScope
Global
sdisableGlobalContext
false
Scode
#$@text#$@
def proxy = world.getThing(self.dataObjectProxy);
if(proxy == null){
    proxy = world.getThing(self.dataObjectPath);
}
if(proxy == null){
    throw new Exception("ProxyDataObject: proxy is null, please set dataObjectProxy or dataObjectPath, dataObject=" + self.metadata.path);
}
if(self.dataObjectPath == null || self.dataObjectPath == ""){
   throw new Exception("ProxyDataObject: dataObjectPath is null, please set dataObjectPath, dataObject=" + self.metadata.path);
}

return proxy.doAction("updateBatch", actionContext, ["dataObjectPath": self.dataObjectPath]);
#$@text#$@
sdescription
<p>批量更新，根据查询条件查找并更新符合条件的记录，返回成功更新的记录数。</p>
sdescriptors
xworker.lang.actions.Actions/@GroovyAction
sth_createIndex
false
@xworker.dataObject.proxy.ProxyDataObject/@actions/@updateBatch/@ins
sisValidate
false
sname
ins
sdescriptors
xworker.lang.actions.Inout/@ins
@xworker.dataObject.proxy.ProxyDataObject/@actions/@updateBatch/@ins/@theData
sname
theData
stypeCheck
false
soptional
true
scheck
false
scheckLevel
exception
sdescriptors
xworker.lang.actions.Inout/@ins/@param
@xworker.dataObject.proxy.ProxyDataObject/@actions/@updateBatch/@ins/@conditionConfig
sname
conditionConfig
stypeCheck
false
soptional
true
scheck
false
scheckLevel
exception
sdescriptors
xworker.lang.actions.Inout/@ins/@param
@xworker.dataObject.proxy.ProxyDataObject/@actions/@updateBatch/@ins/@conditionData
sname
conditionData
stypeCheck
false
soptional
true
scheck
false
scheckLevel
exception
sdescriptors
xworker.lang.actions.Inout/@ins/@param
@xworker.dataObject.proxy.ProxyDataObject/@actions/@delete
sname
doDelete
sisSynchronized
false
sthrowException
true
suseOtherAction
false
svarScope
Global
sdisableGlobalContext
false
Scode
#$@text#$@
def proxy = world.getThing(self.dataObjectProxy);
if(proxy == null){
    proxy = world.getThing(self.dataObjectPath);
}
if(proxy == null){
    throw new Exception("ProxyDataObject: proxy is null, please set dataObjectProxy or dataObjectPath, dataObject=" + self.metadata.path);
}
if(self.dataObjectPath == null || self.dataObjectPath == ""){
   throw new Exception("ProxyDataObject: dataObjectPath is null, please set dataObjectPath, dataObject=" + self.metadata.path);
}

return proxy.doAction("delete", actionContext, ["dataObjectPath": self.dataObjectPath]);
#$@text#$@
sdescription
<p>如果删除成功返回true，否则返回false。</p>
sinitBreakPoint
false
ssuccessBreakPoint
false
sexceptionBreakPoint
false
seditBreakPoint
false
sinterpretationType
Action
ssaveReturn
false
sdescriptors
xworker.lang.actions.Actions/@GroovyAction
@xworker.dataObject.proxy.ProxyDataObject/@actions/@delete/@ins
sisValidate
false
sname
ins
sdescriptors
xworker.lang.actions.Inout/@ins
@xworker.dataObject.proxy.ProxyDataObject/@actions/@delete/@ins/@theData
sname
theData
stypeCheck
false
soptional
true
scheck
false
scheckLevel
exception
sdescriptors
xworker.lang.actions.Inout/@ins/@param
@xworker.dataObject.proxy.ProxyDataObject/@actions/@deleteBatch
sname
deleteBatch
sisSynchronized
false
sthrowException
true
suseOtherAction
false
svarScope
Global
sdisableGlobalContext
false
Scode
#$@text#$@
def proxy = world.getThing(self.dataObjectProxy);
if(proxy == null){
    proxy = world.getThing(self.dataObjectPath);
}
if(proxy == null){
    throw new Exception("ProxyDataObject: proxy is null, please set dataObjectProxy or dataObjectPath, dataObject=" + self.metadata.path);
}
if(self.dataObjectPath == null || self.dataObjectPath == ""){
   throw new Exception("ProxyDataObject: dataObjectPath is null, please set dataObjectPath, dataObject=" + self.metadata.path);
}

return proxy.doAction("deleteBatch", actionContext, ["dataObjectPath": self.dataObjectPath]);
#$@text#$@
sdescription
<p>批量删除，根据查询条件查找并删除符合条件的记录，返回成功删除的记录数。</p>
sdescriptors
xworker.lang.actions.Actions/@GroovyAction
sth_createIndex
false
@xworker.dataObject.proxy.ProxyDataObject/@actions/@deleteBatch/@ins
sisValidate
false
sname
ins
sdescriptors
xworker.lang.actions.Inout/@ins
@xworker.dataObject.proxy.ProxyDataObject/@actions/@deleteBatch/@ins/@theData
sname
theData
stypeCheck
false
soptional
true
scheck
false
scheckLevel
exception
sdescriptors
xworker.lang.actions.Inout/@ins/@param
@xworker.dataObject.proxy.ProxyDataObject/@actions/@deleteBatch/@ins/@conditionConfig
sname
conditionConfig
stypeCheck
false
soptional
true
scheck
false
scheckLevel
exception
sdescriptors
xworker.lang.actions.Inout/@ins/@param
@xworker.dataObject.proxy.ProxyDataObject/@actions/@deleteBatch/@ins/@conditionData
sname
conditionData
stypeCheck
false
soptional
true
scheck
false
scheckLevel
exception
sdescriptors
xworker.lang.actions.Inout/@ins/@param
@xworker.dataObject.proxy.ProxyDataObject/@actions/@query
sname
doQuery
sisSynchronized
false
sthrowException
true
suseOtherAction
false
svarScope
Global
sdisableGlobalContext
false
Scode
#$@text#$@
def proxy = world.getThing(self.dataObjectProxy);
if(proxy == null){
    proxy = world.getThing(self.dataObjectPath);
}
if(proxy == null){
    throw new Exception("ProxyDataObject: proxy is null, please set dataObjectProxy or dataObjectPath, dataObject=" + self.metadata.path);
}
if(self.dataObjectPath == null || self.dataObjectPath == ""){
   throw new Exception("ProxyDataObject: dataObjectPath is null, please set dataObjectPath, dataObject=" + self.metadata.path);
}

return proxy.doAction("query", actionContext, ["dataObjectPath": self.dataObjectPath]);
#$@text#$@
Sdescription
#$@text#$@
<p>可以传入一个分页信息(变量名为pageInfo)。</p>
<p>pageInfo.start&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 记录起始索引<br />
pageInfo.limit&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 返回记录最大条数<br />
pageInfo.datas&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 查询的结果，应该是一个List或数组<br />
pageInfo.success&nbsp;&nbsp;&nbsp;是否查询成功<br />
pageInfo.msg&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 操作的结果提示信息<br />
pageInfo.totalCount&nbsp;记录总数<br />
pageInfo.sort&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 排序字段<br />
pageInfo.dir&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 排序的方向，ASC或DESC</p>
<p>返回符合条件的记录列表。</p>
#$@text#$@
sinitBreakPoint
false
ssuccessBreakPoint
false
sexceptionBreakPoint
false
seditBreakPoint
false
sinterpretationType
Action
ssaveReturn
false
sdescriptors
xworker.lang.actions.Actions/@GroovyAction
@xworker.dataObject.proxy.ProxyDataObject/@actions/@query/@ins
sisValidate
false
sname
ins
sdescriptors
xworker.lang.actions.Inout/@ins
@xworker.dataObject.proxy.ProxyDataObject/@actions/@query/@ins/@theData
sname
conditionConfig
stypeCheck
false
soptional
true
scheck
false
scheckLevel
exception
sdescriptors
xworker.lang.actions.Inout/@ins/@param
@xworker.dataObject.proxy.ProxyDataObject/@actions/@query/@ins/@conditionData
sname
conditionData
stypeCheck
false
soptional
true
scheck
false
scheckLevel
exception
sdescriptors
xworker.lang.actions.Inout/@ins/@param
@xworker.dataObject.proxy.ProxyDataObject/@dataObjectPath
sname
dataObjectPath
sinputtype
openWindow
ssize
60
scolspan
2
sinputattrs
xworker.swt.xworker.attributeEditor.openWins.SelectThingOpenWindow/@shell|descriptor=xworker.dataObject.DataObject,returnType=path
sreadOnly
false
sinheritDescription
false
sdescription
<p>要访问的数据对象的路径。</p>
svalidateAllowBlank
true
LvalidateOnBlur
true
LallowDecimals
true
LallowNegative
true
sdescriptors
xworker.lang.MetaDescriptor3/@attribute
sth_createIndex
false
@xworker.dataObject.proxy.ProxyDataObject/@dataObjectProxy
sname
dataObjectProxy
sinputtype
openWindow
ssize
60
scolspan
2
sinputattrs
xworker.swt.xworker.attributeEditor.openWins.SelectThingOpenWindow/@shell|descriptor=xworker.dataObject.proxy.DataObjectProxy,returnType=path
sreadOnly
false
sinheritDescription
false
sdescription
<p>数据对象代理，通过数据对象代理访问被访问的数据对象。。</p>
svalidateAllowBlank
true
LvalidateOnBlur
true
LallowDecimals
true
LallowNegative
true
sdescriptors
xworker.lang.MetaDescriptor3/@attribute
sth_createIndex
false
