Class BackupParameters

java.lang.Object
de.espirit.firstspirit.access.export.BackupParameters
All Implemented Interfaces:
Serializable

public class BackupParameters extends Object implements Serializable
Since:
4.1.25
See Also:
  • Constructor Details

    • BackupParameters

      public BackupParameters(long projectId, String projectName)
      Since:
      4.1.25
  • Method Details

    • getProjectId

      public long getProjectId()
      Get project id.
      Since:
      4.1.25
    • getProjectName

      public String getProjectName()
      Get project name, used for backup filename.
      Since:
      4.1.25
    • getIsBackup

      public boolean getIsBackup()
      Get backup flag, used for backup file target directory (export or backup directory).
      Since:
      4.1.25
    • setIsBackup

      public void setIsBackup(boolean backup)
      Set backup flag, used for backup file target directory (export or backup directory).
      Since:
      4.1.25
    • getBackupTableData

      public boolean getBackupTableData()
      Include table data in backup.
      Since:
      4.1.25
    • setBackupTableData

      public void setBackupTableData(boolean backupTableData)
      Set table data backup mode.
      Since:
      4.1.25
    • getBackupCachedPictures

      public boolean getBackupCachedPictures()
      Get export cached picture resolutions state. Cached picture resolutions often take a lot of space and will be created on demand, if they are missing. Default behavior is including the cached picture resolutions in a export.
      Since:
      5.2.191106
    • setBackupCachedPictures

      public void setBackupCachedPictures(boolean backupCachedPictures)
      Set export cached picture resolutions state. Cached picture resolutions often take a lot of space and will be created on demand, if they are missing.
      Since:
      5.2.191106
    • getRevisionId

      public long getRevisionId()
      Get revision id to backup, -1 means latest revision. The matching lower revision depends on type. For differential backups this is the last snapshot. For incremental backups this is the last snapshot or incremental backup.
      Since:
      4.1.25
    • setRevisionId

      public void setRevisionId(long revisionId)
      Set revision id to backup, use -1 for latest revision.
      Since:
      4.1.25
    • getRevisionDate

      @Nullable public @Nullable Date getRevisionDate()
      Get date of the revison to backup. If the revison id is set this setting is ignored.
      Since:
      4.1.25
    • setRevisionDate

      public void setRevisionDate(@Nullable @Nullable Date revisionDate)
      Set revision date to backup. Null means latest revision.
      Since:
      4.1.25
    • getTagName

      @Nullable public @Nullable String getTagName()
      Get custom backup tag name extension. Null for normal system backups. Ignored if isBackup is true.
      Since:
      4.1.25
    • setTagName

      public void setTagName(@Nullable @Nullable String tagName)
      Set custom backup tag extension. Use null for normal system backup.
      Since:
      4.1.25