This document is intended for LexEVS developers, explaining how to use the CTS2 Notification API.
The Notification API is accessed via the interface: org.lexevs.cts2.admin.NotificationAdminOperation JavaDoc
Listening For Events
A class implementing the interface org.lexevs.dao.database.service.event.DatabaseServiceEventListener may be used to listen for various content-related events.
A default listener is provided in the class org.lexevs.dao.database.service.listener.DefaultServiceEventListener. The listener methods of this class are intended to be overridden by subclasses, enabling the subclass to choose which events to process.
Various usecases exist for using Notifications, including:
- Email notices
- Custom security implementations
- Additional change logs or auditing
LexEVS does not supply any of the above Notification implementations, it merely supplies the API to register/unregister the listeners, and the event API itself.
- Email when a CodingScheme is updated.
Sends an email to a defined user when any CodingScheme is updated in the system.