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
FieldsModifier and TypeFieldDescriptionstatic final StringProvides the 'clientCode' property name.static final StringProvides the 'clientName' property name.static final StringProvides the 'formCode' property name.static final StringProvides the 'formName' property name.static final StringProvides the 'formServerName' property name.static final StringProvides the 'formVersionNumber' property name.static final StringIndicates that a form was requested for fill-instatic final StringIndicates that a receipt was requestedstatic final String[]The set of all request render modesstatic final StringProvides the 'portalServerName' property name.static final StringIndicates that a receipt render via the deliverystatic final StringIndicates that a receipt render via the emailstatic final StringIndicates that a receipt render via the webstatic final String[]The set of all request receipt modesstatic final StringAn auxiliary property combining all available information about the user's browserstatic final StringProvides the 'userAgentBrowserType' property name.static final StringProvides the 'userAgentBrowserVersion' property name.static final StringAn auxiliary property combining all available information about the user's operating systemstatic final StringProvides the 'userAgentOsType' property name.static final StringProvides 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_PROPERTYFields inherited from class com.avoka.core.entity.BaseEntity
ID_PROPERTYFields inherited from class org.apache.cayenne.CayenneDataObject
valuesFields inherited from class org.apache.cayenne.BaseDataObject
snapshotVersionFields inherited from class org.apache.cayenne.PersistentObject
objectContext, objectId, persistenceStateFields inherited from interface org.apache.cayenne.DataObject
DEFAULT_VERSION -
Constructor Summary
Constructors -
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.booleanReturn whether the user requested a form for fill-inbooleanDeprecated.do not use; this will be removed in a future releasebooleanDeprecated.do not use; this will be removed in a future releasebooleanDeprecated.do not use; this will be removed in a future releasebooleanReturn whether the user requested a form receiptvoidsetDatetimeCreated(Date datetimeCreated) Set the datetimeCreated value.voidsetLcDsigRequest(boolean isLcDsigRequest) Deprecated.do not use; this will be removed in a future releasevoidsetLcFormsRequest(boolean isLcFormsRequest) Deprecated.do not use; this will be removed in a future releasevoidsetLcReaderExtensionsRequest(boolean isLcReRequest) Deprecated.do not use; this will be removed in a future releasevoidsetRequestTimestamp(Date requestTimestamp) Set the requestTimestamp value.voidsetTimeLastUserActivity(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, setUserProfileMethods inherited from class com.avoka.core.entity.BaseEntity
appendProperties, getId, getValuesMap, isNew, setId, toStringMethods inherited from class org.apache.cayenne.CayenneDataObject
makePath, readPropertyDirectly, readState, setPersistenceState, writePropertyDirectly, writeStateMethods 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, writeSerializedMethods inherited from class org.apache.cayenne.PersistentObject
getMapKey, getObjectContext, getObjectId, getPersistenceState, setObjectIdMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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
and
invalid reference
_RequestLog#USER_AGENT_BROWSER_TYPE_PROPERTYinvalid reference
_RequestLog#USER_AGENT_BROWSER_VERSION_PROPERTY
-
getUserAgentOs
Return information about the user's operating system- Returns:
- a combination of
and
invalid reference
_RequestLog#USER_AGENT_OS_TYPE_PROPERTYinvalid 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:_RequestLogSet the datetimeCreated value.- Overrides:
setDatetimeCreatedin class_RequestLog- Parameters:
datetimeCreated- the datetimeCreated value to set
-
setRequestTimestamp
Description copied from class:_RequestLogSet the requestTimestamp value.- Overrides:
setRequestTimestampin class_RequestLog- Parameters:
requestTimestamp- the requestTimestamp value to set
-
setTimeLastUserActivity
Description copied from class:_RequestLogSet the timeLastUserActivity value.- Overrides:
setTimeLastUserActivityin class_RequestLog- Parameters:
timeLastUserActivity- the timeLastUserActivity value to set
-