The AIS trigger component
An AIS trigger is a component that can define a rule or a user-defined action which is executed when a certain AIS event takes place.
WorldServer supports several events that you can use to initiate user-defined processes. These events include the ability to execute user-defined actions before and after certain node-related processes. For example, you can define actions to take place before or after a node has been read from or written to. You can also define actions to take place after a node is created and before it is deleted. For more information, see the Java documentation for the WSAisTrigger class.
| Event | Occurrence |
|---|---|
EVENT_POST_CREATE | After a node or asset is created. |
EVENT_PRE_READ | Before a node or asset is read. |
EVENT_POST_READ | After a node or asset is read. |
EVENT_PRE_WRITE | Before a node or asset is written to. |
EVENT_POST_WRITE | After a node or asset is written to. |
EVENT_PRE_DELETE | Before a node or asset is deleted. |
Java package: com.idiominc.wssdk.component.trigger