Class BackupParameters
java.lang.Object
de.espirit.firstspirit.access.export.BackupParameters
- All Implemented Interfaces:
Serializable
- Since:
- 4.1.25
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Get export cached picture resolutions state.boolean
Include table data in backup.boolean
Get backup flag, used for backup file target directory (export or backup directory).long
Get project id.Get project name, used for backup filename.@Nullable Date
Get date of the revison to backup.long
Get revision id to backup, -1 means latest revision.@Nullable String
Get custom backup tag name extension.void
setBackupCachedPictures
(boolean backupCachedPictures) Set export cached picture resolutions state.void
setBackupTableData
(boolean backupTableData) Set table data backup mode.void
setIsBackup
(boolean backup) Set backup flag, used for backup file target directory (export or backup directory).void
setRevisionDate
(@Nullable Date revisionDate) Set revision date to backup.void
setRevisionId
(long revisionId) Set revision id to backup, use -1 for latest revision.void
setTagName
(@Nullable String tagName) Set custom backup tag extension.
-
Constructor Details
-
BackupParameters
- Since:
- 4.1.25
-
-
Method Details
-
getProjectId
public long getProjectId()Get project id.- Since:
- 4.1.25
-
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
Get date of the revison to backup. If the revison id is set this setting is ignored.- Since:
- 4.1.25
-
setRevisionDate
Set revision date to backup. Null means latest revision.- Since:
- 4.1.25
-
getTagName
Get custom backup tag name extension. Null for normal system backups. Ignored if isBackup is true.- Since:
- 4.1.25
-
setTagName
Set custom backup tag extension. Use null for normal system backup.- Since:
- 4.1.25
-