org.exoplatform.services.jcr.ext.replication.test
Class ExportTestCase

java.lang.Object
  extended by org.exoplatform.services.jcr.ext.replication.test.BaseReplicationTestCase
      extended by org.exoplatform.services.jcr.ext.replication.test.ExportTestCase

public class ExportTestCase
extends BaseReplicationTestCase

Created by The eXo Platform SAS.
Date: 2010

Version:
$Id: ExportTestCase.java 48669 2010-06-17 14:02:45Z rainf0x $
Author:
Alex Reshetnyak

Field Summary
 
Fields inherited from class org.exoplatform.services.jcr.ext.replication.test.BaseReplicationTestCase
BUFFER_SIZE, DIVIDER, log, ONE_SECONDS, repository, rootNode, session
 
Constructor Summary
ExportTestCase(RepositoryService repositoryService, java.lang.String reposytoryName, java.lang.String workspaceName, java.lang.String userName, java.lang.String password)
          DeleteTestCase constructor.
 
Method Summary
 java.lang.StringBuffer export(java.lang.String repoPath, java.lang.String pathDir)
          Export to xml.
 
Methods inherited from class org.exoplatform.services.jcr.ext.replication.test.BaseReplicationTestCase
addNodePath, compareStream, compareStream, getNormalizePath
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExportTestCase

public ExportTestCase(RepositoryService repositoryService,
                      java.lang.String reposytoryName,
                      java.lang.String workspaceName,
                      java.lang.String userName,
                      java.lang.String password)
DeleteTestCase constructor.

Parameters:
repositoryService - the RepositoryService.
reposytoryName - the repository name
workspaceName - the workspace name
userName - the user name
password - the password
Method Detail

export

public java.lang.StringBuffer export(java.lang.String repoPath,
                                     java.lang.String pathDir)
Export to xml.

Parameters:
repoPath - repository path
nodeName - node name
Returns:
StringBuffer return the responds {'ok', 'fail'}


Copyright © 2010 eXo Platform SAS. All Rights Reserved.