org.exoplatform.services.jcr.ext.synchronization
Class SynchronizationService

java.lang.Object
  extended by org.exoplatform.services.jcr.ext.synchronization.SynchronizationService
All Implemented Interfaces:
org.exoplatform.services.rest.container.ResourceContainer

public class SynchronizationService
extends java.lang.Object
implements org.exoplatform.services.rest.container.ResourceContainer

Created by The eXo Platform SAS.
Date: 18.08.2008

Version:
$Id: SynchronizationService.java 35186 2009-08-07 14:23:43Z pnedonosko $
Author:
Peter Nedonosko

Nested Class Summary
protected  class SynchronizationService.RequestIdentity
          User identity in request
 
Field Summary
protected  BackupManager backupManager
           
static java.lang.String ID_DELIMITER
           
protected  org.exoplatform.container.xml.InitParams params
           
protected  RepositoryService repoService
           
 
Constructor Summary
SynchronizationService(RepositoryService repoService, BackupManager backupManager, org.exoplatform.container.xml.InitParams params)
           
 
Method Summary
 org.exoplatform.services.rest.Response hostFullBackup(java.lang.String repositoryName, java.lang.String workspaceName, java.lang.String resourcePath, java.lang.String fileName, java.lang.String identityLine)
           
protected  java.lang.String makeIdentityLine(SynchronizationService.RequestIdentity identity)
           
protected  SynchronizationService.RequestIdentity parseIdentityLine(java.lang.String identityLine)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ID_DELIMITER

public static final java.lang.String ID_DELIMITER
See Also:
Constant Field Values

repoService

protected final RepositoryService repoService

backupManager

protected final BackupManager backupManager

params

protected final org.exoplatform.container.xml.InitParams params
Constructor Detail

SynchronizationService

public SynchronizationService(RepositoryService repoService,
                              BackupManager backupManager,
                              org.exoplatform.container.xml.InitParams params)
Method Detail

parseIdentityLine

protected SynchronizationService.RequestIdentity parseIdentityLine(java.lang.String identityLine)
                                                            throws java.io.IOException
Throws:
java.io.IOException

makeIdentityLine

protected java.lang.String makeIdentityLine(SynchronizationService.RequestIdentity identity)

hostFullBackup

public org.exoplatform.services.rest.Response hostFullBackup(java.lang.String repositoryName,
                                                             java.lang.String workspaceName,
                                                             java.lang.String resourcePath,
                                                             java.lang.String fileName,
                                                             java.lang.String identityLine)


Copyright © 2012 eXo Platform SAS. All Rights Reserved.