Class RecommendationController

  • All Implemented Interfaces:
    DataController, JcmsConstants, PluginComponent, JaliosConstants, java.lang.Comparable

    public class RecommendationController
    extends BasicDataController
    When a Publication is deleted, recommendations that target this Publication will be deleted.

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

    Since:
    jcms-8.0.0
    Version:
    $Revision: 129513 $
    Author:
    Kevin Bransard, Sylvain Devaux
    • Constructor Detail

      • RecommendationController

        public RecommendationController()
    • Method Detail

      • afterWrite

        public void afterWrite​(Data data,
                               int op,
                               Member mbr,
                               java.util.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)