Class AbstractObjectInteractionMonitorUtil
- java.lang.Object
-
- lumis.service.abstractuserinteraction.AbstractObjectInteractionMonitorUtil
-
- Direct Known Subclasses:
CommentItMonitorUtil
,LikeItMonitorUtil
public abstract class AbstractObjectInteractionMonitorUtil extends java.lang.Object
Abstract object interaction monitor util.- Since:
- 9.0.0
- Version:
- $Revision$ $Date$
-
-
Field Summary
Fields Modifier and Type Field Description protected PageWebResource
pageWebResource
protected javax.servlet.http.HttpServletRequest
request
protected java.lang.String
serviceInstanceId
protected java.lang.String
targetObjectId
protected java.lang.String
targetObjectName
protected java.lang.String
targetObjectServiceInstance
protected ITransaction
transaction
protected WebResource
webResource
-
Constructor Summary
Constructors Constructor Description AbstractObjectInteractionMonitorUtil(javax.servlet.http.HttpServletRequest request, java.lang.String targetObjectName, java.lang.String targetObjectId, java.lang.String targetObjectServiceInstance, java.lang.String serviceInstanceId, ITransaction transaction)
Creates a new instance.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected void
addMonitorValues(MonitorHelper monitorHelper)
Adds the monitoring values.void
collect()
Collects the data.protected abstract java.lang.String
getActionId()
Returns the action identifier.protected abstract java.lang.String
getActionName()
Returns the action name.protected int
getCount()
Returns the count value.protected abstract java.lang.String
getCountFieldId()
Returns the count field identifier.protected abstract java.lang.String
getEventId()
Returns the event identifier.protected abstract java.lang.String
getInteractionName()
Returns the interaction name.protected abstract java.lang.String
getInteractionType()
Returns the interaction type.protected IMonitor
getMonitor()
Returns the monitor.protected abstract java.lang.String
getStringResourcePath()
Returns the interaction string resource path.
-
-
-
Field Detail
-
webResource
protected final WebResource webResource
-
request
protected final javax.servlet.http.HttpServletRequest request
-
pageWebResource
protected final PageWebResource pageWebResource
-
targetObjectName
protected final java.lang.String targetObjectName
-
targetObjectId
protected final java.lang.String targetObjectId
-
targetObjectServiceInstance
protected final java.lang.String targetObjectServiceInstance
-
serviceInstanceId
protected final java.lang.String serviceInstanceId
-
transaction
protected final ITransaction transaction
-
-
Constructor Detail
-
AbstractObjectInteractionMonitorUtil
public AbstractObjectInteractionMonitorUtil(javax.servlet.http.HttpServletRequest request, java.lang.String targetObjectName, java.lang.String targetObjectId, java.lang.String targetObjectServiceInstance, java.lang.String serviceInstanceId, ITransaction transaction) throws PortalException
Creates a new instance.- Parameters:
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.- Throws:
PortalException
- Since:
- 9.0.0
-
-
Method Detail
-
getCountFieldId
protected abstract java.lang.String getCountFieldId()
Returns the count field identifier.- Returns:
- the count field identifier.
- Since:
- 11.0.0
-
collect
public void collect() throws PortalException
Collects the data.- Throws:
PortalException
- Since:
- 9.0.0
-
getCount
protected int getCount()
Returns the count value.- Returns:
- the count value.
- Since:
- 9.0.0
-
getMonitor
protected IMonitor getMonitor() throws PortalException
Returns the monitor.- Returns:
- the monitor.
- Throws:
PortalException
- Since:
- 9.0.0
-
addMonitorValues
protected void addMonitorValues(MonitorHelper monitorHelper) throws PortalException
Adds the monitoring values.- Parameters:
context
- the context.- Throws:
PortalException
- Since:
- 9.0.0
-
getEventId
protected abstract java.lang.String getEventId()
Returns the event identifier.- Returns:
- the event identifier.
- Since:
- 9.0.0
-
getInteractionName
protected abstract java.lang.String getInteractionName()
Returns the interaction name.- Returns:
- the interaction name.
- Since:
- 9.0.0
-
getActionName
protected abstract java.lang.String getActionName()
Returns the action name.- Returns:
- the action name.
- Since:
- 9.0.0
-
getActionId
protected abstract java.lang.String getActionId()
Returns the action identifier.- Returns:
- the action identifier.
- Since:
- 10.2.0
-
getInteractionType
protected abstract java.lang.String getInteractionType()
Returns the interaction type.- Returns:
- the interaction type.
- Since:
- 9.0.0
-
getStringResourcePath
protected abstract java.lang.String getStringResourcePath()
Returns the interaction string resource path.- Returns:
- the interaction string resource path.
- Since:
- 9.0.0
-
-