java.lang.Object
org.exoplatform.services.jcr.ext.backup.server.bean.response.ShortInfo
Direct Known Subclasses:
DetailedInfo

public class ShortInfo extends Object
Created by The eXo Platform SAS.
Date: 13.04.2009
Version:
$Id: ShortInfo.java 111 2008-11-11 11:11:11Z rainf0x $
Author:
Alex Reshetnyak
  • Field Details

    • CURRENT

      public static final int CURRENT
      The type for current backup.
      See Also:
    • COMPLETED

      public static final int COMPLETED
      The type for completed backup.
      See Also:
    • RESTORE

      public static final int RESTORE
      The type for current restore.
      See Also:
  • Constructor Details

    • ShortInfo

      public ShortInfo()
      ShortInfo. Empty constructor.
    • ShortInfo

      public ShortInfo(int type, BackupChain chain)
      ShortInfo constructor.
      Parameters:
      type - int, the tupe of short info
      chain - BackupChain, the backup chain for current backup.
    • ShortInfo

      public ShortInfo(int type, RepositoryBackupChain chain)
      ShortInfo constructor.
      Parameters:
      type - int, the tupe of short info
      chain - RepositoryBackupChain, the backup chain for current backup.
    • ShortInfo

      public ShortInfo(int type, BackupChainLog chainLog)
      ShortInfo constructor.
      Parameters:
      type - int, the tupe of short info
      chainLog - BackupChainLog, the backup chain log for completed backup.
    • ShortInfo

      public ShortInfo(int type, RepositoryBackupChainLog chainLog)
      ShortInfo constructor.
      Parameters:
      type - int, the tupe of short info
      chainLog - BackupChainLog, the backup chain log for completed backup.
    • ShortInfo

      public ShortInfo(int type, BackupChainLog chainLog, Calendar startedTime, Calendar finishedTime, int state)
      ShortInfo constructor. For restore.
      Parameters:
      type - int, the tupe of short info
      chainLog - BackupChainLog, the backup chain log for completed backup.
      startedTime - Calendar, the stated time
      finishedTime - Calendar, the finished time
      state - int, the state of restore
    • ShortInfo

      public ShortInfo(int type, RepositoryBackupChainLog chainLog, Calendar startedTime, Calendar finishedTime, int state)
      ShortInfo constructor. For restore.
      Parameters:
      type - int, the type of short info
      chainLog - RepositoryBackupChainLog, the backup chain log for completed backup.
      startedTime - Calendar, the stated time
      finishedTime - Calendar, the finished time
      state - int, the state of restore
    • ShortInfo

      public ShortInfo(int type, BackupChainLog chainLog, Calendar startedTime, Calendar finishedTime, int state, String repositroryName, String workspaceName)
      ShortInfo constructor. For restore.
      Parameters:
      type - int, the tupe of short info
      chainLog - BackupChainLog, the backup chain log for completed backup.
      startedTime - Calendar, the stated time
      finishedTime - Calendar, the finished time
      state - int, the state of restore
      repositroryName - String, the repository name
      workspaceName - String, the workspace name
    • ShortInfo

      public ShortInfo(int type, RepositoryBackupChainLog chainLog, Calendar startedTime, Calendar finishedTime, int state, String repositroryName)
      ShortInfo constructor. For restore.
      Parameters:
      type - int, the tupe of short info
      chainLog - BackupChainLog, the backup chain log for completed backup.
      startedTime - Calendar, the stated time
      finishedTime - Calendar, the finished time
      state - int, the state of restore
      repositroryName - String, the repository name
  • Method Details

    • getState

      public Integer getState()
      getState.
      Returns:
      Integer the state of backup or restore
    • setState

      public void setState(Integer state)
      setState.
      Parameters:
      state - Integer, the state of backup or restore
    • getBackupId

      public String getBackupId()
      getBackupId.
      Returns:
      String return the backup identifier
    • setBackupId

      public void setBackupId(String backupId)
      setBackupId.
      Parameters:
      backupId - the backup identifier
    • getRepositoryName

      public String getRepositoryName()
      getRepositoryName.
      Returns:
      String return the repository name
    • setRepositoryName

      public void setRepositoryName(String repositoryName)
      setRepositoryName.
      Parameters:
      repositoryName - String, repository name
    • getWorkspaceName

      public String getWorkspaceName()
      getWorkspaceName.
      Returns:
      String return the workspace name
    • setWorkspaceName

      public void setWorkspaceName(String workspaceName)
      setWorkspaceName.
      Parameters:
      workspaceName - String, the workspace name
    • getStartedTime

      public String getStartedTime()
      getStartedTime.
      Returns:
      String return the started time of backup or restore
    • setStartedTime

      public void setStartedTime(String startedTime)
      setStartedTime.
      Parameters:
      startedTime - String, the started time of backup or restore
    • getFinishedTime

      public String getFinishedTime()
      getFinishedTime.
      Returns:
      String return the finished time of backup or restore
    • setFinishedTime

      public void setFinishedTime(String finishedTime)
      setFinishedTime.
      Parameters:
      finishedTime - String, the finished time of backup or restore
    • getType

      public Integer getType()
      getType.
      Returns:
      Integer return the type of ShortInfo
    • setType

      public void setType(Integer type)
      setType.
      Parameters:
      type - Integer, the type of ShortInfo
    • getBackupType

      public Integer getBackupType()
      getBackupType.
      Returns:
      Integer return the backup type
    • setBackupType

      public void setBackupType(Integer backupType)
      setBackupType.
      Parameters:
      backupType - Integer, the backup type