Class AlertController

java.lang.Object
com.jalios.jcms.BasicDataController
com.jalios.jcms.alert.AlertController
All Implemented Interfaces:
AlertConstants, DataController, JcmsConstants, PluginComponent, JaliosConstants, Comparable

public class AlertController extends BasicDataController implements AlertConstants
Works on Publication's alerts.

When a Publication is deleted, alerts that target this Publication will be deleted.

When a Publication's workspace is changed, it syncs the workspace of alerts that target this Publication .

Since:
jcms-8.0.1
Author:
bransard, sdevaux
  • Constructor Details

    • AlertController

      public AlertController()
  • Method Details

    • afterWrite

      public void afterWrite(Data data, int op, Member mbr, Map context)
      Description copied from class: BasicDataController
      This method is called once the write operation has been performed.
      Specified by:
      afterWrite in interface DataController
      Overrides:
      afterWrite in class BasicDataController
      Parameters:
      data - the data that was written
      op - the operation (OP_CREATE, OP_UPDATE, ...)
      mbr - the member who requested the write operation
      context - a map which contains context parameters (may be null)