public abstract class AbstractObjectInteractionMonitorUtil extends Object
Modifier and Type | Field and Description |
---|---|
protected PageWebResource |
pageWebResource |
protected HttpServletRequest |
request |
protected String |
serviceInstanceId |
protected String |
targetObjectId |
protected String |
targetObjectName |
protected String |
targetObjectServiceInstance |
protected ITransaction |
transaction |
protected WebResource |
webResource |
Constructor and Description |
---|
AbstractObjectInteractionMonitorUtil(HttpServletRequest request,
String targetObjectName,
String targetObjectId,
String targetObjectServiceInstance,
String serviceInstanceId,
ITransaction transaction)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
protected void |
addMonitorValues(MonitorHelper monitorHelper)
Adds the monitoring values.
|
void |
collect()
Collects the data.
|
protected abstract String |
getActionId()
Returns the action identifier.
|
protected abstract String |
getActionName()
Returns the action name.
|
protected int |
getCount()
Returns the count value.
|
protected abstract String |
getCountFieldId()
Returns the count field identifier.
|
protected abstract String |
getEventId()
Returns the event identifier.
|
protected abstract String |
getInteractionName()
Returns the interaction name.
|
protected abstract String |
getInteractionType()
Returns the interaction type.
|
protected IMonitor |
getMonitor()
Returns the monitor.
|
protected abstract String |
getStringResourcePath()
Returns the interaction string resource path.
|
protected final WebResource webResource
protected final HttpServletRequest request
protected final PageWebResource pageWebResource
protected final String targetObjectName
protected final String targetObjectId
protected final String targetObjectServiceInstance
protected final String serviceInstanceId
protected final ITransaction transaction
public AbstractObjectInteractionMonitorUtil(HttpServletRequest request, String targetObjectName, String targetObjectId, String targetObjectServiceInstance, String serviceInstanceId, ITransaction transaction) throws PortalException
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 abstract String getCountFieldId()
public void collect() throws PortalException
PortalException
protected int getCount()
protected IMonitor getMonitor() throws PortalException
PortalException
protected void addMonitorValues(MonitorHelper monitorHelper) throws PortalException
context
- the context.PortalException
protected abstract String getEventId()
protected abstract String getInteractionName()
protected abstract String getActionName()
protected abstract String getActionId()
protected abstract String getInteractionType()
protected abstract String getStringResourcePath()
LumisXP 12.4.0.200625 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.