Package com.avoka.fc.core.entity
Class RequestLog
java.lang.Object
org.apache.cayenne.PersistentObject
org.apache.cayenne.BaseDataObject
org.apache.cayenne.CayenneDataObject
com.avoka.core.entity.BaseEntity
com.avoka.fc.core.entity.auto._RequestLog
com.avoka.fc.core.entity.RequestLog
- All Implemented Interfaces:
IEntity
,Serializable
,org.apache.cayenne.DataObject
,org.apache.cayenne.Persistent
,org.apache.cayenne.Validating
Provides a record around requests for a form, either for fill-in or receipt rendering.
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Provides the 'clientCode' property name.static final String
Provides the 'clientName' property name.static final String
Provides the 'formCode' property name.static final String
Provides the 'formName' property name.static final String
Provides the 'formServerName' property name.static final String
Provides the 'formVersionNumber' property name.static final String
Indicates that a form was requested for fill-instatic final String
Indicates that a receipt was requestedstatic final String[]
The set of all request render modesstatic final String
Provides the 'portalServerName' property name.static final String
Indicates that a receipt render via the deliverystatic final String
Indicates that a receipt render via the emailstatic final String
Indicates that a receipt render via the webstatic final String[]
The set of all request receipt modesstatic final String
An auxiliary property combining all available information about the user's browserstatic final String
Provides the 'userAgentBrowserType' property name.static final String
Provides the 'userAgentBrowserVersion' property name.static final String
An auxiliary property combining all available information about the user's operating systemstatic final String
Provides the 'userAgentOsType' property name.static final String
Provides the 'userAgentOsVersion' property name.Fields inherited from class com.avoka.fc.core.entity.auto._RequestLog
CLIENT, CLIENT_PROPERTY, DATETIME_CREATED, DATETIME_CREATED_PROPERTY, DURATION_CLIENT_RESPONSE, DURATION_CLIENT_RESPONSE_PROPERTY, DURATION_FORM_INIT, DURATION_FORM_INIT_PROPERTY, DURATION_RENDER, DURATION_RENDER_PROPERTY, DURATION_TOTAL, DURATION_TOTAL_PROPERTY, EXTERNAL_PROFILE_ID, EXTERNAL_PROFILE_ID_PROPERTY, EXTERNAL_USER_ID, EXTERNAL_USER_ID_PROPERTY, FORM, FORM_DATA_ENCRYPT_FLAG, FORM_DATA_ENCRYPT_FLAG_PROPERTY, FORM_PROPERTY, FORM_RENDERED_LENGTH, FORM_RENDERED_LENGTH_PROPERTY, FORM_SERVER, FORM_SERVER_PROPERTY, FORM_STREAMED_LENGTH, FORM_STREAMED_LENGTH_PROPERTY, FORM_TYPE, FORM_TYPE_PROPERTY, IP_ADDRESS, IP_ADDRESS_PROPERTY, MILESTONES, MILESTONES_PROPERTY, PORTAL, PORTAL_PROPERTY, PORTAL_SERVER, PORTAL_SERVER_PROPERTY, RECEIPT_MODE, RECEIPT_MODE_PROPERTY, REFERER, REFERER_PROPERTY, REMOTE_USER, REMOTE_USER_PROPERTY, RENDER_MODE, RENDER_MODE_PROPERTY, REQUEST_CONTENT_LENGTH, REQUEST_CONTENT_LENGTH_PROPERTY, REQUEST_CONTENT_TYPE, REQUEST_CONTENT_TYPE_PROPERTY, REQUEST_COOKIE, REQUEST_COOKIE_PROPERTY, REQUEST_KEY, REQUEST_KEY_PROPERTY, REQUEST_METHOD, REQUEST_METHOD_PROPERTY, REQUEST_OID_PK_COLUMN, REQUEST_QUERY, REQUEST_QUERY_PROPERTY, REQUEST_TIMESTAMP, REQUEST_TIMESTAMP_PROPERTY, REQUEST_URL, REQUEST_URL_PROPERTY, SESSION_ID, SESSION_ID_PROPERTY, SUBMISSION, SUBMISSION_COUNT, SUBMISSION_COUNT_PROPERTY, SUBMISSION_HISTORIES, SUBMISSION_HISTORIES_PROPERTY, SUBMISSION_PROPERTY, TEMPLATE_VERSION, TEMPLATE_VERSION_PROPERTY, TIME_LAST_USER_ACTIVITY, TIME_LAST_USER_ACTIVITY_PROPERTY, USER, USER_AGENT, USER_AGENT_DEVICE_TYPE, USER_AGENT_DEVICE_TYPE_PROPERTY, USER_AGENT_PROPERTY, USER_PROFILE, USER_PROFILE_PROPERTY, USER_PROPERTY
Fields inherited from class com.avoka.core.entity.BaseEntity
ID_PROPERTY
Fields inherited from class org.apache.cayenne.CayenneDataObject
values
Fields inherited from class org.apache.cayenne.BaseDataObject
snapshotVersion
Fields inherited from class org.apache.cayenne.PersistentObject
objectContext, objectId, persistenceState
Fields inherited from interface org.apache.cayenne.DataObject
DEFAULT_VERSION
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturn the clientCode value.Return the clientName value.Return the formCode value.Return the formName value.Return the formServerName value.Return the formVersionNumber value.Return the portalServerName value.Return information about the user's browserReturn the userAgentBrowserType value.Provided for backward compatibility.Return the userAgentBrowserVersion value.Return information about the user's operating systemReturn the userAgentOsType value.Return the userAgentOsVersion value.boolean
Return whether the user requested a form for fill-inboolean
Deprecated.do not use; this will be removed in a future releaseboolean
Deprecated.do not use; this will be removed in a future releaseboolean
Deprecated.do not use; this will be removed in a future releaseboolean
Return whether the user requested a form receiptvoid
setDatetimeCreated
(Date datetimeCreated) Set the datetimeCreated value.void
setLcDsigRequest
(boolean isLcDsigRequest) Deprecated.do not use; this will be removed in a future releasevoid
setLcFormsRequest
(boolean isLcFormsRequest) Deprecated.do not use; this will be removed in a future releasevoid
setLcReaderExtensionsRequest
(boolean isLcReRequest) Deprecated.do not use; this will be removed in a future releasevoid
setRequestTimestamp
(Date requestTimestamp) Set the requestTimestamp value.void
setTimeLastUserActivity
(Date timeLastUserActivity) Set the timeLastUserActivity value.Methods inherited from class com.avoka.fc.core.entity.auto._RequestLog
addToMilestones, addToSubmissionHistories, getClient, getDatetimeCreated, getDurationClientResponse, getDurationFormInit, getDurationRender, getDurationTotal, getExternalProfileId, getExternalUserId, getForm, getFormRenderedLength, getFormServer, getFormStreamedLength, getFormType, getIpAddress, getMilestones, getPortal, getPortalServer, getReceiptMode, getReferer, getRemoteUser, getRenderMode, getRequestContentLength, getRequestContentType, getRequestCookie, getRequestKey, getRequestMethod, getRequestQuery, getRequestTimestamp, getRequestUrl, getSessionId, getSubmission, getSubmissionCount, getSubmissionHistories, getTemplateVersion, getTimeLastUserActivity, getUser, getUserAgent, getUserAgentDeviceType, getUserProfile, isFormDataEncryptFlag, removeFromMilestones, removeFromSubmissionHistories, setClient, setDurationClientResponse, setDurationFormInit, setDurationRender, setDurationTotal, setExternalProfileId, setExternalUserId, setForm, setFormDataEncryptFlag, setFormRenderedLength, setFormServer, setFormStreamedLength, setFormType, setIpAddress, setPortal, setPortalServer, setReceiptMode, setReferer, setRemoteUser, setRenderMode, setRequestContentLength, setRequestContentType, setRequestCookie, setRequestKey, setRequestMethod, setRequestQuery, setRequestUrl, setSessionId, setSubmission, setSubmissionCount, setTemplateVersion, setUser, setUserAgent, setUserAgentDeviceType, setUserProfile
Methods inherited from class com.avoka.core.entity.BaseEntity
appendProperties, getId, getValuesMap, isNew, setId, toString
Methods inherited from class org.apache.cayenne.CayenneDataObject
makePath, readPropertyDirectly, readState, setPersistenceState, writePropertyDirectly, writeState
Methods inherited from class org.apache.cayenne.BaseDataObject
addToManyTarget, beforePropertyRead, beforePropertyWrite, getSnapshotVersion, readNestedProperty, readProperty, readSerialized, removeToManyTarget, setObjectContext, setReverseRelationship, setSnapshotVersion, setToManyTarget, setToOneTarget, toStringBuffer, unsetReverseRelationship, validateForDelete, validateForInsert, validateForSave, validateForUpdate, willConnect, writeProperty, writeSerialized
Methods inherited from class org.apache.cayenne.PersistentObject
getMapKey, getObjectContext, getObjectId, getPersistenceState, setObjectId
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.apache.cayenne.Persistent
getObjectContext, getObjectId, getPersistenceState, setObjectContext, setObjectId, setPersistenceState
-
Field Details
-
CLIENT_CODE_PROPERTY
Provides the 'clientCode' property name.- See Also:
-
CLIENT_NAME_PROPERTY
Provides the 'clientName' property name.- See Also:
-
FORM_CODE_PROPERTY
Provides the 'formCode' property name.- See Also:
-
FORM_NAME_PROPERTY
Provides the 'formName' property name.- See Also:
-
FORM_SERVER_NAME_PROPERTY
Provides the 'formServerName' property name.- See Also:
-
FORM_VERSION_NUMBER_PROPERTY
Provides the 'formVersionNumber' property name.- See Also:
-
PORTAL_SERVER_NAME_PROPERTY
Provides the 'portalServerName' property name.- See Also:
-
USER_AGENT_BROWSER_PROPERTY
An auxiliary property combining all available information about the user's browser- See Also:
-
USER_AGENT_OS_PROPERTY
An auxiliary property combining all available information about the user's operating system- See Also:
-
USER_AGENT_BROWSER_TYPE_PROPERTY
Provides the 'userAgentBrowserType' property name.- See Also:
-
USER_AGENT_BROWSER_VERSION_PROPERTY
Provides the 'userAgentBrowserVersion' property name.- See Also:
-
USER_AGENT_OS_TYPE_PROPERTY
Provides the 'userAgentOsType' property name.- See Also:
-
USER_AGENT_OS_VERSION_PROPERTY
Provides the 'userAgentOsVersion' property name.- See Also:
-
MODE_FORM
Indicates that a form was requested for fill-in- See Also:
-
MODE_RECEIPT
Indicates that a receipt was requested- See Also:
-
MODES
The set of all request render modes -
RECEIPT_MODE_WEB
Indicates that a receipt render via the web- See Also:
-
RECEIPT_MODE_EMAIL
Indicates that a receipt render via the email- See Also:
-
RECEIPT_MODE_DELIVERY
Indicates that a receipt render via the delivery- See Also:
-
RECEIPT_MODES
The set of all request receipt modes
-
-
Constructor Details
-
RequestLog
public RequestLog()
-
-
Method Details
-
getClientCode
Return the clientCode value. Provided for backward compatibility.- Returns:
- clientCode the clientCode value
- Since:
- 5.1.0
-
getClientName
Return the clientName value. Provided for backward compatibility.- Returns:
- clientName the clientName value
- Since:
- 5.1.0
-
getFormCode
Return the formCode value. Provided for backward compatibility.- Returns:
- formCode the formCode value
- Since:
- 5.1.0
-
getFormName
Return the formName value. Provided for backward compatibility.- Returns:
- formName the formName value
- Since:
- 5.1.0
-
getFormServerName
Return the formServerName value. Provided for backward compatibility.- Returns:
- formServerName the formServerName value
- Since:
- 5.1.0
-
getFormVersionNumber
Return the formVersionNumber value. Provided for backward compatibility.- Returns:
- formVersionNumber the formVersionNumber value
- Since:
- 5.1.0
-
getPortalServerName
Return the portalServerName value. Provided for backward compatibility.- Returns:
- portalServerName the portalServerName value
- Since:
- 5.1.0
-
getUserAgentBrowserType
Return the userAgentBrowserType value.Provided for backward compatibility.- Returns:
- userAgentBrowserType the userAgentBrowserType value
- Since:
- 5.1.0
-
getUserAgentBrowserVersion
Return the userAgentBrowserVersion value. Provided for backward compatibility.- Returns:
- userAgentBrowserVersion the userAgentBrowserVersion value
- Since:
- 5.1.0
-
getUserAgentOsType
Return the userAgentOsType value. Provided for backward compatibility.- Returns:
- userAgentOsType the userAgentOsType value
- Since:
- 5.1.0
-
getUserAgentOsVersion
Return the userAgentOsVersion value. Provided for backward compatibility.- Returns:
- userAgentOsVersion the userAgentOsVersion value
- Since:
- 5.1.0
-
getUserAgentBrowser
Return information about the user's browser- Returns:
- a combination of
invalid reference
_RequestLog#USER_AGENT_BROWSER_TYPE_PROPERTY
invalid reference
_RequestLog#USER_AGENT_BROWSER_VERSION_PROPERTY
-
getUserAgentOs
Return information about the user's operating system- Returns:
- a combination of
invalid reference
_RequestLog#USER_AGENT_OS_TYPE_PROPERTY
invalid reference
_RequestLog#USER_AGENT_OS_VERSION_PROPERTY
-
isFormRender
public boolean isFormRender()Return whether the user requested a form for fill-in- Returns:
- true if the render mode is
MODE_FORM
-
isReceiptRender
public boolean isReceiptRender()Return whether the user requested a form receipt- Returns:
- true if the render mode is
MODE_RECEIPT
-
isLcFormsRequest
Deprecated.do not use; this will be removed in a future release- Returns:
- false
-
setLcFormsRequest
Deprecated.do not use; this will be removed in a future release- Parameters:
isLcFormsRequest
- unused
-
isLcDsigRequest
Deprecated.do not use; this will be removed in a future release- Returns:
- false
-
setLcDsigRequest
Deprecated.do not use; this will be removed in a future release- Parameters:
isLcDsigRequest
- unused
-
isLcReaderExtensionsRequest
Deprecated.do not use; this will be removed in a future release- Returns:
- false
-
setLcReaderExtensionsRequest
Deprecated.do not use; this will be removed in a future release- Parameters:
isLcReRequest
- unused
-
setDatetimeCreated
Description copied from class:_RequestLog
Set the datetimeCreated value.- Overrides:
setDatetimeCreated
in class_RequestLog
- Parameters:
datetimeCreated
- the datetimeCreated value to set
-
setRequestTimestamp
Description copied from class:_RequestLog
Set the requestTimestamp value.- Overrides:
setRequestTimestamp
in class_RequestLog
- Parameters:
requestTimestamp
- the requestTimestamp value to set
-
setTimeLastUserActivity
Description copied from class:_RequestLog
Set the timeLastUserActivity value.- Overrides:
setTimeLastUserActivity
in class_RequestLog
- Parameters:
timeLastUserActivity
- the timeLastUserActivity value to set
-