Class CmsUserTrackingResourceHandler

  • All Implemented Interfaces:
    I_CmsResourceInit

    public class CmsUserTrackingResourceHandler
    extends java.lang.Object
    implements I_CmsResourceInit
    This resource handler checks if a resource has to be marked as visited by the current user. It checks the value of the usertracking.mark property.

    Possible values are:

    • online: The resource is marked only in the online project
    • true: The resource is marked in all projects
    • false: The resource is not marked at all
    Since:
    8.0
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String PROPERTY_USERTRACKING_MARK
      Property that indicates if resources should be tracked, value has to be true, false or online.
      static java.lang.String VALUE_ONLINE
      Constant for the property value online.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      CmsResource initResource​(CmsResource resource, CmsObject cms, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
      Possibility to modify or change the CmsFile with the CmsObject.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait