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
FieldsModifier and TypeFieldDescriptionprivate Integerprivate Stringprivate Stringprivate Integerprivate Stringprivate Stringprivate boolean(package private) static org.apache.commons.logging.Logprivate Integerprivate Integerprivate Stringprivate intprivate Stringprivate Stringprivate Stringprivate static final longprivate Stringprivate Stringprivate String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanintvoidsetAdministratorID(Integer administratorID) voidsetAdministratorUserName(String administratorUserName) voidsetCreated(String created) voidsetCustomerID(Integer customerID) voidsetCustomerUserName(String customerUserName) voidsetIpAddress(String ipAddress) voidsetIsAdminRequest(boolean isAdminRequest) voidsetOrderID(Integer orderID) voidsetOrderNumber(Integer orderNumber) voidsetReferrer(String referrer) voidsetRequestLogID(int requestLogID) voidsetRequestParameters(String requestParameters) voidsetRequestURL(String requestURL) voidsetSearchString(String searchString) voidsetServletPath(String servletPath) voidsetSessionID(String sessionID) voidsetUserAgent(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, utilsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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:
getRequestLogIDin interfaceRequestLog
-
setRequestLogID
public void setRequestLogID(int requestLogID) - Specified by:
setRequestLogIDin interfaceRequestLog
-
getOrderID
- Specified by:
getOrderIDin interfaceRequestLog
-
setOrderID
- Specified by:
setOrderIDin interfaceRequestLog
-
getOrderNumber
- Specified by:
getOrderNumberin interfaceRequestLog
-
setOrderNumber
- Specified by:
setOrderNumberin interfaceRequestLog
-
getCustomerID
- Specified by:
getCustomerIDin interfaceRequestLog
-
setCustomerID
- Specified by:
setCustomerIDin interfaceRequestLog
-
getCustomerUserName
- Specified by:
getCustomerUserNamein interfaceRequestLog
-
setCustomerUserName
- Specified by:
setCustomerUserNamein interfaceRequestLog
-
getAdministratorID
- Specified by:
getAdministratorIDin interfaceRequestLog
-
setAdministratorID
- Specified by:
setAdministratorIDin interfaceRequestLog
-
getAdministratorUserName
- Specified by:
getAdministratorUserNamein interfaceRequestLog
-
setAdministratorUserName
- Specified by:
setAdministratorUserNamein interfaceRequestLog
-
getSessionID
- Specified by:
getSessionIDin interfaceRequestLog
-
setSessionID
- Specified by:
setSessionIDin interfaceRequestLog
-
getIpAddress
- Specified by:
getIpAddressin interfaceRequestLog
-
setIpAddress
- Specified by:
setIpAddressin interfaceRequestLog
-
getReferrer
- Specified by:
getReferrerin interfaceRequestLog
-
setReferrer
- Specified by:
setReferrerin interfaceRequestLog
-
getUserAgent
- Specified by:
getUserAgentin interfaceRequestLog
-
setUserAgent
- Specified by:
setUserAgentin interfaceRequestLog
-
getServletPath
- Specified by:
getServletPathin interfaceRequestLog
-
setServletPath
- Specified by:
setServletPathin interfaceRequestLog
-
getRequestURL
- Specified by:
getRequestURLin interfaceRequestLog
-
setRequestURL
- Specified by:
setRequestURLin interfaceRequestLog
-
getRequestParameters
- Specified by:
getRequestParametersin interfaceRequestLog
-
setRequestParameters
- Specified by:
setRequestParametersin interfaceRequestLog
-
getSearchString
- Specified by:
getSearchStringin interfaceRequestLog
-
setSearchString
- Specified by:
setSearchStringin interfaceRequestLog
-
getIsAdminRequest
public boolean getIsAdminRequest()- Specified by:
getIsAdminRequestin interfaceRequestLog
-
setIsAdminRequest
public void setIsAdminRequest(boolean isAdminRequest) - Specified by:
setIsAdminRequestin interfaceRequestLog
-
getCreated
- Specified by:
getCreatedin interfaceRequestLog
-
setCreated
- Specified by:
setCreatedin interfaceRequestLog
-
toString
-