mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
Update application events definition
This commit is contained in:
@@ -472,8 +472,8 @@
|
|||||||
</methods>
|
</methods>
|
||||||
</class>
|
</class>
|
||||||
</classes>
|
</classes>
|
||||||
<events _delta="define_if_not_exists">
|
<events>
|
||||||
<event id="AfterDisplayPage">
|
<event id="AfterDisplayPage" _delta="define">
|
||||||
<description>The current page is completely displayed</description>
|
<description>The current page is completely displayed</description>
|
||||||
<available_filters>Class hierarchy of the displayed page</available_filters>
|
<available_filters>Class hierarchy of the displayed page</available_filters>
|
||||||
<arguments>
|
<arguments>
|
||||||
@@ -487,7 +487,7 @@
|
|||||||
</argument>
|
</argument>
|
||||||
</arguments>
|
</arguments>
|
||||||
</event>
|
</event>
|
||||||
<event id="OnLogin">
|
<event id="OnLogin" _delta="define">
|
||||||
<description>Inform the listeners about the connection states</description>
|
<description>Inform the listeners about the connection states</description>
|
||||||
<available_filters/>
|
<available_filters/>
|
||||||
<arguments>
|
<arguments>
|
||||||
|
|||||||
@@ -269,22 +269,8 @@
|
|||||||
</fields>
|
</fields>
|
||||||
</class>
|
</class>
|
||||||
</classes>
|
</classes>
|
||||||
<events _delta="define_if_not_exists">
|
<events>
|
||||||
<event id="DisplayObjectDetails">
|
<event id="BeforeInsert" _delta="define">
|
||||||
<description>An object details is about to be displayed to a user</description>
|
|
||||||
<available_filters>Class hierarchy of the displayed object</available_filters>
|
|
||||||
<arguments>
|
|
||||||
<argument id="object">
|
|
||||||
<description>The object displayed</description>
|
|
||||||
<type>DBObject</type>
|
|
||||||
</argument>
|
|
||||||
<argument id="debug_info">
|
|
||||||
<description>Debug string</description>
|
|
||||||
<type>string</type>
|
|
||||||
</argument>
|
|
||||||
</arguments>
|
|
||||||
</event>
|
|
||||||
<event id="BeforeInsert">
|
|
||||||
<description>An object is about to be inserted in the database</description>
|
<description>An object is about to be inserted in the database</description>
|
||||||
<replaces>DBObject::OnInsert</replaces>
|
<replaces>DBObject::OnInsert</replaces>
|
||||||
<arguments>
|
<arguments>
|
||||||
@@ -298,7 +284,7 @@
|
|||||||
</argument>
|
</argument>
|
||||||
</arguments>
|
</arguments>
|
||||||
</event>
|
</event>
|
||||||
<event id="DBObjectKeyReady">
|
<event id="DBObjectKeyReady" _delta="define">
|
||||||
<description>A key (id) has been generated for an object inserted into the database (use GetKey() to read the new key)</description>
|
<description>A key (id) has been generated for an object inserted into the database (use GetKey() to read the new key)</description>
|
||||||
<replaces>DBObject::OnObjectKeyReady</replaces>
|
<replaces>DBObject::OnObjectKeyReady</replaces>
|
||||||
<arguments>
|
<arguments>
|
||||||
@@ -312,7 +298,7 @@
|
|||||||
</argument>
|
</argument>
|
||||||
</arguments>
|
</arguments>
|
||||||
</event>
|
</event>
|
||||||
<event id="AfterInsert">
|
<event id="AfterInsert" _delta="define">
|
||||||
<description>An object has been inserted into the database</description>
|
<description>An object has been inserted into the database</description>
|
||||||
<replaces>DBObject::AfterInsert</replaces>
|
<replaces>DBObject::AfterInsert</replaces>
|
||||||
<arguments>
|
<arguments>
|
||||||
@@ -326,7 +312,7 @@
|
|||||||
</argument>
|
</argument>
|
||||||
</arguments>
|
</arguments>
|
||||||
</event>
|
</event>
|
||||||
<event id="BeforeUpdate">
|
<event id="BeforeUpdate" _delta="define">
|
||||||
<description>An object is about to be updated in the database</description>
|
<description>An object is about to be updated in the database</description>
|
||||||
<replaces>DBObject::OnUpdate</replaces>
|
<replaces>DBObject::OnUpdate</replaces>
|
||||||
<arguments>
|
<arguments>
|
||||||
@@ -340,7 +326,7 @@
|
|||||||
</argument>
|
</argument>
|
||||||
</arguments>
|
</arguments>
|
||||||
</event>
|
</event>
|
||||||
<event id="AfterUpdate">
|
<event id="AfterUpdate" _delta="define">
|
||||||
<description>An object has been updated into the database</description>
|
<description>An object has been updated into the database</description>
|
||||||
<replaces>DBObject::AfterUpdate</replaces>
|
<replaces>DBObject::AfterUpdate</replaces>
|
||||||
<arguments>
|
<arguments>
|
||||||
@@ -354,7 +340,7 @@
|
|||||||
</argument>
|
</argument>
|
||||||
</arguments>
|
</arguments>
|
||||||
</event>
|
</event>
|
||||||
<event id="BeforeDelete">
|
<event id="BeforeDelete" _delta="define">
|
||||||
<description>An object is about to be deleted in the database</description>
|
<description>An object is about to be deleted in the database</description>
|
||||||
<replaces>DBObject::OnDelete</replaces>
|
<replaces>DBObject::OnDelete</replaces>
|
||||||
<arguments>
|
<arguments>
|
||||||
@@ -368,7 +354,7 @@
|
|||||||
</argument>
|
</argument>
|
||||||
</arguments>
|
</arguments>
|
||||||
</event>
|
</event>
|
||||||
<event id="AfterDelete">
|
<event id="AfterDelete" _delta="define">
|
||||||
<description>An object has been deleted into the database</description>
|
<description>An object has been deleted into the database</description>
|
||||||
<replaces>DBObject::AfterDelete</replaces>
|
<replaces>DBObject::AfterDelete</replaces>
|
||||||
<arguments>
|
<arguments>
|
||||||
@@ -382,7 +368,7 @@
|
|||||||
</argument>
|
</argument>
|
||||||
</arguments>
|
</arguments>
|
||||||
</event>
|
</event>
|
||||||
<event id="BeforeApplyStimulus">
|
<event id="BeforeApplyStimulus" _delta="define">
|
||||||
<description>A stimulus is about to be applied to an object</description>
|
<description>A stimulus is about to be applied to an object</description>
|
||||||
<arguments>
|
<arguments>
|
||||||
<argument id="object">
|
<argument id="object">
|
||||||
@@ -395,7 +381,7 @@
|
|||||||
</argument>
|
</argument>
|
||||||
</arguments>
|
</arguments>
|
||||||
</event>
|
</event>
|
||||||
<event id="AfterApplyStimulus">
|
<event id="AfterApplyStimulus" _delta="define">
|
||||||
<description>A stimulus has been applied to an object</description>
|
<description>A stimulus has been applied to an object</description>
|
||||||
<arguments>
|
<arguments>
|
||||||
<argument id="object">
|
<argument id="object">
|
||||||
@@ -408,7 +394,7 @@
|
|||||||
</argument>
|
</argument>
|
||||||
</arguments>
|
</arguments>
|
||||||
</event>
|
</event>
|
||||||
<event id="DBObjectLoaded">
|
<event id="DBObjectLoaded" _delta="define">
|
||||||
<description>An object has been loaded from the database</description>
|
<description>An object has been loaded from the database</description>
|
||||||
<arguments>
|
<arguments>
|
||||||
<argument id="object">
|
<argument id="object">
|
||||||
@@ -421,7 +407,7 @@
|
|||||||
</argument>
|
</argument>
|
||||||
</arguments>
|
</arguments>
|
||||||
</event>
|
</event>
|
||||||
<event id="DBObjectNew">
|
<event id="DBObjectNew" _delta="define">
|
||||||
<description>An object has been created in memory</description>
|
<description>An object has been created in memory</description>
|
||||||
<arguments>
|
<arguments>
|
||||||
<argument id="object">
|
<argument id="object">
|
||||||
@@ -434,7 +420,7 @@
|
|||||||
</argument>
|
</argument>
|
||||||
</arguments>
|
</arguments>
|
||||||
</event>
|
</event>
|
||||||
<event id="DBObjectReload">
|
<event id="DBObjectReload" _delta="define">
|
||||||
<description>An object has been re-loaded from the database</description>
|
<description>An object has been re-loaded from the database</description>
|
||||||
<arguments>
|
<arguments>
|
||||||
<argument id="object">
|
<argument id="object">
|
||||||
@@ -447,7 +433,7 @@
|
|||||||
</argument>
|
</argument>
|
||||||
</arguments>
|
</arguments>
|
||||||
</event>
|
</event>
|
||||||
<event id="OnCheckToWrite">
|
<event id="OnCheckToWrite" _delta="define">
|
||||||
<description>Check an object before it is written into the database</description>
|
<description>Check an object before it is written into the database</description>
|
||||||
<replaces>cmdbAbstractObject::DoCheckToWrite</replaces>
|
<replaces>cmdbAbstractObject::DoCheckToWrite</replaces>
|
||||||
<arguments>
|
<arguments>
|
||||||
@@ -465,7 +451,7 @@
|
|||||||
</argument>
|
</argument>
|
||||||
</arguments>
|
</arguments>
|
||||||
</event>
|
</event>
|
||||||
<event id="DoCheckToDelete">
|
<event id="DoCheckToDelete" _delta="define">
|
||||||
<description>Check an object before it is deleted from the database</description>
|
<description>Check an object before it is deleted from the database</description>
|
||||||
<replaces>cmdbAbstractObject::DoCheckToDelete</replaces>
|
<replaces>cmdbAbstractObject::DoCheckToDelete</replaces>
|
||||||
<arguments>
|
<arguments>
|
||||||
@@ -483,7 +469,7 @@
|
|||||||
</argument>
|
</argument>
|
||||||
</arguments>
|
</arguments>
|
||||||
</event>
|
</event>
|
||||||
<event id="DownloadDocument">
|
<event id="DownloadDocument" _delta="define">
|
||||||
<description>A document has been downloaded from the GUI</description>
|
<description>A document has been downloaded from the GUI</description>
|
||||||
<arguments>
|
<arguments>
|
||||||
<argument id="object">
|
<argument id="object">
|
||||||
|
|||||||
@@ -0,0 +1,21 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<itop_design xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="3.1">
|
||||||
|
<meta>
|
||||||
|
<events>
|
||||||
|
<event id="DisplayObjectDetails" _delta="define">
|
||||||
|
<description>An object details is about to be displayed to a user</description>
|
||||||
|
<available_filters>Class hierarchy of the displayed object</available_filters>
|
||||||
|
<arguments>
|
||||||
|
<argument id="object">
|
||||||
|
<description>The object displayed</description>
|
||||||
|
<type>DBObject</type>
|
||||||
|
</argument>
|
||||||
|
<argument id="debug_info">
|
||||||
|
<description>Debug string</description>
|
||||||
|
<type>string</type>
|
||||||
|
</argument>
|
||||||
|
</arguments>
|
||||||
|
</event>
|
||||||
|
</events>
|
||||||
|
</meta>
|
||||||
|
</itop_design>
|
||||||
Reference in New Issue
Block a user