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

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

public class DocviewImportTestCase
extends BaseReplicationTestCase

Created by The eXo Platform SAS.
Date: 2010

Version:
$Id: DocviewImportTestCase.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
DocviewImportTestCase(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 docviewImport(java.lang.String repoPath, java.lang.String docviewPath)
          Import from 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

DocviewImportTestCase

public DocviewImportTestCase(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

docviewImport

public java.lang.StringBuffer docviewImport(java.lang.String repoPath,
                                            java.lang.String docviewPath)
Import from xml.

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


Copyright © 2010 eXo Platform SAS. All Rights Reserved.