^1639996779564
@
sname
SortByField
slabel
SortByField
sdescriptors
xworker.lang.MetaDescriptor3
sextends
xworker.lang.actions.SelfAction
smany
true
seditCols
2
sinitialization
false
smodifier
public
sinheritDescription
false
Sdescription
#$@text#$@
<p>根据指定的字段对一个List或可遍历对象进行排序。使用Java的Collections.sort()方法排序。</p>

<p><strong>排序规则</strong></p>

<p>&nbsp;&nbsp;&nbsp; 如果排序字段softFields为null或空，那么使用默认排序。否则从对象中按照字段使用ognl表达式获取值，通过值来排序。</p>

<p>&nbsp;&nbsp;&nbsp; 值必须是Comparable的。</p>

<p><strong>返回值</strong></p>

<p>&nbsp;&nbsp;&nbsp; 返回值是List对象，如果要排序的对象本身就是List，那么返回的对象也是它本身。</p>

<p><strong>可以重写的方法</strong></p>

<ul>
	<li><strong>Object getList()</strong><br />
	返回List或可遍历的对象。</li>
	<li><strong>String getSortFields()</strong><br />
	返回要排序的字段列表，如果有多个使用英文逗号分割。</li>
	<li><strong>String getDirs()</strong><br />
	返回字段的排序方式，如有多个使用英文逗号分割。</li>
</ul>

<p>&nbsp;</p>

<p>&nbsp;</p>
#$@text#$@
snotXmlAttribute
false
sjson_isArray
false
sth_createIndex
false
  @/@actions
  sname
  actions
  sdescriptors
  xworker.lang.MetaDescriptor3/@actions
  sth_createIndex
  false
  sid
  actions
    @/@actions/@run
    sname
    run
    sisSynchronized
    false
    sthrowException
    true
    suseOtherAction
    false
    suseOuterJava
    true
    souterClassName
    xworker.core.actions.data.SortCreator
    smethodName
    run
    sdisableGlobalContext
    false
    sdescriptors
    xworker.lang.actions.JavaAction
    sth_createIndex
    false
    sid
    run
    @/@actions/@getList
    sname
    getList
    sattributeName
    list
    snotNull
    true
    sinterpretationType
    Self
    sattributeTemplate
    false
    schildsAttributeTemplate
    false
    svarScope
    Local
    sisSynchronized
    false
    sthrowException
    true
    suseOtherAction
    false
    screateLocalVarScope
    false
    ssaveReturn
    false
    sdisableGlobalContext
    false
    sdebugLog
    false
    sdescriptors
    xworker.lang.actions.ActionUtil/@GetData
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    getList
    @/@actions/@getSortFields
    sname
    getSortFields
    sattributeName
    sortFields
    snotNull
    false
    sinterpretationType
    Self
    sattributeTemplate
    false
    schildsAttributeTemplate
    false
    svarScope
    Local
    sisSynchronized
    false
    sthrowException
    true
    suseOtherAction
    false
    screateLocalVarScope
    false
    ssaveReturn
    false
    sdisableGlobalContext
    false
    sdebugLog
    false
    sdescriptors
    xworker.lang.actions.ActionUtil/@GetString
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    getSortFields
    @/@actions/@getDirs
    sname
    getDirs
    sattributeName
    dirs
    snotNull
    false
    sinterpretationType
    Self
    sattributeTemplate
    false
    schildsAttributeTemplate
    false
    svarScope
    Local
    sisSynchronized
    false
    sthrowException
    true
    suseOtherAction
    false
    screateLocalVarScope
    false
    ssaveReturn
    false
    sdisableGlobalContext
    false
    sdebugLog
    false
    sdescriptors
    xworker.lang.actions.ActionUtil/@GetString
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    getDirs
  @/@name
  sname
  name
  sinheritDescription
  false
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sid
  name
  @/@label
  sname
  label
  sinheritDescription
  false
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sid
  label
  @/@listName
  sname
  list
  ssize
  60
  scolspan
  2
  sshowLabel
  true
  sreadOnly
  false
  sinheritDescription
  false
  sdescription
  <p>List数据名，使用Ognl表达式。</p>
  svalidateAllowBlank
  true
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  snotXmlAttribute
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sid
  listName
  @/@sortField
  sname
  sortFields
  ssize
  60
  scolspan
  2
  sshowLabel
  true
  sreadOnly
  false
  sinheritDescription
  false
  sdescription
  <p>排序字段，使用Ognl表达式。</p>
  svalidateAllowBlank
  true
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  snotXmlAttribute
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sid
  sortField
  @/@dir
  sname
  dirs
  sinputtype
  inputSelect
  sshowLabel
  true
  sreadOnly
  false
  sdefault
  ASC
  sinheritDescription
  false
  svalidateAllowBlank
  true
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  snotXmlAttribute
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sid
  dir
    @/@dir/@ASC
    sname
    ASC
    slabel
    ASC
    svalue
    ASC
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sth_createIndex
    false
    sid
    ASC
    @/@dir/@DESC
    sname
    DESC
    slabel
    DESC
    svalue
    DESC
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sth_createIndex
    false
    sid
    DESC
    @/@dir/@ASC,ASC
    sname
    ASC,ASC
    svalue
    ASC,ASC
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    ASC,ASC
    @/@dir/@ASC,DESC
    sname
    ASC,DESC
    svalue
    ASC,DESC
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    ASC,DESC
    @/@dir/@DESC,ASC
    sname
    DESC,ASC
    svalue
    DESC,ASC
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    DESC,ASC
    @/@dir/@DESC,DESC
    sname
    DESC,DESC
    svalue
    DESC,DESC
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    DESC,DESC
    @/@dir/@ASC,ASC,ASC
    sname
    ASC,ASC,ASC
    svalue
    ASC,ASC,ASC
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    ASC,ASC,ASC
    @/@dir/@ASC,ASC,DESC
    sname
    ASC,ASC,DESC
    svalue
    ASC,ASC,DESC
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    ASC,ASC,DESC
    @/@dir/@ASC,DESC,ASC
    sname
    ASC,DESC,ASC
    svalue
    ASC,DESC,ASC
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    ASC,DESC,ASC
    @/@dir/@ASC,DESC,DESC
    sname
    ASC,DESC,DESC
    svalue
    ASC,DESC,DESC
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    ASC,DESC,DESC
    @/@dir/@DESC,ASC,ASC
    sname
    DESC,ASC,ASC
    svalue
    DESC,ASC,ASC
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    DESC,ASC,ASC
    @/@dir/@DESC,ASC,DESC
    sname
    DESC,ASC,DESC
    svalue
    DESC,ASC,DESC
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    DESC,ASC,DESC
    @/@dir/@DESC,DESC,ASC
    sname
    DESC,DESC,ASC
    svalue
    DESC,DESC,ASC
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    DESC,DESC,ASC
    @/@dir/@DESC,DESC,DESC
    sname
    DESC,DESC,DESC
    svalue
    DESC,DESC,DESC
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    DESC,DESC,DESC
  @/@description
  sname
  description
  sinputtype
  html
  sshowLabel
  true
  sreadOnly
  false
  sinheritDescription
  false
  svalidateAllowBlank
  true
  LvalidateOnBlur
  true
  LallowDecimals
  true
  LallowNegative
  true
  snotXmlAttribute
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_registDisabled
  false
  sth_mark
  false
  sid
  description
