Package de.businesscode.bcdui.web.wrs
Class WrsAccessLogEvent
- java.lang.Object
-
- de.businesscode.bcdui.logging.LogEventBase
-
- de.businesscode.bcdui.web.wrs.WrsAccessLogEvent
-
- All Implemented Interfaces:
java.io.Serializable
,org.apache.logging.log4j.message.Message
public class WrsAccessLogEvent extends LogEventBase
This bean contains all information about the log-event- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ACCESS_TYPE_CVS
static java.lang.String
ACCESS_TYPE_SYLK
static java.lang.String
ACCESS_TYPE_WRS
static java.lang.String
ACCESS_TYPE_XLS
-
Constructor Summary
Constructors Constructor Description WrsAccessLogEvent(java.lang.String accessType, javax.servlet.http.HttpServletRequest request, IRequestOptions options, ISqlGenerator generator, DataLoader loader, IDataWriter writer)
Create new log-event and fill it with all information from the parameters.WrsAccessLogEvent(java.lang.String accessType, javax.servlet.http.HttpServletRequest request, java.lang.String bindingSetName, org.w3c.dom.Document requestDoc, long executeDuration, long writeDuration, long rsStartTime, long rsEndTime, int rowCount, int columnCount)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getAccessType()
java.lang.String
getBindingSetName()
int
getColumnCount()
long
getExecuteDuration()
java.lang.String
getFormattedMessage()
javax.servlet.http.HttpServletRequest
getRequest()
org.w3c.dom.Document
getRequestDoc()
int
getRowCount()
long
getRsEndTime()
long
getRsStartTime()
int
getValueCount()
long
getWriteDuration()
java.lang.String
toString()
-
Methods inherited from class de.businesscode.bcdui.logging.LogEventBase
getFormat, getParameters, getThrowable
-
-
-
-
Field Detail
-
ACCESS_TYPE_WRS
public static final java.lang.String ACCESS_TYPE_WRS
- See Also:
- Constant Field Values
-
ACCESS_TYPE_SYLK
public static final java.lang.String ACCESS_TYPE_SYLK
- See Also:
- Constant Field Values
-
ACCESS_TYPE_CVS
public static final java.lang.String ACCESS_TYPE_CVS
- See Also:
- Constant Field Values
-
ACCESS_TYPE_XLS
public static final java.lang.String ACCESS_TYPE_XLS
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
WrsAccessLogEvent
public WrsAccessLogEvent(java.lang.String accessType, javax.servlet.http.HttpServletRequest request, IRequestOptions options, ISqlGenerator generator, DataLoader loader, IDataWriter writer)
Create new log-event and fill it with all information from the parameters.- Parameters:
accessType
- - one of WRS, SYLK, CVSrequest
-options
-generator
-loader
-writer
-
-
WrsAccessLogEvent
public WrsAccessLogEvent(java.lang.String accessType, javax.servlet.http.HttpServletRequest request, java.lang.String bindingSetName, org.w3c.dom.Document requestDoc, long executeDuration, long writeDuration, long rsStartTime, long rsEndTime, int rowCount, int columnCount)
- Parameters:
accessType
-request
-bindingSetName
-requestDoc
-executeDuration
-writeDuration
-rowCount
-columnCount
-
-
-
Method Detail
-
getAccessType
public java.lang.String getAccessType()
- Returns:
- the accessType
-
getRequest
public javax.servlet.http.HttpServletRequest getRequest()
- Returns:
- the request
-
getBindingSetName
public java.lang.String getBindingSetName()
- Returns:
- the bindingSetName
-
getRequestDoc
public org.w3c.dom.Document getRequestDoc()
- Returns:
- the requestDoc
-
getExecuteDuration
public long getExecuteDuration()
- Returns:
- the executeDuration
-
getWriteDuration
public long getWriteDuration()
- Returns:
- the writeDuration
-
getRsStartTime
public long getRsStartTime()
- Returns:
- the rsStartTime
-
getRsEndTime
public long getRsEndTime()
- Returns:
- the rsEndTime
-
getRowCount
public int getRowCount()
- Returns:
- the rowCount
-
getColumnCount
public int getColumnCount()
- Returns:
- the columnCount
-
getValueCount
public int getValueCount()
- Returns:
- the resultSet values count
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
- See Also:
Object.toString()
-
getFormattedMessage
public java.lang.String getFormattedMessage()
-
-