Package com.avoka.fc.core.entity
Class SubmissionHistory
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._SubmissionHistory
com.avoka.fc.core.entity.SubmissionHistory
- All Implemented Interfaces:
IEntity
,Serializable
,org.apache.cayenne.DataObject
,org.apache.cayenne.Persistent
,org.apache.cayenne.Validating
Provides a record of a particular version of a submission. Every time a submission is saved, and when it is finally submitted, a submission history entry is saved.
- See Also:
-
Field Summary
Fields inherited from class com.avoka.fc.core.entity.auto._SubmissionHistory
BACKGROUND_SAVED_FLAG, BACKGROUND_SAVED_FLAG_PROPERTY, DATETIME_CREATED, DATETIME_CREATED_PROPERTY, DELETED_FLAG, DELETED_FLAG_PROPERTY, FORM_STATUS, FORM_STATUS_PROPERTY, IP_ADDRESS, IP_ADDRESS_PROPERTY, PERCENTAGE_COMPLETED, PERCENTAGE_COMPLETED_PROPERTY, PORTAL_NAME, PORTAL_NAME_PROPERTY, REQUEST_LOG, REQUEST_LOG_PROPERTY, SHARE_FORM_FLAG, SHARE_FORM_FLAG_PROPERTY, STORAGE_ENCODING, STORAGE_ENCODING_PROPERTY, STORAGE_URL, STORAGE_URL_PROPERTY, SUBMISSION, SUBMISSION_HISTORY_DATA, SUBMISSION_HISTORY_DATA_PROPERTY, SUBMISSION_HISTORY_OID_PK_COLUMN, SUBMISSION_PROPERTY, TEMPLATE_VERSION, TEMPLATE_VERSION_PROPERTY, TIME_TO_SUBMIT_SEC, TIME_TO_SUBMIT_SEC_PROPERTY, USER, USER_AGENT, USER_AGENT_DEVICE_TYPE, USER_AGENT_DEVICE_TYPE_PROPERTY, USER_AGENT_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 ipAddress value.Return the portalName value.Deprecated.Return the TemplateVersion.getUser()
Return the User.Return the userAgent value.Return the userAgentDeviceType value.boolean
Return whether the submission history is in status "Assigned"boolean
Return whether the submission history is in status "Saved"boolean
Return whether the submission history is in status "Submitted"void
setSubmissionHistoryData
(SubmissionHistoryData submissionHistoryData) Deprecated.Methods inherited from class com.avoka.fc.core.entity.auto._SubmissionHistory
getDatetimeCreated, getFormStatus, getPercentageCompleted, getRequestLog, getStorageEncoding, getStorageUrl, getSubmission, getTimeToSubmitSec, isBackgroundSavedFlag, isDeletedFlag, isShareFormFlag, setBackgroundSavedFlag, setDatetimeCreated, setDeletedFlag, setFormStatus, setIpAddress, setPercentageCompleted, setPortalName, setRequestLog, setShareFormFlag, setStorageEncoding, setStorageUrl, setSubmission, setTemplateVersion, setTimeToSubmitSec, setUser, setUserAgent, setUserAgentDeviceType
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
-
Constructor Details
-
SubmissionHistory
public SubmissionHistory()
-
-
Method Details
-
getIpAddress
Return the ipAddress value.- Overrides:
getIpAddress
in class_SubmissionHistory
- Returns:
- ipAddress the ipAddress value
-
getPortalName
Return the portalName value.- Overrides:
getPortalName
in class_SubmissionHistory
- Returns:
- portalName the portalName value
-
getTemplateVersion
Return the TemplateVersion.- Overrides:
getTemplateVersion
in class_SubmissionHistory
- Returns:
- the templateVersion value
-
getUserAgent
Return the userAgent value.- Overrides:
getUserAgent
in class_SubmissionHistory
- Returns:
- userAgent the userAgent value
-
getUserAgentDeviceType
Return the userAgentDeviceType value.- Overrides:
getUserAgentDeviceType
in class_SubmissionHistory
- Returns:
- userAgentDeviceType the userAgentDeviceType value
-
getUser
Return the User.- Overrides:
getUser
in class_SubmissionHistory
- Returns:
- the user value
-
isFormAssigned
public boolean isFormAssigned()Return whether the submission history is in status "Assigned"- Returns:
- true if the form status is
Submission.STATUS_Assigned
- Since:
- 4.0.0
-
isFormSaved
public boolean isFormSaved()Return whether the submission history is in status "Saved"- Returns:
- true if the form status is
Submission.STATUS_Saved
- Since:
- 4.1.0
-
isFormSubmitted
public boolean isFormSubmitted()Return whether the submission history is in status "Submitted"- Returns:
- true if the form status is
Submission.STATUS_Submitted
- Since:
- 4.2.0
-
setSubmissionHistoryData
Deprecated.This method should not be used, instead please use the submissions associated Submission Data Storage service.- Overrides:
setSubmissionHistoryData
in class_SubmissionHistory
- Parameters:
submissionHistoryData
- the submissionHistoryData value to set- Since:
- 4.2.0
-
getSubmissionHistoryData
Deprecated.This method should not be used, instead please use the submissions associated Submission Data Storage service.- Overrides:
getSubmissionHistoryData
in class_SubmissionHistory
- Returns:
- the submissionHistoryData value
- Since:
- 4.2.0
-