Package lumis.content.service
Class ContentServiceMonitorUtil
- java.lang.Object
-
- lumis.content.service.ContentServiceMonitorUtil
-
public class ContentServiceMonitorUtil extends java.lang.Object
Contains content service monitoring constants and utility methods.- Since:
- 4.1.0
- Version:
- $Revision: 25755 $ $Date: 2023-06-16 14:27:52 -0300 (Fri, 16 Jun 2023) $
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
EVENT_CONTENT_ADDED
static java.lang.String
EVENT_CONTENT_VIEW
Key for content view event.static java.lang.String
STRING_RESOURCE_PATH
The string resource path using for localizing content monitoring strings.
-
Constructor Summary
Constructors Constructor Description ContentServiceMonitorUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
collectContentAdd(ContentVersion version)
Collects a content added event for the given content.static void
collectContentView(PageWebResource pageWebResource, java.lang.String lumItemId, long duration)
static void
populateContentObjectValuesProvider(ContentVersion contentVersion, MonitorHelper monitorHelper)
Populates the given monitor helper with content object fields based on the given content version.
-
-
-
Field Detail
-
STRING_RESOURCE_PATH
public static final java.lang.String STRING_RESOURCE_PATH
The string resource path using for localizing content monitoring strings.- Since:
- 4.1.0
- See Also:
- Constant Field Values
-
EVENT_CONTENT_VIEW
public static final java.lang.String EVENT_CONTENT_VIEW
Key for content view event.- Since:
- 4.1.0
- See Also:
- Constant Field Values
-
EVENT_CONTENT_ADDED
public static final java.lang.String EVENT_CONTENT_ADDED
- See Also:
- Constant Field Values
-
-
Method Detail
-
collectContentView
public static void collectContentView(PageWebResource pageWebResource, java.lang.String lumItemId, long duration) throws PortalException
- Throws:
PortalException
-
collectContentAdd
public static void collectContentAdd(ContentVersion version)
Collects a content added event for the given content.- Parameters:
version
- the content version.- Since:
- 12.0.0
-
populateContentObjectValuesProvider
public static void populateContentObjectValuesProvider(ContentVersion contentVersion, MonitorHelper monitorHelper) throws PortalException
Populates the given monitor helper with content object fields based on the given content version.- Parameters:
contentVersion
- the content version.monitorHelper
- the monitor helper.- Throws:
PortalException
- Since:
- 11.0.0
-
-