Interface BasicVersion

    • Method Detail

      • getState

        @Deprecated
        State getState()
        Deprecated.
        Use workflow model based state instead
        Returns the state of this version.
        Returns:
        the state of this version
      • setState

        @Deprecated
        void setState​(State state)
        Deprecated.
        Use workflow model based state instead
        Sets the state of this version.
        Parameters:
        state - State which is set
      • setLastModified

        void setLastModified​(Calendar calendar)
        Sets the last modified date time.
        Parameters:
        calendar - lastmodified date time
      • setLastModifiedUserName

        void setLastModifiedUserName​(String userName)
        Sets the username for the user who update the form version the last time.
        Parameters:
        userName - username
      • getImportedDate

        Calendar getImportedDate()
        Returns the date and time at which this version was imported.
        Returns:
        the date and time at which this version was imported or null if it was not imported
      • setImportedDate

        void setImportedDate​(Calendar calendar)
        Sets the date and time at which this version was imported.
        Parameters:
        calendar - the date and time at which this version was imported
      • getCreatorUserName

        String getCreatorUserName()
        Returns the name of the user who created this form version.
        Returns:
        the name of the user who created this form version
      • setCreatorUserName

        void setCreatorUserName​(String creatorUserName)
        Sets the name of the user who created this form version.
        Parameters:
        creatorUserName - the login id used to track who created this form version
      • getCreationDateCalendar

        Calendar getCreationDateCalendar()
        Returns the date and time at which this version was created.
        Returns:
        the date and time at which this version was created
      • setCreationDateCalendar

        void setCreationDateCalendar​(Calendar creationDate)
        Sets the date and time at which this version was created.
        Parameters:
        creationDate - the date and time at which this version was created
      • getCreationDate

        Date getCreationDate()
        Returns the date of creation of this form version.
        Returns:
        the date of creation of this form version
      • setCreationDate

        void setCreationDate​(Date creationDate)
        Sets the date of creation of this form version.
        Parameters:
        creationDate - - the date of creation of this form version
      • getExportId

        String getExportId()
        Returns the unique export Id created for each time the form is exported by the user and has a randomly generated unique id and the generated time stamp.
        Returns:
        the unique export id created for this export instance
      • setExportId

        void setExportId​(String exportID)
        Sets the unique export id created for this export instance. This is set from ExportUtil and is a marker for each time the form version is exported with the unique id and the time stamp and is set to empty when the form is imported.
        Parameters:
        exportID - the unique export id created for this export instance
      • getImportId

        String getImportId()
        Returns the unique import id of the version - should be the export id of the exported form.
        Returns:
        the unique import id of the version - should be the export id of the exported form
      • setImportId

        void setImportId​(String importID)
        Sets the unique import id of the version - should be the export id of the exported form.
        Parameters:
        importID - the unique import id of the version - should be the export id of the exported form
      • getExportDate

        Calendar getExportDate()
        Returns the date and time at which this version was exported.
        Returns:
        the date and time at which this version was exported or null if it was not exported
      • setExportDate

        void setExportDate​(Calendar exportDate)
        Sets the date and time at which this version was exported.
        Parameters:
        ExportDate - the date and time at which this version was exported
      • getCreatorDisplayName

        String getCreatorDisplayName()
        Returns the display name for the Author of this version as first and last name concatenated.
        Returns:
        The display name for the Author of this version as first and last name concatenated.