mapping.xml 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. <?xml version="1.0" encoding="GB2312"?>
  2. <mapping>
  3. <description>Auth config mapping</description>
  4. <class name="com.trs.cms.auth.config.RightObjectConfig"
  5. identity="ClassName" auto-complete="true">
  6. <map-to xml="right-object"/>
  7. <field name="name">
  8. <bind-xml name="name" node="attribute"/>
  9. </field>
  10. <field name="ClassName">
  11. <bind-xml name="ClassName" node="attribute"/>
  12. </field>
  13. </class>
  14. <class name="com.trs.cms.auth.config.RightHostConfig" identity="ClassName"
  15. auto-complete="true">
  16. <map-to xml="right-host"/>
  17. <field name="name">
  18. <bind-xml name="name" node="attribute"/>
  19. </field>
  20. <field name="ClassName">
  21. <bind-xml name="ClassName" node="attribute"/>
  22. </field>
  23. </class>
  24. <!--config for operation begin-->
  25. <class name="com.trs.cms.auth.config.OperationConfig" identity="name"
  26. auto-complete="true">
  27. <map-to xml="operation" />
  28. <field name="name">
  29. <bind-xml name="name" node="attribute" />
  30. </field>
  31. <field name="dispName">
  32. <bind-xml name="disp-name" node="element" />
  33. </field>
  34. <field name="type">
  35. <bind-xml name="type" node="element" />
  36. </field>
  37. <field name="desc">
  38. <bind-xml name="desc" node="element" />
  39. </field>
  40. <field name="index" type="integer">
  41. <bind-xml name="index" node="element" />
  42. </field>
  43. <field name="includeOperations"
  44. type="com.trs.cms.auth.config.OperationRelatedConfig">
  45. <bind-xml name="reverse-cancel" />
  46. </field>
  47. <field name="depends" type="com.trs.cms.auth.config.OperationRelatedConfig">
  48. <bind-xml name="depends" />
  49. </field>
  50. </class>
  51. <class name="com.trs.cms.auth.config.OperationRelatedConfig" identity="operation"
  52. auto-complete="true">
  53. <map-to xml="depends" />
  54. <field name="operations" collection="collection"
  55. type="com.trs.cms.auth.config.OperationConfig">
  56. <bind-xml name="operation-name" node="element" reference="true"/>
  57. </field>
  58. </class>
  59. <class name="com.trs.cms.auth.config.OperationDefineOnCurrChannelConfig" identity="name"
  60. auto-complete="true">
  61. <map-to xml="operations-define-on-current-channel" />
  62. <field name="SiteId" type="integer">
  63. <bind-xml name="siteid" node="attribute" />
  64. </field>
  65. <field name="operations" collection="collection"
  66. type="com.trs.cms.auth.config.OperationConfig">
  67. <bind-xml name="operation-name" node="element" reference="true"/>
  68. </field>
  69. </class>
  70. <!--config for operation end-->
  71. </mapping>