Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  /*
   * Copyright (C) 2009 eXo Platform SAS.
   *
   * This is free software; you can redistribute it and/or modify it
   * under the terms of the GNU Lesser General Public License as
   * published by the Free Software Foundation; either version 2.1 of
   * the License, or (at your option) any later version.
   *
   * This software is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  * Lesser General Public License for more details.
  *
  * You should have received a copy of the GNU Lesser General Public
  * License along with this software; if not, write to the Free
  * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
  * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
  */
 package org.exoplatform.services.jcr.ext.backup.server.bean.response;
 
 
Created by The eXo Platform SAS.
Date: 13.04.2009

Author(s):
Alex Reshetnyak
Version:
$Id: DetailedInfo.java 111 2008-11-11 11:11:11Z rainf0x $
 
 public class DetailedInfo extends ShortInfo
 {

   
The bean to backup config.
 
    private BackupConfigBean backupConfig;

   
DetailedInfo constructor.
 
    public DetailedInfo()
    {
    }

   
DetailedInfo constructor.

Parameters:
type int, the type of detailed info (current or completed)
chain backupChain
 
    public DetailedInfo(int typeBackupChain chain)
    {
       super(typechain);
       this. = new BackupConfigBean(chain.getBackupConfig());
    }
   
   
DetailedInfo constructor.

Parameters:
type int, the type of detailed info (current or completed)
chain backupChain
 
    public DetailedInfo(int typeRepositoryBackupChain chain)
    {
       super(typechain);
       this. = new BackupConfigBean(chain.getBackupConfig());
    }

   
DetailedInfo constructor.

Parameters:
type int, the type of detailed info (current or completed)
chainLog BackupChainLog
 
    public DetailedInfo(int typeBackupChainLog chainLog)
    {
       super(typechainLog);
       this. = new BackupConfigBean(chainLog.getBackupConfig());
    }
   
   
DetailedInfo constructor.

Parameters:
type int, the type of detailed info (current or completed)
chainLog RepositoryBackupChainLog
   public DetailedInfo(int typeRepositoryBackupChainLog chainLog)
   {
      super(typechainLog);
      this. = new BackupConfigBean(chainLog.getBackupConfig());
   }

   
DetailedInfo constructor. For current restore.

Parameters:
type int, the type of DetailedInfo
chainLog BackupChainLog, chain log for restore
startedTime Calendar, the started time of restore
finishedTime Calendar, the finished time of restore
state int, the state of restore
   public DetailedInfo(int typeBackupChainLog chainLogCalendar startedTimeCalendar finishedTimeint state)
   {
      super(typechainLogstartedTimefinishedTimestate);
      this. = new BackupConfigBean(chainLog.getBackupConfig());
   }

   
DetailedInfo constructor. For restore.

Parameters:
type int, the type of DetailedInfo
chainLog BackupChainLog, chain log for restore
startedTime Calendar, the started time of restore
finishedTime Calendar, the finished time of restore
state int, the state of restore
repositroryName String, the repository name
workspaceName String, the workspace name
   public DetailedInfo(int typeBackupChainLog chainLogCalendar startedTimeCalendar finishedTimeint state,
      String repositroryNameString workspaceName)
   {
      super(typechainLogstartedTimefinishedTimestaterepositroryNameworkspaceName);
      this. = new BackupConfigBean(chainLog.getBackupConfig());
   }

   
DetailedInfo constructor. For restore.

Parameters:
type int, the type of DetailedInfo
chainLog RepositoryBackupChainLog, chain log for restore
startedTime Calendar, the started time of restore
finishedTime Calendar, the finished time of restore
state int, the state of restore
repositroryName String, the repository name
workspaceName String, the workspace name
   public DetailedInfo(int typeRepositoryBackupChainLog chainLogCalendar startedTimeCalendar finishedTime,
      int stateString repositroryName)
   {
      super(typechainLogstartedTimefinishedTimestaterepositroryName);
      this. = new BackupConfigBean(chainLog.getBackupConfig());
   }

   
getBackupConfig.

Returns:
BackupConfigBean return the bean to backup config
   {
      return ;
   }

   
setBackupConfig.

Parameters:
backupConfig BackupConfigBean, the backup config bean
   public void setBackupConfig(BackupConfigBean backupConfig)
   {
      this. = backupConfig;
   }
New to GrepCode? Check out our FAQ X