Wiki source code of XWiki Classes (xwikiclasses)

Version 5.1 by Manuel Smeria on 2013/02/22

Show last authors
1 {{html clean="false" wiki="true"}}
2
3 <style>
4 td, th {border-bottom:1px solid #666}
5 table.dbtable{border:1px solid #666;border-bottom:0px}
6 th {background-color:#EFEFEF}
7 .db0{width:1%;border-right:1px solid #666;}
8 .db1{width:25%;border-right:1px solid #666}
9 .db2{width:10%;border-right:1px solid #666}
10 .db3{width:7%;border-right:1px solid #666}
11 .db4{width:7%;border-right:1px solid #666}
12 .db5{width:10%;border-right:1px solid #666}
13 .db6{width:20%;border-right:1px solid #666}
14 .db7{width:20%}
15 .dbhead{background-color:#CCC;font-weight:bold}
16 </style>
17
18 == XWiki Classes (xwikiclasses) ==
19
20 {{warning}} In XWiki 2.0.3, this table is not populated. The XWiki engine retieves the class of an object using xwikiobjects.XWO_CLASSNAME in table xwikiobjects instead. It accesses the document where xwikidoc.XWD_FULLNAME matches xwikiobjects.XWO_CLASSNAME, and then reads the XML description of the class from xwikidoc.XWD_CLASS_XML.
21 <p/>
22 The table xwikiobjects is still populated, of course.{{/warning}}
23 <p/>
24 This table contains the declaration of XWiki classes.
25 <p/>
26 <table border="0" width="100%" class="dbtable" cellpadding="3"
27 cellspacing="0">
28 <tr>
29 <td colspan="8" class="dbhead">xwikiclasses</td>
30 </tr>
31 <tr>
32 <th class="db0">&nbsp;</th>
33 <th class="db1">Column Name</th>
34 <th class="db2">Datatype</th>
35 <th class="db3">Not null</th>
36 <th class="db4">auto inc</th>
37 <th class="db5">flags</th>
38 <th class="db6">Default Value</th>
39 <th class="db7">Comments</th>
40 </tr>
41 <tr>
42 <td class="db0">[[image:DevGuide.DatabaseSchema@db_key.gif||height="16" width="16"]]</td>
43 <td class="db1">XWO_ID</td>
44 <td class="db2">INTEGER</td>
45 <td class="db3">[[image:DevGuide.DatabaseSchema@db_check.gif||height="16" width="16"]]</td>
46 <td class="db4">&nbsp;</td>
47 <td class="db5">&nbsp;</td>
48 <td class="db6">0</td>
49 <td class="db7">Points to xwikidoc table</td>
50 </tr>
51 <tr>
52 <td class="db0">[[image:DevGuide.DatabaseSchema@db_field.gif||height="16" width="16"]]</td>
53 <td class="db1">XWO_NAME</td>
54 <td class="db2">VARCHAR(255)</td>
55 <td class="db3">[[image:DevGuide.DatabaseSchema@db_check.gif||height="16" width="16"]]</td>
56 <td class="db4">&nbsp;</td>
57 <td class="db5">&nbsp;</td>
58 <td class="db6">&nbsp;</td>
59 <td class="db7">&nbsp;</td>
60 </tr>
61 <tr>
62 <td class="db0">[[image:DevGuide.DatabaseSchema@db_field.gif||height="16" width="16"]]</td>
63 <td class="db1">XWO_CUSTOM_MAPPING</td>
64 <td class="db2">TEXT</td>
65 <td class="db3">&nbsp;</td>
66 <td class="db4">&nbsp;</td>
67 <td class="db5">&nbsp;</td>
68 <td class="db6">null</td>
69 <td class="db7">&nbsp;</td>
70 </tr>
71 <tr>
72 <td class="db0">[[image:DevGuide.DatabaseSchema@db_field.gif||height="16" width="16"]]</td>
73 <td class="db1">XWO_CUSTOM_CLASS</td>
74 <td class="db2">VARCHAR(255)</td>
75 <td class="db3">&nbsp;</td>
76 <td class="db4">&nbsp;</td>
77 <td class="db5">&nbsp;</td>
78 <td class="db6">null</td>
79 <td class="db7">&nbsp;</td>
80 </tr>
81 <tr>
82 <td class="db0">[[image:DevGuide.DatabaseSchema@db_field.gif||height="16" width="16"]]</td>
83 <td class="db1">XWO_VALIDATION_SCRIPT</td>
84 <td class="db2">VARCHAR(255)</td>
85 <td class="db3">&nbsp;</td>
86 <td class="db4">&nbsp;</td>
87 <td class="db5">&nbsp;</td>
88 <td class="db6">null</td>
89 <td class="db7">&nbsp;</td>
90 </tr>
91 &nbsp;
92 </table>
93 {{/html}}

Get Connected