de.espirit.firstspirit.access.export
Class BackupParameters

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

public class BackupParameters
extends Object
implements Serializable

Since:
4.1.25
See Also:
Serialized Form

Constructor Summary
BackupParameters(long projectId, String projectName)
           
 
Method Summary
 boolean getBackupTableData()
          Include table data in backup.
 boolean getIsBackup()
          Get backup flag, used for backup file target directory (export or backup directory).
 long getProjectId()
          Get project id.
 String getProjectName()
          Get project name, used for backup filename.
 Date getRevisionDate()
          Get date of the revison to backup.
 long getRevisionId()
          Get revision id to backup, -1 means latest revision.
 String getTagName()
          Get custom backup tag name extension.
 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(Date revisionDate)
          Set revision date to backup.
 void setRevisionId(long revisionId)
          Set revision id to backup, use -1 for latest revision.
 void setTagName(String tagName)
          Set custom backup tag extension.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BackupParameters

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

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

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 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
                            Date revisionDate)
Set revision date to backup. Null means latest revision.

Since:
4.1.25

getTagName

@Nullable
public 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
                       String tagName)
Set custom backup tag extension. Use null for normal system backup.

Since:
4.1.25


Copyright © 2012 e-Spirit AG. All Rights Reserved. Build 4.2.480