Class RequestLogBean
java.lang.Object
com.softslate.commerce.businessobjects.core.BaseBusinessObject
com.softslate.commerce.businessobjects.core.BaseBusinessProcessor
com.softslate.commerce.businessobjects.core.RequestLogBean
- All Implemented Interfaces:
BusinessObject
,BusinessProcessor
,RequestLog
,Serializable
Represents a single entry in the request log, ie, a single request made by a
user to the application.
RequestLogBean
is the default
implementation of the RequestLog
interface for the application.
The database stores the request log in the sscRequestLog
table,
and this class can be used to represent a single row of that table. The
Hibernate configuration file RequestLogBean.hbm.xml
maps that
table's columns to the properties in this object.
- Author:
- David Tobey
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprivate Integer
private String
private String
private Integer
private String
private String
private boolean
(package private) static org.apache.commons.logging.Log
private Integer
private Integer
private String
private int
private String
private String
private String
private static final long
private String
private String
private String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
int
void
setAdministratorID
(Integer administratorID) void
setAdministratorUserName
(String administratorUserName) void
setCreated
(String created) void
setCustomerID
(Integer customerID) void
setCustomerUserName
(String customerUserName) void
setIpAddress
(String ipAddress) void
setIsAdminRequest
(boolean isAdminRequest) void
setOrderID
(Integer orderID) void
setOrderNumber
(Integer orderNumber) void
setReferrer
(String referrer) void
setRequestLogID
(int requestLogID) void
setRequestParameters
(String requestParameters) void
setRequestURL
(String requestURL) void
setSearchString
(String searchString) void
setServletPath
(String servletPath) void
setSessionID
(String sessionID) void
setUserAgent
(String userAgent) toString()
Methods inherited from class com.softslate.commerce.businessobjects.core.BaseBusinessProcessor
formatDateTime, formatPrice, getAppComponents, getAppSettings, getAttributeIDs, getBusinessObjectFactory, getDaoFactory, getEventBus, getInjector, getProductIDs, getSettings, getUser, initialize, isProcessorClassActive, loadMatchingSkus, parseDateTime, parseResponseData, prepareRequestData, sendHTTPGet, sendHTTPPost, sendHTTPPost, setAppComponents, setAppSettings, setBusinessObjectFactory, setDaoFactory, setEventBus, setInjector, setSettings, setUser, updateOrderTotals, updateOrderTotals, updateOrderTotals, utils
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.softslate.commerce.businessobjects.core.BusinessObject
initialize
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
log
static org.apache.commons.logging.Log log -
requestLogID
private int requestLogID -
orderID
-
orderNumber
-
customerID
-
customerUserName
-
administratorID
-
administratorUserName
-
sessionID
-
ipAddress
-
referrer
-
userAgent
-
servletPath
-
requestURL
-
requestParameters
-
searchString
-
isAdminRequest
private boolean isAdminRequest -
created
-
-
Constructor Details
-
RequestLogBean
public RequestLogBean()
-
-
Method Details
-
getRequestLogID
public int getRequestLogID()- Specified by:
getRequestLogID
in interfaceRequestLog
-
setRequestLogID
public void setRequestLogID(int requestLogID) - Specified by:
setRequestLogID
in interfaceRequestLog
-
getOrderID
- Specified by:
getOrderID
in interfaceRequestLog
-
setOrderID
- Specified by:
setOrderID
in interfaceRequestLog
-
getOrderNumber
- Specified by:
getOrderNumber
in interfaceRequestLog
-
setOrderNumber
- Specified by:
setOrderNumber
in interfaceRequestLog
-
getCustomerID
- Specified by:
getCustomerID
in interfaceRequestLog
-
setCustomerID
- Specified by:
setCustomerID
in interfaceRequestLog
-
getCustomerUserName
- Specified by:
getCustomerUserName
in interfaceRequestLog
-
setCustomerUserName
- Specified by:
setCustomerUserName
in interfaceRequestLog
-
getAdministratorID
- Specified by:
getAdministratorID
in interfaceRequestLog
-
setAdministratorID
- Specified by:
setAdministratorID
in interfaceRequestLog
-
getAdministratorUserName
- Specified by:
getAdministratorUserName
in interfaceRequestLog
-
setAdministratorUserName
- Specified by:
setAdministratorUserName
in interfaceRequestLog
-
getSessionID
- Specified by:
getSessionID
in interfaceRequestLog
-
setSessionID
- Specified by:
setSessionID
in interfaceRequestLog
-
getIpAddress
- Specified by:
getIpAddress
in interfaceRequestLog
-
setIpAddress
- Specified by:
setIpAddress
in interfaceRequestLog
-
getReferrer
- Specified by:
getReferrer
in interfaceRequestLog
-
setReferrer
- Specified by:
setReferrer
in interfaceRequestLog
-
getUserAgent
- Specified by:
getUserAgent
in interfaceRequestLog
-
setUserAgent
- Specified by:
setUserAgent
in interfaceRequestLog
-
getServletPath
- Specified by:
getServletPath
in interfaceRequestLog
-
setServletPath
- Specified by:
setServletPath
in interfaceRequestLog
-
getRequestURL
- Specified by:
getRequestURL
in interfaceRequestLog
-
setRequestURL
- Specified by:
setRequestURL
in interfaceRequestLog
-
getRequestParameters
- Specified by:
getRequestParameters
in interfaceRequestLog
-
setRequestParameters
- Specified by:
setRequestParameters
in interfaceRequestLog
-
getSearchString
- Specified by:
getSearchString
in interfaceRequestLog
-
setSearchString
- Specified by:
setSearchString
in interfaceRequestLog
-
getIsAdminRequest
public boolean getIsAdminRequest()- Specified by:
getIsAdminRequest
in interfaceRequestLog
-
setIsAdminRequest
public void setIsAdminRequest(boolean isAdminRequest) - Specified by:
setIsAdminRequest
in interfaceRequestLog
-
getCreated
- Specified by:
getCreated
in interfaceRequestLog
-
setCreated
- Specified by:
setCreated
in interfaceRequestLog
-
toString
-