public class CommentItMonitorUtil extends AbstractObjectInteractionMonitorUtil
Modifier and Type | Field and Description |
---|---|
static String |
ADD_COMMENT_INTERACTION_TYPE |
static String |
EVENT_COMMENT |
static String |
STRING_RESOURCE_PATH |
pageWebResource, request, serviceInstanceId, targetObjectId, targetObjectName, targetObjectServiceInstance, transaction, webResource
Constructor and Description |
---|
CommentItMonitorUtil(boolean isAdd,
HttpServletRequest request,
String targetObjectName,
String targetObjectId,
String targetObjectServiceInstance,
String serviceInstanceId,
ITransaction transaction)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
static void |
collectAddComment(HttpServletRequest request,
Comment comment,
ITransaction transaction)
Collects the add comment event.
|
static void |
collectRemoveComment(HttpServletRequest request,
Comment comment,
ITransaction transaction)
Collects the remove comment event.
|
protected String |
getActionId()
Returns the action identifier.
|
protected String |
getActionName()
Returns the action name.
|
protected int |
getCount()
Returns the count value.
|
protected String |
getCountFieldId()
Returns the count field identifier.
|
protected String |
getEventId()
Returns the event identifier.
|
protected String |
getInteractionName()
Returns the interaction name.
|
protected String |
getInteractionType()
Returns the interaction type.
|
protected String |
getStringResourcePath()
Returns the interaction string resource path.
|
addMonitorValues, collect, getMonitor
public static final String EVENT_COMMENT
public static final String STRING_RESOURCE_PATH
public static final String ADD_COMMENT_INTERACTION_TYPE
public CommentItMonitorUtil(boolean isAdd, HttpServletRequest request, String targetObjectName, String targetObjectId, String targetObjectServiceInstance, String serviceInstanceId, ITransaction transaction) throws PortalException
isAdd
- indicates whether it is an add comment event.request
- the request.targetObjectName
- the target object name.targetObjectId
- the target object identifier.targetObjectServiceInstance
- the target object service instance identifier.serviceInstanceId
- the service identifier.transaction
- the transaction.PortalException
protected String getEventId()
AbstractObjectInteractionMonitorUtil
getEventId
in class AbstractObjectInteractionMonitorUtil
protected String getInteractionName()
AbstractObjectInteractionMonitorUtil
getInteractionName
in class AbstractObjectInteractionMonitorUtil
protected String getInteractionType()
AbstractObjectInteractionMonitorUtil
getInteractionType
in class AbstractObjectInteractionMonitorUtil
protected String getStringResourcePath()
AbstractObjectInteractionMonitorUtil
getStringResourcePath
in class AbstractObjectInteractionMonitorUtil
protected String getActionName()
AbstractObjectInteractionMonitorUtil
getActionName
in class AbstractObjectInteractionMonitorUtil
protected int getCount()
AbstractObjectInteractionMonitorUtil
getCount
in class AbstractObjectInteractionMonitorUtil
protected String getCountFieldId()
AbstractObjectInteractionMonitorUtil
getCountFieldId
in class AbstractObjectInteractionMonitorUtil
public static void collectAddComment(HttpServletRequest request, Comment comment, ITransaction transaction) throws PortalException
webResource
- the web resource.comment
- the comment.transaction
- the transaction.PortalException
public static void collectRemoveComment(HttpServletRequest request, Comment comment, ITransaction transaction) throws PortalException
webResource
- the web resource.comment
- the comment.transaction
- the transaction.PortalException
protected String getActionId()
AbstractObjectInteractionMonitorUtil
getActionId
in class AbstractObjectInteractionMonitorUtil
LumisXP 12.0.0.190809 - Copyright © 2006–2019 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.