eXo JCR :: Component :: Extension Service 1.15.0-CR2

org.exoplatform.services.jcr.ext.backup.server.bean.response
Class ShortInfo

java.lang.Object
  extended by 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 Summary
static int COMPLETED
          The type for completed backup.
static int CURRENT
          The type for current backup.
static int RESTORE
          The type for current restore.
 
Constructor Summary
ShortInfo()
          ShortInfo.
ShortInfo(int type, BackupChain chain)
          ShortInfo constructor.
ShortInfo(int type, BackupChainLog chainLog)
          ShortInfo constructor.
ShortInfo(int type, BackupChainLog chainLog, Calendar startedTime, Calendar finishedTime, int state)
          ShortInfo constructor.
ShortInfo(int type, BackupChainLog chainLog, Calendar startedTime, Calendar finishedTime, int state, String repositroryName, String workspaceName)
          ShortInfo constructor.
ShortInfo(int type, RepositoryBackupChain chain)
          ShortInfo constructor.
ShortInfo(int type, RepositoryBackupChainLog chainLog)
          ShortInfo constructor.
ShortInfo(int type, RepositoryBackupChainLog chainLog, Calendar startedTime, Calendar finishedTime, int state)
          ShortInfo constructor.
ShortInfo(int type, RepositoryBackupChainLog chainLog, Calendar startedTime, Calendar finishedTime, int state, String repositroryName)
          ShortInfo constructor.
 
Method Summary
 String getBackupId()
          getBackupId.
 Integer getBackupType()
          getBackupType.
 String getFinishedTime()
          getFinishedTime.
 String getRepositoryName()
          getRepositoryName.
 String getStartedTime()
          getStartedTime.
 Integer getState()
          getState.
 Integer getType()
          getType.
 String getWorkspaceName()
          getWorkspaceName.
 void setBackupId(String backupId)
          setBackupId.
 void setBackupType(Integer backupType)
          setBackupType.
 void setFinishedTime(String finishedTime)
          setFinishedTime.
 void setRepositoryName(String repositoryName)
          setRepositoryName.
 void setStartedTime(String startedTime)
          setStartedTime.
 void setState(Integer state)
          setState.
 void setType(Integer type)
          setType.
 void setWorkspaceName(String workspaceName)
          setWorkspaceName.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CURRENT

public static final int CURRENT
The type for current backup.

See Also:
Constant Field Values

COMPLETED

public static final int COMPLETED
The type for completed backup.

See Also:
Constant Field Values

RESTORE

public static final int RESTORE
The type for current restore.

See Also:
Constant Field Values
Constructor Detail

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 Detail

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

eXo JCR :: Component :: Extension Service 1.15.0-CR2

Copyright © 2012 eXo Platform SAS. All Rights Reserved.