Class ContentController

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

    public class ContentController
    extends BasicDataController
    Works on Content instances, for "Profiling" purpose.

    When a content is updated or created with at least one "profiling" category, it must have a minimum of one category per profiling axis.

    Since:
    jcms-10.0.8
    Author:
    hbenchikh
    • Constructor Detail

      • ContentController

        public ContentController()
    • Method Detail

      • checkWrite

        public ControllerStatus checkWrite​(Data data,
                                           int op,
                                           Member mbr,
                                           boolean checkIntegrity,
                                           java.util.Map context)
        Description copied from class: BasicDataController
        Checks if the given write operation can be performed
        Specified by:
        checkWrite in interface DataController
        Overrides:
        checkWrite in class BasicDataController
        Parameters:
        data - the data involved by this operation
        op - the operation (OP_CREATE, OP_UPDATE, ...)
        mbr - the member which requests the write operation
        checkIntegrity - if true, requires the constraints integrity to be checked
        context - a map which contains context parameters (may be null)
        Returns:
        a ControllerStatus