Package lumis.content.service
Class ContentServiceMonitorUtil
- java.lang.Object
-
- lumis.content.service.ContentServiceMonitorUtil
-
public class ContentServiceMonitorUtil extends Object
Contains content service monitoring constants and utility methods.- Since:
- 4.1.0
- Version:
- $Revision: 24257 $ $Date: 2020-11-30 15:44:07 -0300 (Mon, 30 Nov 2020) $
-
-
Field Summary
Fields Modifier and Type Field Description static String
EVENT_CONTENT_ADDED
static String
EVENT_CONTENT_VIEW
Key for content view event.static 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, 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 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 String EVENT_CONTENT_VIEW
Key for content view event.- Since:
- 4.1.0
- See Also:
- Constant Field Values
-
EVENT_CONTENT_ADDED
public static final String EVENT_CONTENT_ADDED
- See Also:
- Constant Field Values
-
-
Method Detail
-
collectContentView
public static void collectContentView(PageWebResource pageWebResource, 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
-
-