Merge pull request #125 from jens1o/patch-1
[GitHub/WoltLab/com.woltlab.wcf.conversation.git] / objectType.xml
index 949f084f6d926b34443d0acba9e7e1374aac93c0..a95701193bcfde8ccf4af61f8e6f061b35ce4845 100644 (file)
@@ -1,16 +1,23 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<data xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/maelstrom/objectType.xsd">
+<data xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/vortex/objectType.xsd">
        <import>
                <type>
                        <name>com.woltlab.wcf.conversation.message</name>
                        <definitionname>com.woltlab.wcf.searchableObjectType</definitionname>
                        <classname>wcf\system\search\ConversationMessageSearch</classname>
+                       <searchindex>wcf1_conversation_message_search_index</searchindex>
                </type>
                
                <type>
                        <name>com.woltlab.wcf.conversation.message</name>
                        <definitionname>com.woltlab.wcf.attachment.objectType</definitionname>
                        <classname>wcf\system\attachment\ConversationMessageAttachmentObjectType</classname>
+                       <private>1</private>
+               </type>
+               
+               <type>
+                       <name>com.woltlab.wcf.conversation.message</name>
+                       <definitionname>com.woltlab.wcf.message</definitionname>
                </type>
                
                <type>
                        <classname>wcf\system\moderation\queue\report\ConversationMessageModerationQueueReportHandler</classname>
                </type>
                
-               <!-- user online locations -->
+               <!-- Modification Log -->
                <type>
-                       <name>com.woltlab.wcf.conversation.ConversationListPage</name>
-                       <definitionname>com.woltlab.wcf.user.online.location</definitionname>
-                       <controller>wcf\page\ConversationListPage</controller>
-                       <languagevariable>wcf.user.usersOnline.location.ConversationListPage</languagevariable>
+                       <name>com.woltlab.wcf.conversation.conversation</name>
+                       <definitionname>com.woltlab.wcf.modifiableContent</definitionname>
                </type>
+               <!-- /Modification Log -->
+               
+               <!-- importers -->
                <type>
-                       <name>com.woltlab.wcf.conversation.ConversationAddForm</name>
-                       <definitionname>com.woltlab.wcf.user.online.location</definitionname>
-                       <controller>wcf\form\ConversationAddForm</controller>
-                       <languagevariable>wcf.user.usersOnline.location.ConversationAddForm</languagevariable>
+                       <name>com.woltlab.wcf.conversation</name>
+                       <definitionname>com.woltlab.wcf.importer</definitionname>
+                       <classname>wcf\system\importer\ConversationImporter</classname>
                </type>
                <type>
-                       <name>com.woltlab.wcf.conversation.ConversationPage</name>
-                       <definitionname>com.woltlab.wcf.user.online.location</definitionname>
-                       <classname>wcf\system\user\online\location\ConversationLocation</classname>
-                       <controller>wcf\page\ConversationPage</controller>
-                       <languagevariable>wcf.user.usersOnline.location.ConversationPage</languagevariable>
+                       <name>com.woltlab.wcf.conversation.label</name>
+                       <definitionname>com.woltlab.wcf.importer</definitionname>
+                       <classname>wcf\system\importer\ConversationLabelImporter</classname>
                </type>
                <type>
-                       <name>com.woltlab.wcf.conversation.ConversationMessageAddForm</name>
-                       <definitionname>com.woltlab.wcf.user.online.location</definitionname>
-                       <classname>wcf\system\user\online\location\ConversationLocation</classname>
-                       <controller>wcf\form\ConversationMessageAddForm</controller>
-                       <languagevariable>wcf.user.usersOnline.location.ConversationMessageAddForm</languagevariable>
+                       <name>com.woltlab.wcf.conversation.message</name>
+                       <definitionname>com.woltlab.wcf.importer</definitionname>
+                       <classname>wcf\system\importer\ConversationMessageImporter</classname>
+               </type>
+               <type>
+                       <name>com.woltlab.wcf.conversation.user</name>
+                       <definitionname>com.woltlab.wcf.importer</definitionname>
+                       <classname>wcf\system\importer\ConversationUserImporter</classname>
                </type>
                <type>
-                       <name>com.woltlab.wcf.conversation.ConversationMessageEditForm</name>
-                       <definitionname>com.woltlab.wcf.user.online.location</definitionname>
-                       <classname>wcf\system\user\online\location\ConversationLocation</classname>
-                       <controller>wcf\form\ConversationMessageEditForm</controller>
-                       <languagevariable>wcf.user.usersOnline.location.ConversationMessageEditForm</languagevariable>
+                       <name>com.woltlab.wcf.conversation.attachment</name>
+                       <definitionname>com.woltlab.wcf.importer</definitionname>
+                       <classname>wcf\system\importer\ConversationAttachmentImporter</classname>
+               </type>
+               <!-- /importers -->
+               
+               <!-- rebuild data workers -->
+               <type>
+                       <name>com.woltlab.wcf.conversation</name>
+                       <definitionname>com.woltlab.wcf.rebuildData</definitionname>
+                       <classname>wcf\system\worker\ConversationRebuildDataWorker</classname>
+               </type>
+               <type>
+                       <name>com.woltlab.wcf.conversation.message</name>
+                       <definitionname>com.woltlab.wcf.rebuildData</definitionname>
+                       <classname>wcf\system\worker\ConversationMessageRebuildDataWorker</classname>
+                       <nicevalue>-5</nicevalue>
+               </type>
+               <!-- /rebuild data workers -->
+               
+               <!-- stat handlers -->
+               <type>
+                       <name>com.woltlab.wcf.conversation</name>
+                       <definitionname>com.woltlab.wcf.statDailyHandler</definitionname>
+                       <classname>wcf\system\stat\ConversationStatDailyHandler</classname>
+                       <categoryname>com.woltlab.wcf.conversation</categoryname>
+               </type>
+               <type>
+                       <name>com.woltlab.wcf.conversation.message</name>
+                       <definitionname>com.woltlab.wcf.statDailyHandler</definitionname>
+                       <classname>wcf\system\stat\ConversationMessageStatDailyHandler</classname>
+                       <categoryname>com.woltlab.wcf.conversation</categoryname>
                </type>
-               <!-- /user online locations -->
+               <!-- /stat handlers -->
        </import>
-</data>
\ No newline at end of file
+</data>