Class SubmissionHistory

java.lang.Object
org.apache.cayenne.PersistentObject
org.apache.cayenne.BaseDataObject
org.apache.cayenne.CayenneDataObject
All Implemented Interfaces:
IEntity, Serializable, org.apache.cayenne.DataObject, org.apache.cayenne.Persistent, org.apache.cayenne.Validating

public class SubmissionHistory extends _SubmissionHistory
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:
  • Constructor Details

    • SubmissionHistory

      public SubmissionHistory()
  • Method Details

    • getIpAddress

      public String getIpAddress()
      Return the ipAddress value.
      Overrides:
      getIpAddress in class _SubmissionHistory
      Returns:
      ipAddress the ipAddress value
    • getPortalName

      public String getPortalName()
      Return the portalName value.
      Overrides:
      getPortalName in class _SubmissionHistory
      Returns:
      portalName the portalName value
    • getTemplateVersion

      public TemplateVersion getTemplateVersion()
      Return the TemplateVersion.
      Overrides:
      getTemplateVersion in class _SubmissionHistory
      Returns:
      the templateVersion value
    • getUserAgent

      public String getUserAgent()
      Return the userAgent value.
      Overrides:
      getUserAgent in class _SubmissionHistory
      Returns:
      userAgent the userAgent value
    • getUserAgentDeviceType

      public String getUserAgentDeviceType()
      Return the userAgentDeviceType value.
      Overrides:
      getUserAgentDeviceType in class _SubmissionHistory
      Returns:
      userAgentDeviceType the userAgentDeviceType value
    • getUser

      public UserAccount 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 public void setSubmissionHistoryData(SubmissionHistoryData submissionHistoryData)
      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 public SubmissionHistoryData 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