Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
devel:documentation:architecture:dev:events [2019/09/05 09:10]
kolycheva
devel:documentation:architecture:dev:events [2020/08/13 08:07]
tomiskar [AbstractInitApplicationProcessor]
Line 109: Line 109:
       * supports base event types ''CREATE'', ''UPDATE'', ''DELETE''        * supports base event types ''CREATE'', ''UPDATE'', ''DELETE'' 
     * ''IdmLongRunningTaskDto'' - long running task     * ''IdmLongRunningTaskDto'' - long running task
 +      * supports base event types ''CREATE'', ''UPDATE'', ''DELETE''
       * adds event type ''END'' - long running task ended.       * adds event type ''END'' - long running task ended.
     * ''IdmEntityEventDto'' - persisted event     * ''IdmEntityEventDto'' - persisted event
Line 121: Line 122:
     * ''IdmCodeListItemDto'' - code list items     * ''IdmCodeListItemDto'' - code list items
       * supports base event types ''CREATE'', ''UPDATE'', ''DELETE''       * supports base event types ''CREATE'', ''UPDATE'', ''DELETE''
 +    * ''IdmNotificationTemplateDto'' - notification templates
 +      * supports base event types ''CREATE'', ''UPDATE'', ''DELETE''
 +    * ''IdmIdentityProjectionDto'' - identity form projections
 +      * supports base event types ''CREATE'', ''UPDATE''
 +    * ''ModuleDescriptorDto'' - application modules
 +      * supports base event types ''INIT'', ''ENABLE'', ''DISABLE''
   * ''acc'':   * ''acc'':
     * ''AccAccountDto'' - Accounts on target system     * ''AccAccountDto'' - Accounts on target system
Line 156: Line 163:
  
  
-The default order for listeners (''-'' => before, ''+'' => after)+The [[#predefined_processors_order|default order]] for listeners (''-'' => before, ''+'' => after).
-  * ''core'': **0** +
-  * ''provisioning'': **1000** +
-  * ''delete / archivate processed'': **5000**+
  
 ===== Basic interfaces ===== ===== Basic interfaces =====
Line 202: Line 206:
  
  * ''getPriority(event)'' - Registered async processor can vote about priority of processing for given event. Returns ''null'' by default => processor doesn't vote about priority - preserve original event priority. Use ''IMMEDIATE'' to execute whole event synchronously. All registered processors votes about event priority - whole event will be processed with the highest priority.  * ''getPriority(event)'' - Registered async processor can vote about priority of processing for given event. Returns ''null'' by default => processor doesn't vote about priority - preserve original event priority. Use ''IMMEDIATE'' to execute whole event synchronously. All registered processors votes about event priority - whole event will be processed with the highest priority.
 +
 +==== AbstractInitApplicationProcessor====
 +
 +Use this super class for providing application and module [[.events:init-data|init data]].
 +
 +
  
 ===== Transactions ===== ===== Transactions =====
Line 336: Line 346:
 ===== Implemented processors ===== ===== Implemented processors =====
  
-Basic save and delete processors are not listed.+**Basic processors for simple operations (e.g. savedeleteare not listed.** All registered processors can be listed in agenda (Settings - Modules - Processors). 
 + 
 ==== Automatic roles processors ==== ==== Automatic roles processors ====
 <code properties> <code properties>
Line 749: Line 761:
 } }
 </code> </code>
- 
-====== Filters - agend for filter bulders ====== 
-{{tag> filters agend}} 
- 
-This agend is for review registered filter entities.  
- 
-  * ''ID'' - ID entity 
-  * ''Module'' - the module in which the entity is located 
-  * ''Name'' - entity name 
-  * ''Description'' - entity description 
-  * ''Entity type'' - entity class 
- 
  
  
  • by tomiskar